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 Mindset, 04-21-2026, 06:46 AM
|
0 responses
44 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
54 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
34 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
95 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
57 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment