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 argusthome, Yesterday, 10:06 AM
      0 responses
      14 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      11 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      9 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      4 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      31 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X