以下是通达信果断止盈源码副图

VAR1:=REF(CLOSE,1);
 VAR2:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;
 VAR3:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
 VAR4:=IF(DATETODAY(DATE)<9880,1,DRAWNULL);
 VAR5:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;
 VAR6:=SMA(MAX(CLOSE-VAR1,0),13,1)/SMA(ABS(CLOSE-VAR1),13,1)*100;
 VAR7:=BARSCOUNT(CLOSE);
 VAR8:=1971230;
 VAR9:=IF(1<2342.459961*500,1,DRAWNULL);
 VAR10:=(VAR5<20 AND VAR6<25 AND VAR7>50 AND VAR3<70)*30;
 VAR11:=EMA((CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5;
 VAR12:=EMA((CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5;
 VAR13:=DATE<1971230 AND CROSS(VAR12,VAR11) AND VAR11>200;
 STICKLINE(VAR13,10,9,4,0),COLOR008800;
 STICKLINE(VAR13,10,9,3,0),COLOR00AA00;
 STICKLINE(VAR13,10,9,2,0),COLOR00CC00;
 STICKLINE(VAR13,10,9,0.2,0),COLORGREEN;
 

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