通达信强庄捉妖副图指标 源码分享 附图
VAR1:=IF(CODELIKE(9),0,1);
VAR2:=VOL/CAPITAL*100;
VAR20:=COST(85);
VAR21:=COST(15);
VAR22:=VAR20-VAR21;
VAR23:=(VAR20+VAR21)/2;
VAR24:=VAR22/VAR23*100<30;
VAR25:=HHV(HIGH,250);
VAR26:=LLV(LOW,250);
VAR27:=VAR25-VAR26;
VAR28:=VAR23-VAR26;
VAR29:=VAR23<VAR27*4+VAR26;
VAR30:=VAR24 AND VAR29;
VAR31:=CLOSE/REF(CLOSE,1)>1.04;
VAR32:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3);
VAR33:=VAR32>=75 AND CLOSE>0 AND CLOSE>OPEN;
捉妖:FILTER(VAR33 AND VAR30 AND VAR28 AND WINNER(CLOSE)>=0.9 AND VAR31 AND CLOSE/REF(CLOSE,1)>1.05 AND CLOSE=HIGH AND CLOSE<40 AND VAR1 AND VAR2<20,10);
未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:COST
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VAR1赋值:IF(CODELIKE(9),0,1)
VAR2赋值:成交量/当前流通股本*100
VAR20:=获利盘为85%的成本分布
VAR21:=获利盘为15%的成本分布
VAR22:=VAR20-VAR21
VAR23:=(VAR20+VAR21)/2
VAR24:=VAR22/VAR23*100<30
VAR25:=250日内最高价最高值
VAR26:=250日内最低价最低值
VAR27:=VAR25-VAR26
VAR28:=VAR23-VAR26
VAR29:=VAR23VAR30赋值:VAR24 AND VAR29
VAR31赋值:收盘价/1日前的收盘价>1.04
VAR32赋值:EMA(100*(收盘价-30日内最低价最低值)/(30日内最高价最高值-30日内最低价最低值),3)
VAR33赋值:VAR32>=75 AND 收盘价>0 AND 收盘价>开盘价
输出捉妖:FILTER(VAR33 AND VAR30 AND VAR28 AND 收盘价计算的获利盘比例>=0.9 AND VAR31 AND 收盘价/1日前的收盘价>1.05 AND 收盘价=最高价 AND 收盘价<40 AND VAR1 AND VAR2<20,10)
- QQ:88652583
- 邮箱:88652583@qq.com
- 工作时间:8:30-23:00
- 微信:88652583或扫描如下二维码
sitemap站点地图