Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Hide price bars until drawn region is hit

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

    Hide price bars until drawn region is hit

    Is it possible to hide price bars on the chart until a region I drew on the chart is hit? Thanks

    #2
    Hello Jschmelz,

    Thanks for your post.

    You could consider using the BarBrush property to set the bar color to transparent (Brushes.Transparent). Then, you could set the BarBrush property to paint the bars a certain color when your region is being drawn by calling Draw.Region().

    The CandleOutlineBrush property could be used to set the bar's outline color to transparent or set to a certain color.

    See the help guide page below for more information.

    BarBrush: https://ninjatrader.com/support/help...8/barbrush.htm
    CandleOutlineBrush: https://ninjatrader.com/support/help...tlinebrush.htm
    Draw.Region(): https://ninjatrader.com/support/help...raw_region.htm
    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      Great I'll give that a shot - ty!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by AaronKoRn, Yesterday, 09:49 PM
      0 responses
      11 views
      0 likes
      Last Post AaronKoRn  
      Started by carnitron, Yesterday, 08:42 PM
      0 responses
      10 views
      0 likes
      Last Post carnitron  
      Started by strategist007, Yesterday, 07:51 PM
      0 responses
      11 views
      0 likes
      Last Post strategist007  
      Started by StockTrader88, 03-06-2021, 08:58 AM
      44 responses
      3,981 views
      3 likes
      Last Post jhudas88  
      Started by rbeckmann05, Yesterday, 06:48 PM
      0 responses
      9 views
      0 likes
      Last Post rbeckmann05  
      Working...
      X