Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Programmatically Access Indicator Order
Collapse
X
-
Programmatically Access Indicator Order
Is it possible within a NinjaScript to access the order that indicators are applied to a chart? For example, if I add three EMAs to my chart in the order 5 EMA, 10 EMA, 15 EMA is it possible inside my indicator code to determine this particular order? The custom tools I am developing need to know in what order they were applied to the chart and I'm having trouble finding a solution.Tags: None
-
Hello RandomTask,
Thanks for the post.
There is not a specific order in which the indicators will load so the order they were added would not be known. You can access the indicators in the charts indicators collection, I am not certain if the order in that collection would stay consistent with the chart but you could determine what was applied after they are loaded. https://ninjatrader.com/support/help...sub=indicators
I look forward to being of further assistance.
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
43 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
25 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|
||
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
163 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
98 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
158 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|

Comment