NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 10-08-2007, 02:14 PM   #1
Rollins
Senior Member
 
Join Date: Sep 2007
Posts: 201
Thanks: 0
Thanked 0 times in 0 posts
Default MACD Histogram

I only wanted the Diff part of the histogram on my chart, because it saves space and i am not looking at the two other lines.

Fortunately there was already a description of how to do this here, thanks to Josh and gdargento. It's exactly the same indicator except for the macd and the avg line.

Another way to do this can be found here.
Attached Files
File Type: cs MACDHistogram.cs (8.5 KB, 184 views)
Last edited by Rollins; 10-08-2007 at 02:16 PM.
Rollins is offline  
Reply With Quote
Old 10-08-2007, 02:17 PM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Guessing: Setting Color= Transparent for the superfluous plots probably would have served the same purpose.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 10-08-2007, 02:31 PM   #3
Rollins
Senior Member
 
Join Date: Sep 2007
Posts: 201
Thanks: 0
Thanked 0 times in 0 posts
Default

Unfortunately it merely set the lines to transparent but since they were still "plotted" the chart had to be scaled.
Rollins is offline  
Reply With Quote
Old 10-08-2007, 02:32 PM   #4
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Got it. Thanks for feedback.
NinjaTrader_Dierk is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MACD Crossover nybangali General Programming 25 10-29-2010 02:11 PM
MACD Histogram gdargento Indicator Development 2 08-28-2007 11:04 AM
Using MACD.avg vs. MACD Jim-Boulder Strategy Development 1 05-23-2007 07:41 AM
Histogram support scjohn General Programming 1 05-14-2007 12:41 PM
Histogram like Woodies CCI? funk101 Indicator Development 1 05-06-2007 07:56 AM


All times are GMT -6. The time now is 12:52 PM.