Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Changed Properties lost
Collapse
X
-
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.Tags: None
-
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
-
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
581 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
338 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
554 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
552 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment