Heikin Ashi Accurate Chart For Intraday And Swing Traders

Heikin Ashi Accurate Chart For Intraday And Swing Traders
Heikin Ashi Accurate Chart For Intraday And Swing Traders
//www.aflcode.com
////////////////////////////////////
// 
// Heikin_Ashi For Amibroker 
//
////////////////////////////////////

SetChartBkColor(ParamColor("Outer panel color ",colorPaleBlue)); // color of outer border 

SetChartBkGradientFill( ParamColor("Inner panel color upper half", colorPaleBlue),ParamColor("Inner panel color lower half", 

colorPaleBlue)); // color of inner panel

HaClose =EMA((O+H+L+C)/4,3); 

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(), colorBlue, styleCandle | styleNoLabel );

Title = "\n" + "" + Name() + ", " + Interval(2) + ", " + Date() + "\n";
Previous
Next Post »