A:=(3*CLOSE+LOW+OPEN+HIGH)/6;{九毛八公式指标网www.9m8.cn}
D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6) +13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12) +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+ REF(A,20))/211;
D2:=EMA(D1,2);
D3:=EMA(D2,2);
K1:=EMA(D3,2);
XHM:=CROSS(D1,K1);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD2:=2*(DIF-DEA);
KK:=HHV(MACD2,4) 0 AND MACD2 REF(MACD2,1) AND REF(MACD2,1) REF(MACD2,2) AND REF(MACD2,2) REF(MACD2,3);
KKX:=EMA(EMA(EMA(EMA(CLOSE,2),2),2),2);
MMX:=EMA(REF(KKX,1),2);
A3:=V REF(V,1)*1.5 AND V MA(V,5);
XGK:=CROSS(KKX,MMX) AND C O AND V =MA(V,21) AND V REF(V,1) AND CAPITAL =300000000 ;
KKK:=XGK+KK+XHM =2 AND DIF
XG:KKK;