DP1:=REF(LOW,1);
DP2:=SMA(ABS(LOW-DP1),3,1)/SMA(MAX(LOW-DP1,0),3,1)*100;
DP3:=EMA(IF(CLOSE*1.2,DP2*10,DP2/10),3);
DP4:=LLV(LOW,38);
DP5:=HHV(DP3,38);
DP6:=IF(LLV(LOW,90),1,0);
DIF:EMA(IF(LOW<=DP4,(DP3+DP5*2)/2,0),3)/618*DP6,COLORRED;
XG:CROSS(REF(DIF,1),DIF),NODRAW;
DRAWICON(XG,DIF-1,1);