Once again operator error. I was using a formula to create Heikin Ashi 
style candles but it needs some more polishing apparently.
First of all it gives prices that are more than 1 decimal (which is 
annoying) and worse it give prices that are up to 7 ticks
away from the market. Would someone mind doing a little math magic and 
tweaking it.

thanks

HaClose = (O+H+L+C)/4;
HaOpen = AMA( Ref( HaClose, -1 ), 0.5 );
HaHigh = Max( H, Max( HaClose, HaOpen ) );
HaLow = Min( L, Min( HaClose, HaOpen ) );

PlotOHLC( HaOpen, HaHigh, HaLow, HaClose, "Modified " + Name(), 
ParamColor( " Candle Color", colorCycle ), styleCandle );



Reply via email to