AA:=DMA((H+L+C*2)/4,0.9);
BB:=REF(EMA(AA,3),1);
T0:=(C-BB)*100;
M1:EMA(EMA(EMA(T0,2),2),2),LINETHICK2,COLORGREEN;
TT:EMA((C*5+REF(C,1)*4+REF(C,2)*3+REF(C,3)*2+REF(C,4))/15,2);
IF(M1>=REF(M1,1),M1,DRAWNULL),LINETHICK2,COLORRED;
AA:=DMA((H+L+C*2)/4,0.9);
BB:=REF(EMA(AA,3),1);
T0:=(C-BB)*100;
M1:EMA(EMA(EMA(T0,2),2),2),LINETHICK2,COLORGREEN;
TT:EMA((C*5+REF(C,1)*4+REF(C,2)*3+REF(C,3)*2+REF(C,4))/15,2);
IF(M1>=REF(M1,1),M1,DRAWNULL),LINETHICK2,COLORRED;