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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
128 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
73 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
116 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
109 views
1 like
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
88 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment