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 Stanfillirenfro, Yesterday, 09:19 AM
      7 responses
      51 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by TraderCro, 04-12-2024, 11:36 AM
      4 responses
      69 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Mindset, Yesterday, 02:04 AM
      1 response
      15 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by agclub, 04-21-2024, 08:57 PM
      4 responses
      18 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by Irukandji, Today, 04:58 AM
      0 responses
      6 views
      0 likes
      Last Post Irukandji  
      Working...
      X