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 CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      22 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      24 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-25-2026, 09:53 PM
      0 responses
      30 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 03-25-2026, 09:51 PM
      0 responses
      18 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 03-23-2026, 11:13 AM
      0 responses
      27 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X