Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MACDBarColor indicator

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

    MACDBarColor indicator

    Hello,

    I like the MACDBarColor indicator, it translates the histogram into painted red or green bars. The issue I have is that in the process I lose the black outline of the body of the candle. Is there a way to change this so I can see the black outline?

    Thanks
    Jim
    Attached Files

    #2
    You need to set the CandleOutlineColor as well.
    Ref: http://www.ninjatrader.com/support/h...tlinecolor.htm

    Code:
    				
    if(above)
         BarColor = AboveColor;
    else
         BarColor = BelowColor;
    				
    [B]CandleOutlineColor = Color.Black;[/B]
    				
    Diff.Set(macd - macdAvg);

    Comment


      #3
      That works!

      Thank You

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Felix Reichert, 04-26-2024, 02:12 PM
      11 responses
      71 views
      0 likes
      Last Post Felix Reichert  
      Started by junkone, 04-28-2024, 02:19 PM
      7 responses
      78 views
      1 like
      Last Post junkone
      by junkone
       
      Started by pechtri, 06-22-2023, 02:31 AM
      11 responses
      135 views
      0 likes
      Last Post Nyman
      by Nyman
       
      Started by ageeholdings, 05-01-2024, 05:22 AM
      4 responses
      27 views
      0 likes
      Last Post ageeholdings  
      Started by hdge4u, 04-29-2024, 12:23 PM
      4 responses
      22 views
      0 likes
      Last Post NinjaTrader_RyanS  
      Working...
      X