MACD:=macd.MACD;
DIF:=MACD.DIF;
DEA:=MACD.DEA;
W1:=MACD>0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3)
AND REF(MACD,3)<REF(MACD,4) AND REF(MACD,4)<REF(MACD,5);
W2:=DIF>REF(DIF,1) AND DIF>0;
W3:=DEA>-0.1 AND DEA>REF(DEA,1) AND REF(DEA,1)>REF(DEA,2) AND REF(DEA,2)>REF(DEA,3)
AND REF(DEA,3)>REF(DEA,4);
W4:=(ATAN((MA(C,30)/REF(MA(C,30),1)-1)*100)*180/3.14115926)>=5;
W5:=KDJ.J<=65;
W6:=0.98<C/O AND C/O<1.05 AND C>O;
AA:=CLOSE*CAPITAL*100<30000000000;
BB:=DYNAINFO(4)>0;
ST:=IF(NAMELIKE('ST') OR NAMELIKE('*ST'),0,1);
WW:=AA AND BB AND ST;
XG:W1 AND W2 AND W3 AND W4 AND W5 AND W6 AND WW;
九毛八公式解读
MACD赋值:MACD.MACD DIF赋值:MACD.DIF DEA赋值:MACD.DEA W1赋值:MACD>0 AND MACD>1日前的MACD AND 1日前的MACD<2日前的MACD AND 2日前的MACD<3日前的MACDAND 3日前的MACD<4日前的MACD AND 4日前的MACD<5日前的MACD W2赋值:DIF>1日前的DIF AND DIF>0 W3赋值:DEA>-0.1 AND DEA>1日前的DEA AND 1日前的DEA>2日前的DEA AND 2日前的DEA>3日前的DEAAND 3日前的DEA>4日前的DEA W4赋值:((收盘价的30日简单移动平均/1日前的收盘价的30日简单移动平均-1)*100的反正切*180/3.14115926)>=5 W5赋值:KDJ的J<=65 W6赋值:0.98<收盘价/开盘价 AND 收盘价/开盘价<1.05 AND 收阳线 AA赋值:收盘价*当前流通股本(手)*100<30000000000 BB赋值:开盘价>0 ST赋值:如果模糊匹配品种名称ORNAMELIKE('*ST'),返回0,否则返回1 WW赋值:AA AND BB AND ST 输出XG:W1 AND W2 AND W3 AND W4 AND W5 AND W6 AND WW