通达信游资涨停之突破共振抓妖副图指标 主升浪潜伏抓妖 源码附图
共振抓妖1:=COUNT(EVERY(V>=MA(V,135),1),35)>=15;
共振抓妖:=(COUNT(EVERY(V>=MA(V,135),10),50)>=1 AND COUNT(EVERY(V>=MA(V,135),1),15)>=5) OR COUNT(EVERY(共振抓妖1,1),15)>=1;
N1:=V>=REF(V,1)*1.45 AND 共振抓妖;
成交量:=COUNT(EVERY(N1,1),25)>=1;
盘:=BETWEEN(SUM(V/CAPITAL*100,35),65,500);
庄家吸筹:=REF(PPART(100),1)*100>=18 AND (REF(HHV(C,35),2)-REF(LLV(C,165),2))/REF(LLV(C,165),2)*100< 58 AND COUNT(EVERY(N1,1),85)>=1 AND COUNT(EVERY(V>MA(V,135),1),15)>=2;
拉涨:=PPART(100)*100>=20;
条件:=REF(C,2)*CAPITAL*100/100000000>65 AND REF(C,2)*CAPITAL*100/100000000< 125 AND REF(拉涨,1);
龙牛共舞:=REF(C,1)*FINANCE(46)/100000000<=18.5 AND REF(C,1)*CAPITAL*100/100000000< 85 AND PPART(100)*100>=30;
低位擒牛:=(REF(C,2)*CAPITAL*100/100000000< 65 OR 条件 OR 龙牛共舞) AND (成交量 OR 盘 OR 庄家吸筹);
BDIF0:=EMA(C,12)-EMA(C,26);
BDEA0:=EMA(BDIF0,9);
BMACD0:=(BDIF0-BDEA0)*2;
共振抓牛1:=(COUNT(EVERY(BMACD0>=0,1),7)>=3 OR COUNT(EVERY(BMACD0>=REF(BMACD0,1) AND BMACD0< 0,1),9)>=2) AND BDIF0>=0 AND BDEA0>=0 AND COUNT(EVERY(BDIF0>=0 AND BDEA0>=0,1),7)>=2;
DIF:=EMA(C,12)-EMA(C,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
共振抓牛:=MACD>0;
ABC1:=C/REF(C,1)>1.028 AND C=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
起飞:=FILTER(ABC1,28)*100 AND LOW>REF(C,1)*0.93 AND 共振抓牛1 AND 低位擒牛 ;
起飞2:=FILTER(ABC1,28)*100 AND LOW>REF(C,1)*0.93 AND 共振抓牛 AND 低位擒牛 ;
粘合抓妖:起飞 OR 起飞2 COLORMAGENTA LINETHICK3;
DRAWICON(粘合抓妖,1,9);
DRAWTEXT(粘合抓妖,0.8,' ★捉妖'),COLORYELLOW;
未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:FINANCE
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
共振抓妖1赋值:COUNT(EVERY(V>=V的135日简单移动平均,1),35)>=15
共振抓妖赋值:(COUNT(EVERY(V>=V的135日简单移动平均,10),50)>=1 AND COUNT(EVERY(V>=V的135日简单移动平均,1),15)>=5) OR COUNT(EVERY(共振抓妖1,1),15)>=1
N1赋值:V>=1日前的V*1.45 AND 共振抓妖
成交量赋值:COUNT(N1最近1日一直存在,25)>=1
盘赋值:BETWEEN(35的V/当前流通股本*100日累和,65,500)
庄家吸筹赋值:REF(PPART(100),1)*100>=18 AND (REF(35日内C最高值,2)-REF(165日内C最低值,2))/REF(165日内C最低值,2)*100< 58 AND COUNT(N1最近1日一直存在,85)>=1 AND COUNT(EVERY(V>V的135日简单移动平均,1),15)>=2
拉涨赋值:PPART(100)*100>=20
条件赋值:2日前的C*当前流通股本*100/100000000>65 AND 2日前的C*当前流通股本*100/100000000< 125 AND 1日前的拉涨
龙牛共舞赋值:1日前的C*FINANCE(46)/100000000<=18.5 AND 1日前的C*当前流通股本*100/100000000< 85 AND PPART(100)*100>=30
低位擒牛赋值:(2日前的C*当前流通股本*100/100000000< 65 OR 条件 OR 龙牛共舞) AND (成交量 OR 盘 OR 庄家吸筹)
BDIF0赋值:C的12日指数移动平均-C的26日指数移动平均
BDEA0赋值:BDIF0的9日指数移动平均
BMACD0赋值:(BDIF0-BDEA0)*2
共振抓牛1赋值:(COUNT(BMACD0>=0最近1日一直存在,7)>=3 OR COUNT(EVERY(BMACD0>=1日前的BMACD0 AND BMACD0< 0,1),9)>=2) AND BDIF0>=0 AND BDEA0>=0 AND COUNT(EVERY(BDIF0>=0 AND BDEA0>=0,1),7)>=2
DIF赋值:C的12日指数移动平均-C的26日指数移动平均
DEA赋值:DIF的9日指数移动平均
MACD赋值:(DIF-DEA)*2
共振抓牛赋值:MACD>0
ABC1赋值:C/1日前的C>1.028 AND C=最高价 AND BETWEEN(FORCAST(成交量,4),0.2*FORCAST(成交量,12),2.1*FORCAST(成交量,12))
起飞赋值:ABC1的28过滤*100 AND 最低价>1日前的C*0.93 AND 共振抓牛1 AND 低位擒牛
起飞2:=ABC1的28过滤*100 AND 最低价>1日前的C*0.93 AND 共振抓牛 AND 低位擒牛
输出粘合抓妖:起飞 OR 起飞2 画洋红色 线宽为3
当满足条件粘合抓妖时,在1和9之间画图标
当满足条件粘合抓妖时,在0.8和' ★捉妖'位置书写文字