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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
558 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
545 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment