根据千钧老师的dde预警改编,加入角度上穿是为了控制冲高回落,需要结合当时大盘情况和个股的所处位置决定买卖;
预警时用ZF:=CLOSE/ref(CLOSE,1);A1:=ZF>=1.00 and ZF<1.05;或A1:=ZF<1.05;
通达信{均DDE预警}
ZF:=OPEN/REF(CLOSE,1);A1:=ZF<1.05;
预量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
AA:=预量/CAPITAL*100>3;
LB1:=VOL/REF(MA(VOL,5),1);LB2:=INDEXV/REF(MA(INDEXV,5),1);A2:=(LB1/LB2);
JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
DDX:=IF(HIGH=LOW,4*QJ0,QJ0*(2*JJ-H-L))/SUM(VOL,10)*100;
DDY:=QJ0*(2*(ABS(CLOSE-OPEN))+LOW-HIGH)/SUM(VOL,10)*100;
DDZ:=(2*JJ-HIGH-LOW)/(HIGH-LOW)*100*17;
JD:=ATAN((EMA(C,13)/REF(EMA(C,13),1)-1)*100)*57.3;PX:=CROSS(JD,8);
XG:A1 AND A2>2 AND DDX>2 AND DDY>3 AND DDZ>100 AND PX;