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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
646 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
367 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
107 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
569 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