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 cmtjoancolmenero, Yesterday, 03:58 PM
      2 responses
      19 views
      0 likes
      Last Post cmtjoancolmenero  
      Started by Stanfillirenfro, Today, 07:23 AM
      0 responses
      2 views
      0 likes
      Last Post Stanfillirenfro  
      Started by olisav57, Yesterday, 07:39 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by cocoescala, 10-12-2018, 11:02 PM
      7 responses
      942 views
      0 likes
      Last Post Jquiroz1975  
      Started by oviejo, Today, 12:28 AM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Working...
      X