通达信突破起爆主副图 突破双线短线起爆 源码 附图

{突破起爆 副图 选股}
强势线:=MA(C,25)+MA(C,25)*20/100;
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3>=(10-0.03*100/C3),1,0);
跌停:=IF((C3-C)*100/C3>=(10-0.03*100/C3),1,0);
GD:=BARSLAST(CROSS(MA(C,30),MA(C,60)));
GTS:=SUMBARS(CROSS(MA(C,60),MA(C,30)),1);
价格高点:=REF(HHV(H,GD+1),GTS);
价高起点:=REFX(价格高点,BARSNEXT(GTS=0))=H;
长峰线:=IF(价高起点,H,REF(H,BARSLAST(价高起点)));
N:=10;
T1:=CONST(LLVBARS(LOW,N));
T1HIGH:=CONST(REF(HIGH,T1));
CC:=CONST(CURRBARSCOUNT);
T2:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T1)) AND (HIGH>T1HIGH)));
T2HIGH:=CONST(REF(HIGH,T2));
T3:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T2)) AND (HIGH>T2HIGH)));
T3HIGH:=CONST(REF(HIGH,T3));
短峰线:=DRAWLINE(CURRBARSCOUNT=T3+1, T3HIGH, ISLASTBAR, T3HIGH, 1),LINETHICK3,COLOR0000FF;
A1:=REF(C,1)<REF(长峰线,1) AND H>长峰线;
XG1:=A1;
XG2:=CROSS(C,短峰线);
B1:=MA(C,5)>MA(C,10) AND C>O;
ZXG1:=XG1 AND XG2 AND B1;
ZXG2:=REF(XG2,1) AND XG1;
ZXG3:=REF(XG1,1) AND XG2;
HBXG:=ZXG1 OR ZXG2 OR ZXG3;
HBXG;


未来函数检测结果如下:
该公式包含未来函数:BARSNEXT
该公式包含未来函数:REFX
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

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