涨停位置 排序指标通达信公式 副图 源码附图
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);
未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VAR1赋值:NAMELIKE(2)=1 OR NAMELIKE(3)=1 OR NAMELIKE(5)=1 OR NAMELIKE(6)=1 OR NAMELIKE(7)=1
输出涨停:收盘价=ZTPRICE(1日前的收盘价,0.1) OR (收盘价/1日前的收盘价>1.0495 AND VAR1) AND NOT(最高价=最低价) AND 开盘价>0
VAR2赋值:10日内最低价最低值
VAR3赋值:25日内最高价最高值
{股票指标网 整理}
VAR4赋值:EMA((收盘价-VAR2)/(VAR3-VAR2)*4,4)
输出底部:IF(开盘价>0 AND 涨停,VAR4<0.5,0)
输出关注:IF(开盘价>0 AND 涨停,FILTER(VAR4上穿0.5,20),0)
输出惭强区:IF(开盘价>0 AND 涨停,VAR4>0.5 AND VAR4<2 AND NOT(FILTER(VAR4上穿0.5,20)),0)
输出初强:IF(开盘价>0 AND 涨停,FILTER(VAR4上穿2,20),0)
输出强势区:IF(开盘价>0 AND 涨停,VAR4>2 AND VAR4<3.2 AND NOT(FILTER(VAR4上穿2,20)),0)
输出超强:IF(开盘价>0 AND 涨停,FILTER(VAR4上穿3.2,20),0)
输出牛股:IF(开盘价>0 AND 涨停,VAR4>=3.5,0)
输出拐点:IF(开盘价>0 AND VAR4>1日前的VAR4 AND 1日前的VAR4<=1日前的VAR4 AND 涨停,1,0)