Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Changed Properties lost

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

    Changed Properties lost

    I know I am doing something silly, but just can't find it. When I go into properties of a indicator and make changes, when I leave NT and return the changed values are not saved. When I change values in one of the default indicators such as "SMA" the values are restored correctly. Suggestions for my silly mistake? Thanks in advance.

    #2
    orangepick,

    I am not sure I follow what you are trying exactly. There are default settings for all the indicators including the default indicators.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      for example the "SMA" indicator has a variable named "Period" in the parameters section. If I change it from the default to 200 for example and then I press "Apply". A 200 sma will appear on my chart. If I exit NT and select "Save All" and reopen NT, the 200 sma will appear fine. If I reopen Indicators and look at the variable "Period" it will have the value 200. This is all "working as expected".

      Now when I create my own Indicator and modify a variable it will only keep my changes until I exit NT, once I reopen NT, it reverts back to the default values for the variable I have changed. It is almost like my own created indicators will not store variable changes between sessions?

      I hope this is clearer, sorry for the confusion. Ideas?

      Comment


        #4
        orangepick,

        You will need to ensure your code for the parameters is proper. Please see the SMA indicator's Variables and Properties section of code for a template. It needs to look just like that. Also, please ensure you have the bottom section in your indicator labeled "NinjaScript generated code. Do not remove or modify" intact.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        571 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        330 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        548 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        548 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X