kav:=(2*CLOSE+HIGH+LOW)/4;
ak:=EMA((kav-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,34);
dd:=EMA(0.667*REF(ak,1)+0.333*ak,5);
mk:=EMA((kav-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,5);
nk:=EMA(mk,5);
nk,colorgreen;
dd,colorwhite;
ak,coloryellow;
STICKLINE(mk nk,mk,nk,6,0),colorred;
STICKLINE(mk =nk,mk,nk,6,0),colorgreen;