PDA

View Full Version : EMA and MA Crossover Histogram


monti1a
06-21-2008, 06:51 AM
Hi-

Would anyone have an indicator that plots a Histogram of an Exponential Moving Average minus a Simple Moving Average in which the lengths of the moving averages are based on user defined lengths. Ideally, the Histogram would be a different color when it is positive than when it is negative. Any help would be greatly appreciated.

NinjaTrader_Josh
06-21-2008, 11:24 AM
I don't think this was made before, but you can definitely custom code it. For different color plots please take a look at this reference sample: http://www.ninjatrader-support.com/vb/showthread.php?t=3227

In your case instead of making the plots lines you want to use PlotStyle.Bar.