Join our facebook group for Amibroker afl code discussion https://www.facebook.com/groups/603980776889348

Perfect Histogram Volume

Perfect Histogram Volume
Perfect Histogram Volume

//www.aflcode.com
_SECTION_BEGIN("AO");

 A = (H+L)/2;
 AO=MA(A,5)-MA(A,34);
 AOcolor=IIf(AO>Ref(AO,-1),colorBrightGreen,colorPink);

 Plot(AO,"AO",AOcolor,styleHistogram|styleThick);

 Plot(0,"",colorWhite,styleLine);
AOcolor2=IIf(AO>Ref(AO,-1),colorDarkGreen,colorDarkRed);
PlotOHLC(AO,AO,0,0,"",AOcolor2,styleCloud);
 _SECTION_END();
Previous
Next Post »