Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Bar Brush. Partial Bar Brush of So Many Ticks
Collapse
X
-
Bar Brush. Partial Bar Brush of So Many Ticks
I'd like to request a bar brush of a portion of a bar. For instance, Close [0] greater or equal to Low [0] + 20 ticks. Bar Brush = Color. But, currently the bar keeps getting brushed as it goes farther than +20 ticks. It would be cool if it would stop at +20 ticks. And, the rest of the bar fill to what the bar color normally is configured to be.Tags: None
-
Hello SteveReiza,
To stop it from coloring a bar after a certain amount of ticks you would need to add another condition checking that the value is less than the maximum you wanted.
BarBrush is only used to color the full body of the bar, if you wanted to color a portion of a bar you would need to set the bars to transparent and use your own logic to render custom bars from OnRender.
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
265 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
169 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
171 views
1 like
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
260 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
210 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment