通达信专找踏空副图源码

[复制链接]
查看86 | 回复0 | 2021-8-26 22:34:59 | 显示全部楼层 |阅读模式

以下是通达信专找踏空副图源码(无源码的请下载附件导入)

VAR1:=OPEN>REF(C,1)*1.01;
 VAR2:=LOW>REF(LOW,1);
 VAR3:=CLOSE>REF(CLOSE,1);
 VAR4:=REF(CLOSE,1)<REF(OPEN,1) AND REF(CLOSE,1)/REF(OPEN,1)<=0.97;
小幅踏空:IF(VAR1 AND VAR2 AND VAR3 AND VAR4,20,0),COLORWHITE;
 DRAWTEXT(小幅踏空,20,'以1/3仓位买入'),COLORWHITE;
 VAR5:=LOW>REF(CLOSE,1);
 VAR6:=CLOSE>(REF(OPEN,1)-REF(CLOSE,1))/2 AND CLOSE<REF(OPEN,1);
基本踏空:IF(VAR1 AND VAR5 AND VAR6 AND VAR4,40,0),COLORYELLOW;
 DRAWTEXT(基本踏空,38,'以1/3仓位买入'),COLORYELLOW;
 VAR7:=LOW>REF(C,1);
 VAR8:=CLOSE>REF(OPEN,1);
完全踏空:IF(VAR1 AND VAR4 AND VAR7 AND VAR8,60,0),COLORCYAN;
 DRAWTEXT(完全踏空,58,'以1/2仓位买入'),COLORCYAN;
 VAR9:=REF(OPEN,1)>REF(CLOSE,1);
 VAR10:=OPEN>REF(OPEN,1);
 VAR11:=LOW>REF(OPEN,1);
严重踏空:IF(VAR1 AND VAR9 AND VAR10 AND VAR11,80,0),COLORRED;
 DRAWTEXT(严重踏空,78,'以2/3仓位买入'),COLORRED;
 VAR12:=OPEN>REF(HIGH,1);
 VAR13:=LOW>REF(HIGH,1);
超级踏空:IF(VAR1 AND VAR9 AND VAR12 AND VAR13,100,0),COLORMAGENTA;
 DRAWTEXT(超级踏空,83,'满仓买入'),COLORMAGENTA;
选股:小幅踏空 OR 基本踏空 OR 完全踏空 OR 严重踏空 OR 超级踏空;
 {选股2:小幅踏空 AND 基本踏空 AND 完全踏空 AND 严重踏空 AND 超级踏空;};

751499821.png

751499821.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则