通达信涨停位置 排序副图指标源码

[复制链接]
查看76 | 回复0 | 2022-7-8 06:22:00 | 显示全部楼层 |阅读模式

VAR1:=NAMELIKE(2)=1 OR NAMELIKE(3)=1 OR NAMELIKE(5)=1 OR NAMELIKE(6)=1 OR NAMELIKE(7)=1;
涨停:CLOSE=ZTPRICE(REF(CLOSE,1),0.1) OR (CLOSE/REF(CLOSE,1)>1.0495 AND VAR1) AND NOT(HIGH=LOW) AND DYNAINFO(4)>0;
 VAR2:=LLV(LOW,10);
 VAR3:=HHV(HIGH,25);
 VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
底部:IF(DYNAINFO(4)>0 AND 涨停,VAR4<0.5,0);
关注:IF(DYNAINFO(4)>0 AND 涨停,FILTER(CROSS(VAR4,0.5),20),0);
惭强区:IF(DYNAINFO(4)>0 AND 涨停,VAR4>0.5 AND VAR4<2 AND NOT(FILTER(CROSS(VAR4,0.5),20)),0);
初强:IF(DYNAINFO(4)>0 AND 涨停,FILTER(CROSS(VAR4,2),20),0);
强势区:IF(DYNAINFO(4)>0 AND 涨停,VAR4>2 AND VAR4<3.2 AND NOT(FILTER(CROSS(VAR4,2),20)),0);
超强:IF(DYNAINFO(4)>0 AND 涨停,FILTER(CROSS(VAR4,3.2),20),0);
牛股:IF(DYNAINFO(4)>0 AND 涨停,VAR4>=3.5,0);
拐点:IF(DYNAINFO(4)>0 AND VAR4>REF(VAR4,1) AND REF(VAR4<=REF(VAR4,1),1) AND 涨停,1,0);

811577395.jpg

811577395.jpg

回复

使用道具 举报

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

本版积分规则