M5:ma(CLOSE,5),COLORCYAN;
EM13:ema(CLOSE,13),COLORCYAN;
EM34:EMA(CLOSE,34),COLORCYAN,LINETHICK2;
M60:=MA(CLOSE,60);
STICKLINE(C<O ,O,C,2,0),COLORLIBLUE;
STICKLINE(C<O ,H,L,0,0),COLORLIBLUE;
STICKLINE(C<O AND C>EM13 ,O,C,2,0),COLORWHITE;
STICKLINE(C<O AND C>EM13 ,H,L,0,1),COLORWHITE;
STICKLINE(O<C AND EM13>C ,O,C,2,1),COLORLIBLUE;
STICKLINE(O<C AND EM13>C ,H,L,0,1),COLORLIBLUE;
VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
DRAWICON(crOSS(VAR2,MA(VAR3,6)),(LOW - (LOW*0.02)),7);
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH+(HIGH*0.02)),8);
IF(M5>REF(M5,1),M5,DRAWNULL),COLORWHITE;
IF(EM13>REF(EM13,1),EM13,DRAWNULL),COLORWHITE;
IF(EM34>REF(EM34,1),EM34,DRAWNULL),COLORWHITE,LINETHICK2;
STICKLINE(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),O,C,0,0),COLORFF00FF;
STICKLINE(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),O,C,0,0),COLORFF0000;