以下是通达信dde预警公式

通达信dde预警公式

根据千钧老师的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;

 

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