Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Indicator as Parameter
Collapse
X
-
Indicator as Parameter
Is there a supported method of adding a parameter to an indicator that allows the user to select another indicator to use in it's calculations? I know we can use 'Input', but I need multiple parameters so the user can select multiple indicators as 'Inputs'.Tags: None
-
Hello SystemTrading,
Thanks for the note.
You could follow this example where a Type Converter is used to display an enum (among other items)
And you can decide what indicator to used based on what the user selects for the enum.
Alternatively, you can use the "FriendlyBoolConverter" that is in this example as well to turn indicators on and off in the script.
EDIT:
Here is an easier enum example for user inputs:
Please let us know if we may be of any further assistance.Last edited by NinjaTrader_ChrisL; 04-12-2018, 10:19 AM.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
647 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
369 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
108 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
572 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
573 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment