源码
//均线指标
MA5 : MA(C,5),LINETHICK1;
MA10 := MA(C,10);
MA25 : MA(C,25),LINETHICK1;
MA60 := MA(C,60);
MA200 := MA(C,200);
//均量线指标
MAVOL5 := MA(VOL,5);
MAVOL60 := MA(VOL,60);
//{KDJ指标}
RSV := (C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K : SMA(RSV,3,1),LINETHICK2;
D : SMA(K,3,1),LINETHICK2;
J : 3*K-2*D,LINETHICK2;
//25日均线必须向上,最起码也要走平
//MA25>REF(MA25,1)www.9m8.cn
//5日均量线必须在60日均量线之上
//MAVOL5>MAVOL60
DRAWICON(CROSS(MA5,MA25) AND MAVOL5>=MAVOL60,LOW,'BUY');