Thanks in advance
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Using Better ProAM indicator in a strategy
Collapse
X
-
Using Better ProAM indicator in a strategy
I would like to use Barry's Better Pro AM indicator in a strategy, Specifically when a blue bar is painted. Indicator Script appears closed (at least it doesn't come up on the edit list so it could be viewed). When the indicator is referenced in the strategy everything comes up so it is hard to tell what is being referenced. Thinking someone out there has already solved this. Would appreciate any help or advice.
Thanks in advance -
Hello yngtrader,
Detecting the bar color directly from the indicator will not be possible.
The indicator will have a BarColorSeries that holds the color values of the bars historically, however, if you access this from the strategy these values will be empty (unique to the strategy).
Attempting to access these from the indicator instance will work in real time but does not work historically. (If only having them in real-time and not historically works for you then this would be a solution)
Below is a link to an example of this.
http://ninjatrader.com/support/forum....php?t=52451#9
Basically, there needs to be some kind of flag that is set in the indicator that can be accessed from the script other than the color of the bar.
This could be a StringSeries, or a plot...
You may want to check with the developer of this script to see if there is already some kind of public series that has a flag such as this written into it.
Otherwise, if the script is open source, you will need to add the series in yourself.Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
648 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