Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How can indicator switch function be added to the strategy?
Collapse
X
-
How can indicator switch function be added to the strategy?
I have an indicator that has switch (selectable from a drop down) functions I'd like to add to a strategy and retain the option to select between when configuring the strategy, is it possible to do so in the strategy keeping the indicator separate, or do I have to build it into the strategy?Tags: None
-
Hello Conceptzx,
Thank you for your post.
If the indicator has user inputs for properties that you would like to have as inputs for your strategy, you will need to add that logic into the strategy. A simple example of this is the SampleMACrossover strategy; it has user inputs for the "Fast" and "Slow" SMA periods. For an example of adding a dropdown menu for user inputs, please see the following reference sample:
Please let us know if we may be of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
45 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
21 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
31 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
50 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
42 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment