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.
    JesseNinjaTrader Customer Service

    Comment


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

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by DJ888, Today, 10:57 PM
      0 responses
      6 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by MacDad, 02-25-2024, 11:48 PM
      7 responses
      158 views
      0 likes
      Last Post loganjarosz123  
      Started by Belfortbucks, Today, 09:29 PM
      0 responses
      7 views
      0 likes
      Last Post Belfortbucks  
      Started by zstheorist, Today, 07:52 PM
      0 responses
      7 views
      0 likes
      Last Post zstheorist  
      Started by pmachiraju, 11-01-2023, 04:46 AM
      8 responses
      151 views
      0 likes
      Last Post rehmans
      by rehmans
       
      Working...
      X