通达信主力暗中建仓副图指标 源码

[复制链接]
查看126 | 回复0 | 2021-8-28 00:20:12 | 显示全部楼层 |阅读模式

以下是通达信主力暗中建仓副图指标 源码(无源码的请下载附件导入)

通达信主力暗中建仓副图指标 源码 测试图

N1:=34;
 N2:=9;
 N3:=3;
 X1:=100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1));
 VAR1:=100*(HHV(HIGH,N2)-CLOSE)/(HHV(HIGH,N2)-LLV(LOW,N2));
 VAR2:=100*(HHV(HIGH,N3)-CLOSE)/(HHV(HIGH,N3)-LLV(LOW,N3));
 VAR3:=VAR1-X1;
 VAR4:=X1-VAR1;
 STICKLINE(VAR3<0,0,VAR4,2.5,0),COLORRED;
主力暗中建仓:VAR4,COLORRED,NODRAW;
 STICKLINE(VAR4<0,0,VAR3,1,1),COLORFFFFFF;
主力暗中对倒:VAR4<0,COLORFFFFFF;
 VAR5:=DYNAINFO(5);
 VAR6:=IF(HIGH<VAR5,0,IF(LOW>VAR5,1,(VAR5-HIGH+0.009)/(LOW-HIGH+0.009)));
 A:=CLOSE*1.1;
 B:=CLOSE*0.9;
 B1:=100*(WINNER(A)-WINNER(B));
 CMSD:=100-B1;
 C1:=MA(CLOSE,13)<REF(MA(CLOSE,13),1);
 D1:=IF(CLOSE>1000,CROSS(VAR6,22),CROSS(VAR6,24));
 STICKLINE(CMSD>65 AND C1,CMSD-88,0,2,0),COLORFF00FF;
强庄建仓:CMSD>65 AND C1,COLORFF00FF;
 ZC_1:=IF(LOW<DYNAINFO(7),0,IF(HIGH>DYNAINFO(7),DYNAINFO(7)-(DYNAINFO(7)-HIGH+0.02)/(HIGH-LOW+0.02),0));
 ZC_2:=DMA(ZC_1,VOL/CAPITAL)*(100);
出货:=IF(ZC_2>0 AND ZC_2>REF(ZC_2,1),ZC_2/20,0);
 STICKLINE(出货>0,出货-88,0,1,0),COLORGREEN;
机构出货:出货>0,COLORGREEN;
换手:VOL*100/CAPITAL,NODRAW;

1050222017.png

1050222017.png

回复

使用道具 举报

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

本版积分规则