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

Major Auto Support And Resistance

Major Auto Support And Resistance
Major Auto Support And Resistance
//www.aflcode.com

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;
Previous
Next Post »