Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bar Brush. Partial Bar Brush of So Many Ticks

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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.

    #2
    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.

    Comment


      #3
      thanks for the reply wow, sweet. i'll dial that in.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by sjsj2732, Today, 04:31 AM
      0 responses
      20 views
      0 likes
      Last Post sjsj2732  
      Started by NullPointStrategies, 03-13-2026, 05:17 AM
      0 responses
      280 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      279 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      130 views
      1 like
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      90 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Working...
      X