DPO:=CLOSE-REF(MA(CLOSE,15),15/2+1);
RIFF := EMA(DPO,6) - EMA(DPO,10);
REA:= EMA(RIFF,6);
RACD:=2*(RIFF-REA);
LMA2:=MA(LOW,12);
LMA3:=MA(LOW,30);
LMA4:=MA(LOW,72);
LMA5:=MA(LOW,144);
X:=CROSS(RIFF,REA);
XG:X AND LMA2 LMA3 LMA3 LMA4 LMA4 LMA5 UPNDAY(LMA3,2) UPNDAY(LMA4,2) UPNDAY(LMA5,2) L =LMA2 UPNDAY(C,1),COLORMAGENTA,LINETHICK4;