通达信黑盘手抓连扳副图/组合选股预警 源码 附图

VA1:=EMA(EMA(CLOSE,9),9);
VA2:=(VA1-REF(VA1,1))/REF(VA1,1)*1000;
VA3:=CROSS(VA2,0);
VA4:=MA(C,120);
VA5:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);
VA6:=IF(CLOSE>VA4 AND REF(VA5,1)<30 AND VA5>REF(VA5,1) AND REF(VA5,1)<REF(VA5,2),10,0);
主力异动进入:VA3 AND VA6;

{抓连扳}

ZDF:=(C-REF(C,1))/REF(C,1)*100;
S0:=INBLOCK('创业板');
S1:=IF(NAMELIKE('S'),0,1);
S2:=IF(NAMELIKE('*'),0,1);
S3:=VOL/CAPITAL*100;
S4:=S3*((H-L)+ABS(C-O));
S5:=S4/C;
S6:=NOT(S0) AND S1 AND S2;
抓连扳:S5<1.6 AND S6 AND ZDF>9.82;

{黑盘手牛股}

M1:=V/700000000;
M2:=1.1*(MAX(H,REF(C,1))/MIN(L,REF(C,1))-1);
M3:=2.5*MAX(M1,M2);
M4:=DMA(C,M3);
M5:=SMA(20*(M4/REF(M4,1)-1),2,1);
M6:=EMA(M5,2);
M7:=0.24;
M8:=C>=REF(C,1);
XX:= IF(M5>M7 AND M6>=0.005 AND M8,1,0);
XXX:=CROSS(XX,0.5) AND COUNT(XX>0.5,10)=1;
QB:="KDJ.J"-REF("KDJ.J",1)>30 AND C/REF(C,1)>1.043 AND "MACD.MACD">0 AND "MACD.DEA">0;
LS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
LQ:=FILTER(LS,28)*100 AND L>REF(C,1)*0.93;
XG:=QB OR LQ AND XXX;
M11:=9;
M12:=10;
B1:=C/REF(C,1)>1+0.01*M11;
B2:=EXIST(C/REF(C,1)>1+0.01*M11,M12);
B3:=C/REF(C,1)>1+0.01*M11;
MM:=IF(B1+B2+B3=3,1,0);
CC:=(H-C)/(C-O)<0.33;
DD:=(C/REF(C,1)-1)>=0.0502 AND C>REF(C,1) AND (O-L)/(C-O)>=1.48 AND L<REF(L,1) AND L<REF(L,2);
EE:=(C/REF(C,1)-1)>=0.08;
AA:=V>REF(V,1)*1.9 AND C>REF(C,1) AND C/REF(C,1)-1>=0.049 AND CC;
BB:=(C/REF(C,1)-1)>=0.0502 AND C>REF(C,1) AND V>REF(V,1) AND V>REF(V,1)*2.5 AND CC;
CCB:=EMA(2.055*EMA(EMA(H,34),34)-EMA(EMA(L,34),34),5),COLORCYAN,LINETHICK2;
YDXG:=IF(FILTER(AA OR BB OR DD OR EE AND CCB>C,34),1,0) AND MM;
黑盘手牛股:IF(XG OR YDXG,1.2,0);



未来函数检测结果如下:
该公式包含未来函数:CAPITAL

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

VA1赋值:收盘价的9日指数移动平均,9)
VA2赋值:(VA1-1日前的VA1)/1日前的VA1*1000
VA3赋值:VA2上穿0
VA4赋值:C的120日简单移动平均
VA5赋值:MA((收盘价-10日内最低价最低值)/(10日内最高价最高值-10日内最低价最低值)*100,3)
VA6赋值:IF(收盘价>VA4 AND 1日前的VA5<30 AND VA5>1日前的VA5 AND 1日前的VA5<2日前的VA5,10,0)
输出主力异动进入:VA3 AND VA6
{抓连扳} ZDF赋值:(C-1日前的C)/1日前的C*100
S0赋值:INBLOCK('创业板')
S1赋值:IF(NAMELIKE('S'),0,1)
S2赋值:IF(NAMELIKE('*'),0,1)
S3赋值:成交量/当前流通股本*100
S4赋值:S3*((H-L)+C-O的绝对值)
S5赋值:S4/C
S6赋值:NOT(S0) AND S1 AND S2
输出抓连扳:S5<1.6 AND S6 AND ZDF>9.82
{黑盘手牛股} M1赋值:V/700000000
M2赋值:1.1*(H和1日前的C较大值/L和1日前的C的较小值-1)
M3赋值:2.5*M1和M2较大值
M4赋值:DC的M3日简单移动平均
M5赋值:SMA(20*(M4/1日前的M4-1),2,1)
M6赋值:M5的2日指数移动平均
M7赋值:0.24
M8赋值:C>=1日前的C
如果M5>M7 AND M6>=0.005 AND M8返回1否则返回0
XXX赋值:XX上穿0.5 AND 统计10日满足XX>0.5的天数=1
QB赋值:"KDJ.J"-1日前的"KDJ.J">30 AND C/1日前的C>1.043 AND "MACD.MACD">0 AND "MACD.DEA">0
LS赋值:C/1日前的C>1.048 AND C=H AND BETWEEN(V的4日线性回归预测值,0.2*V的12日线性回归预测值,2.1*V的12日线性回归预测值)
LQ赋值:LS的28过滤*100 AND L>1日前的C*0.93
XG赋值:QB OR LQ AND XXX
M11赋值:9
M12赋值:10
B1赋值:C/1日前的C>1+0.01*M11
B2赋值:EXIST(C/1日前的C>1+0.01*M11,M12)
B3赋值:C/1日前的C>1+0.01*M11
如果B1+B2+B3=3返回1否则返回0
CC赋值:(H-C)/(C-O)<0.33
DD赋值:(C/1日前的C-1)>=0.0502 AND C>1日前的C AND (O-L)/(C-O)>=1.48 AND L<1日前的L AND L<2日前的L
EE赋值:(C/1日前的C-1)>=0.08
AA赋值:V>1日前的V*1.9 AND C>1日前的C AND C/1日前的C-1>=0.049 AND CC
BB赋值:(C/1日前的C-1)>=0.0502 AND C>1日前的C AND V>1日前的V AND V>1日前的V*2.5 AND CC
CCB:=2.055*H的34日指数移动平均,34)-L的34日指数移动平均,34),5),画青色, 线宽为2
YDXG赋值:IF(AA OR BB OR DD OR EE AND CCB>C的34过滤,1,0) AND MM
如果XG OR YDXG返回1.2否则返回0

指标安装下载帮助  |   联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:指标公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图