Swing Support and Resistance for Amibroker (AFL)
esnataraj over 16 years ago Amibroker (AFL)
Swing support & Resistant Level for Traders.
Screenshots
Indicator / Formula
Copy & Paste Friendly
_SECTION_BEGIN("SWING SUPPORT 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,colorBlue);
Plot (R,"Res",colorLime,8+16);
Plot (s,"Sup",colorRed,8+16);
Plot (C,"Close",color,64,32);
GraphXSpace=4;
_SECTION_END();1 comments
Leave Comment
Please login here to leave a comment.
Very good!
Simple is beautiful!