J:=(C*2+H+L)/4;
K:=(EMA(J,13) - EMA(J,21))*180;
D:=EMA(K,2);
KK: (K-D),LINETHICK2,COLORRED;
DD: -1*(K-D),LINETHICK2,COLORGREEN;
STICKLINE((crOSS(KK,DD)),KK,DD,4,0),COLORYELLOW;
J:=(C*2+H+L)/4;
K:=(EMA(J,13) - EMA(J,21))*180;
D:=EMA(K,2);
KK: (K-D),LINETHICK2,COLORRED;
DD: -1*(K-D),LINETHICK2,COLORGREEN;
STICKLINE((crOSS(KK,DD)),KK,DD,4,0),COLORYELLOW;