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;