Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Plot names not updating in data box after changing indicator script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Plot names not updating in data box after changing indicator script

    I have an on-going issue with my custom indicators where I want to change the displayed name of a plot but it will not change in the data box.

    I use the search and replace function to remove all traces of the old name, including in the properties, hidden text etc. and yet the data box still shows the old name which no longer exists in any of my code?!

    I have closed and restarted NT, started from a fresh workspace and chart and still cannot get the indicator to reflect the change in my script.

    All other changes in my code update just fine, it is only the plot names displayed in the data box that refuse to update.

    Previously I have had to export my indicator, delete it from my computer and then re-import it. This is the only way the displayed plot names will update.

    Please help. Thx

    #2
    motownlucas, is there anyway you could upload an indicator demonstrating the issue so I could look into the code? As long as you recompile the code changes in and readd a fresh instance of such changes I don't see a reason why it should be persisted. Did you try cleaning out previously used chart templates as well here?

    Thanks
    BertrandNinjaTrader Customer Service

    Comment


      #3
      I didn't delete any chart templates, but I did start from a new workspace and new chart with no template applied.

      I'd rather post my indicator publicly, but I could email it to you?

      Comment


        #4
        Of course...I can understand - you can reach me at support at ninjatrader dot com Attn Bertrand.

        Thanks,
        BertrandNinjaTrader Customer Service

        Comment


          #5
          If I save the script with a new name it works fine.

          Comment


            #6
            I will send the files shortly. There will be multiple as it references other custom indicators.

            Most likely it will show the updated names correctly for you since you are importing it fresh. The one I just changed that does not update for me is "TrendHigh5BP" which I changed to "LongEntry."

            Maybe try changing it to something else and see if it updates for you?

            Comment


              #7
              Files were emailed ~4pm Eastern US time. If they did not arrive, please let me know. Thx

              Comment


                #8
                Thanks, I got them and will take a look shortly.
                BertrandNinjaTrader Customer Service

                Comment


                  #9
                  Will reply directly to your email sent, thanks.
                  BertrandNinjaTrader Customer Service

                  Comment


                    #10
                    To anyone who may be reading this thread:

                    We have found the root cause to this issue. If you right click in the indicators settings dialog and then "Set Default For <Indicator Name>" it creates an indicator template. This template includes the plot display names and does not get updated when the indicator script is recompiled. Because of this any changes you make to a plot name will not show up until you go and manually delete the indicator template file, or edit the xml to reflect your changes.

                    You will also need to remove and reapply any existing instances of your indicator, and rebuild any chart templates that use it.

                    Comment


                      #11
                      I have run into this problem and was wondering if someone can tell me where to find the Indicator Template file to delete.

                      regards,
                      taddypole...

                      Comment


                        #12
                        For my Win7 machine it's: C:\Users\username\Documents\NinjaTrader 7\templates\Indicator

                        Comment


                          #13
                          motownlocus...

                          thank you very much... that one has been buggin' me for a long time!

                          taddypole...

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by PhillT, 04-19-2024, 02:16 PM
                          4 responses
                          31 views
                          0 likes
                          Last Post PhillT
                          by PhillT
                           
                          Started by ageeholdings, 05-01-2024, 05:22 AM
                          5 responses
                          36 views
                          0 likes
                          Last Post ageeholdings  
                          Started by reynoldsn, Today, 02:34 PM
                          0 responses
                          10 views
                          0 likes
                          Last Post reynoldsn  
                          Started by nightstalker, Today, 02:05 PM
                          0 responses
                          17 views
                          0 likes
                          Last Post nightstalker  
                          Started by llanqui, Yesterday, 09:59 AM
                          8 responses
                          30 views
                          0 likes
                          Last Post llanqui
                          by llanqui
                           
                          Working...
                          X