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 Hwop38, 05-04-2026, 07:02 PM
|
0 responses
168 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
324 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
250 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
351 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
180 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment