I am willing to paint bars based on conditions so am able to use BarBrushes[0] & CandleOutlineBrushes[0], just one thing missing. I want to change opacity for down bar so I can identify easily, not very sure how to do it. I should be adding open close condition to identify up bar or down bar but how do I change bar fill color opacity. Any help is appreciated. Thanks!
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Bar Brush Colors
Collapse
X
-
Bar Brush Colors
Hello,
I am willing to paint bars based on conditions so am able to use BarBrushes[0] & CandleOutlineBrushes[0], just one thing missing. I want to change opacity for down bar so I can identify easily, not very sure how to do it. I should be adding open close condition to identify up bar or down bar but how do I change bar fill color opacity. Any help is appreciated. Thanks! -
Hello s.kinra,
Thanks for your post.
You would need to create a custom brush with your opacity setting and then apply that as the BarBrush.
Please see the example here; https://ninjatrader.com/support/foru...408#post784408
-
Hello Paul,
Thanks for your reply & I've already done it by cloning a brush but the issue is it is doing for complete bar i.e. body & wicks. Body is perfectly fine but wicks are not very clear, I can set the body outline & just wondering if there is a way to set the wicks separately. For now I've a new color to differentiate.
I saw this kind of bars in some indicators but unable to understand the logic behind so asking here.
Comment
-
Hello Paul,
You got me to right direction, thanks. I wanted to have opacity for Bar body but was getting wicks also with opacity so I asked it here. What I missed was my Chart Style. I am using the candles which I have modified to get the wick color same as up / down color. I got the answer why it wasn't working when I checked my code with standard candles & got it working. Thanks for your guidance, I'll now figure out a way to change it as well. Just some tweaking will work. Snapshots attached for reference.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
50 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
69 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
36 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
97 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
60 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment