0,DOTLINE,COLORLIGRAY;
1,DOTLINE,COLORLIGRAY;
1.5,DOTLINE,COLORLIGRAY;
VAR1:=EMA(H,21);
VAR2:=EMA(C,21);
VAR3:=EMA(L,21);
VAR4:=(VAR1-VAR2);
VAR5:=(VAR2-VAR3);
RV1:VAR4/VAR5,COLORGREEN;
RV2:VAR5/VAR4,COLORRED;
RV3:RV2*2-RV1,COLORWHITE;
VAR10:=crOSS(RV2,1);
VAR11:=EXIST(RV1>1.5,5);
DRAWICON(VAR10 AND VAR11,1,42);