通达信爆量主图公式源码

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
AAAB:=(DIF-DEA)*2*60;
起爆:=CROSS(AAAB-REF(AAAB,1),15),COLORRED,LINETHICK2;
DRAWTEXT(起爆,(O+H)/2,'↖暴涨'),COLORCYAN,LINETHICK2;
CC1:=REF(HIGH,5)=HHV(HIGH,2*5+1);
CC2:=FILTER(CC1,5);
CC3:=BACKSET(CC2,5+1);
HDD:=FILTER(CC3,5);
前高:=REF(H,BARSLAST(HDD)),COLORMAGENTA;
突破前高:=CROSS(C,前高);
倍量2:=VOL>REF(V,1)*1.9;
倍量过左峰:=倍量2 AND 突破前高;
DRAWTEXT(倍量过左峰,前高,'倍过左峰');
SXJC:=BARSLAST(CROSS("MACD.DIF","MACD.DEA"))<2;
突破左峰:=FILTER(CLOSE>REF(HHV(HIGH,100),1) AND REF(C,1)<REF(HHV(HIGH,100),1),5) AND EXIST(EVERY(C>EMA(C,120),30),100) AND C/EMA(C,100)<1.5 AND SXJC AND DYNAINFO(17)>0;
DRAWTEXT(突破左峰,H*0.98,'突破左峰');
L1A:=LLV(L,10);
起爆点:=(DCLOSE-REF(C,1))/REF(C,1)*100;
XG:=CROSS(起爆点,20) OR CROSS(起爆点,18);
L3:=IF(XG,O,L1A*0.999),COLORYELLOW;
STICKLINE(XG,L3,L3,100,0),COLORCYAN;
DRAWTEXT(XG,L3,'起爆'),COLORCYAN;
SXJC11:=BARSLAST(CROSS(MA(C,5),MA(C,10)))<2 AND C>MA(C,120);
SXJC21:=BARSLAST(CROSS(MA(V,5),MA(V,10)))<2;
SXJC31:=BARSLAST(CROSS("MACD.DIF","MACD.DEA"))<2;
SXJC1:=SXJC11 AND SXJC21 AND SXJC31;
DRAWTEXT(SXJC1,L*0.97,'←-三金叉'),COLORGREEN;




未来函数检测结果如下:
该公式包含未来函数:BACKSET
该公式包含未来函数:DYNAINFO
该公式包含未来函数:DCLOSE
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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