Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Paint bars indicator

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

    Paint bars indicator

    Hi,
    NT8 looks excellent.
    Additional to the implementation of “BarBrushes” and “CandleOutlineBrushes” is there a way to control the wicks color, wicks line width and candle outline width?

    #2
    Hello ErezW,

    Thank you for writing in. Unfortunately as far as I am aware there is still no way to change the width/color of a single wick or candle outline. You can change these values for the whole chart using the following codes:
    Code:
    ChartBars.Properties.ChartStyle.Stroke2.Width = 4; //Change Wick Width
    
    ChartBars.Properties.ChartStyle.Stroke2.Brush = Brushes.Red; //Change Wick Color
    
    ChartBars.Properties.ChartStyle.Stroke.Width = 6; //Change Candle Outline Width
    
    ChartBars.Properties.ChartStyle.Stroke.Brush = Brushes.Green; //Change Candle Outline Color
    Please let me know if you have any questions or if I may be of further assistance.
    Michael M.NinjaTrader Quality Assurance

    Comment


      #3
      The Heiken-Ashi indicator changes the appearance of bars. If you e.g. want to re-paint all bars except the last bar on the current chart-view, add a condition to the loop going through the bars where you check that you're not at the LastBarIndexPainted.

      if ( idx != LastBarIndexPainted )

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by reynoldsn, 05-04-2024, 02:34 PM
      3 responses
      26 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by bill2023, Today, 08:21 AM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by Human#102, Today, 09:54 AM
      0 responses
      2 views
      0 likes
      Last Post Human#102  
      Started by Johnny Santiago, 10-11-2019, 09:21 AM
      97 responses
      6,276 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by patrickmlee007, Today, 09:33 AM
      0 responses
      3 views
      0 likes
      Last Post patrickmlee007  
      Working...
      X