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 Karado58, 11-26-2012, 02:57 PM
      8 responses
      14,828 views
      0 likes
      Last Post Option Whisperer  
      Started by Option Whisperer, Today, 09:05 AM
      0 responses
      1 view
      0 likes
      Last Post Option Whisperer  
      Started by cre8able, Yesterday, 01:16 PM
      3 responses
      11 views
      0 likes
      Last Post cre8able  
      Started by Harry, 05-02-2018, 01:54 PM
      10 responses
      3,204 views
      0 likes
      Last Post tharton3  
      Started by ChartTourist, Today, 08:22 AM
      0 responses
      6 views
      0 likes
      Last Post ChartTourist  
      Working...
      X