Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Changed code does not seem to work

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

    Changed code does not seem to work

    This was my first attempt at changing an indicator code.

    I did not want the indicator to plot a line so I commented it out.

    I saved the file opened a new chart window, applied the indicator but the plot lines I had commented out were still there.

    The first question: there was no 'save as' button in the script window, I would have like to give the changed file a different name.

    Second question: once code is changed, does it work itself, or there other steps to be followed for the changes to take effect.

    I hope I have posted this to the right forum.
    Thanks.

    #2
    I solved one of the 2 issues - figured out that I had to 'compile' for the changes to take effect.

    Still don't know how to save the indicator file with a different name - that should have been the easy one!

    -cheers

    Comment


      #3
      Hello,

      Right click the code>save as...
      DenNinjaTrader Customer Service

      Comment


        #4
        Thanks Ben

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        213 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        126 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        145 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        229 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        190 views
        0 likes
        Last Post CarlTrading  
        Working...
        X