just wondering what extra ninjascript i can add to this indicator so that when the close=open on pricebar print, it does not print the same volume bar color whether the trend is up or down (in my case always red), but prints the same color as the previous volume bar? thanks.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
pricecoloredvolumebars indicator
Collapse
X
-
pricecoloredvolumebars indicator
hi,
just wondering what extra ninjascript i can add to this indicator so that when the close=open on pricebar print, it does not print the same volume bar color whether the trend is up or down (in my case always red), but prints the same color as the previous volume bar? thanks.Tags: None
-
hi josh,
i'm just after a piece of code that i can try in the indicator which defines:
when close=open on a price bar, then color the volume bar the same color as the volume bar before it.
i don't know if this is an "if..else" code (there is already an "if...else" code in the indicator..can you add another?), or what? i attempted this & got errors galore
anything you could offer would be appreciated. the "pricecoloredvolumebars" indicator was downloaded into nt & was from "ninjatrader-support2". thanks.
Comment
-
Even though you may have downloaded from the forums, they are still 3rd party indicators that we do not monitor so cannot provide you with any specific guidance for those.
Not following you on price bar vs volume bars. You would most likely need to contact the original author of your indicator to see if they can help you out with their script.
If you mean volume bars as in the indicator's plotted bars, then to change color for that you would need to follow these guidelines and create a multi-plot indicator: http://www.ninjatrader-support2.com/...ead.php?t=3227Josh P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
160 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
307 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
244 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
348 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
178 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment