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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
571 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
331 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
549 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
549 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment