A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
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>DEA;
XG:KKK;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。