IMPORTANT: you must save the indicator as a new name PRIOR to making any of these changes.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Converting Strategy to Indicator
Collapse
X
-
Converting Strategy to Indicator
you can convert a strategy to an indicator by viewing, then copying the region from variable to properties. By opening an existing indicator, saving it as the new name you wish and then expanding variables and properties region of the indicator. you then delete everything from the top of variables to the bottom of properties. you then past your code from the strategy and compile.
IMPORTANT: you must save the indicator as a new name PRIOR to making any of these changes.Tags: None
- Likes 1
-
BigMike,
It won't necessarily work in all cases, but simple cases you may indeed find it to work. Be aware that there are some methods and properties that are for strategies only though. All in all, you can try it and compile, then address any compile errors you come up with.Josh P.NinjaTrader Customer Service
Comment
-
strategy to indicator conversion
i have worked with it on a number of multi level indicators and have had little trouble. i have even imported them into NT 7 and they still operate.
the key i have found is the naming conventions. you have to make sure you get them changed throughout.
do as much cleanup as you can before you compile. the debugger in compiler is very difficult once the names have been screwed up.
if you are attempting to imbed any custom indicators into the new indicator then again you need to make sure of the naming conventions.
now, if i could only find a moving average that will change colors like doublema does in 6.5 for 7.
Comment
-
trader1512, for the color change MA you could check into this sample here for NT7 - http://www.ninjatrader-support2.com/...ad.php?t=21225
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
597 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
343 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
556 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
555 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment