.

Gaan Swing Support Resistance AFL - Amibroker AFL Code

Click Image To Enlarge. Please Rate And Comment.

Gaan Swing Support Resistance AFL

_SECTION_BEGIN("Support and Resistance");


LB= Param("Look Back Periods",10,1,30,1);
R=ValueWhen(Cross(MA(C,LB),C),HHV(H,LB),1);
S=ValueWhen(Cross(C,MA(C,LB)),LLV(L,LB),1);
Color=IIf(O>C,colorBlack,colorYellow);
Plot (R,"Resz",22,8+16);
Plot (s,"Supp",19,8+16);
Plot (C,"Close",color,64,32);
GraphXSpace=4;
_SECTION_END();
Previous Post Next Post