通达信共振反转均线副图指标源码

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

以下是通达信共振反转均线副图指标源码(无源码的请下载附件导入)

日均:MA(CLOSE,5);
周均:MA(CLOSE,25);
月均:MA(CLOSE,110);
半均:MA(CLOSE,660);
 IF(日均>REF(日均,1),日均,DRAWNULL),COLORRED,LINETHICK1;
 IF(日均<REF(日均,1),日均,DRAWNULL),COLORGREEN,LINETHICK1;
 IF(周均>REF(周均,1),周均,DRAWNULL),COLORRED,LINETHICK2;
 IF(周均<REF(周均,1),周均,DRAWNULL),COLORGREEN,LINETHICK2;
 IF(月均>REF(月均,1),月均,DRAWNULL),COLORRED,LINETHICK3;
 IF(月均<REF(月均,1),月均,DRAWNULL),COLORGREEN,LINETHICK3;
 IF(半均>REF(半均,1),半均,DRAWNULL),COLORRED,LINETHICK4;
 IF(半均<REF(半均,1),半均,DRAWNULL),COLORGREEN,LINETHICK4;
站稳:=CROSS(C,月均*0.985) AND
 MAX(MAX(日均,周均),月均)/MIN(MIN(日均,周均),月均)<1.15;
 JBS:=C/REF(C,1)>1.05 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
升:=FILTER(JBS,28)*100;
 VAR1:=IF((C/REF(C,1)>1.05 AND H/C<1.01 AND C>REF(C,1)),91,0);
 VAR2:=FILTER((VAR1>90),45) AND FILTER((VAR1>90),35) AND 升>0;
强势预警:=VAR2 AND COUNT(VAR2,60)=1;
 DRAWICON(站稳 AND 强势预警,C,1);
反转:=C>日均 AND 周均>月均 AND 月均>REF(月均,1);
换手:=(VOL / CAPITAL) * 100;
大涨:=C/REF(C,1)>1.09 AND (换手<2 OR (换手>8 AND 换手/REF(换手,1)>1.5));
 TY:=C;
 AA1:=REF(TY,9)=HHV(TY,2*9+1);
 B1:=FILTER(AA1,9);
 C1:=BACKSET(B1,9+1);
 HD:=FILTER(C1,9);
 AB:=REF(C,BARSLAST(HD));
突破:=CROSS(C,AB);
 DRAWICON(反转 AND 大涨 AND 突破,C,1);

1954266065.png

1954266065.png

回复

使用道具 举报

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

本版积分规则