通达信【沧海斩妖】主副图 扭亏为盈的经验总结和心灵感悟 用法详解 源码

HGW1:=SUMBARS(VOL,CAPITAL);
HGW2:=IF(CAPITAL=0,AMOUNT=HHV(AMOUNT,34),VOL>MA(VOL,HGW1)*33/10);
HGW3:=COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2;
HGW4:=DYNAINFO(8)>0;
HGW5:=VOL=LLV(VOL,100) AND HGW4;
HGW6:=HGW4 AND HGW5;
HGW7:=VOL>REF(V,1)*1.9;
HGW8:=(3*C+H+L+O)/6;
HGW9:=(8*HGW8+7*REF(HGW8,1)+6*REF(HGW8,2)+5*REF(HGW8,3)+4*REF(HGW8,4)+3*REF(HGW8,5)+2*REF(HGW8,6)+REF(HGW8,8))/36;
HGW66:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HGW9 AND C>O;
HGW68:=V>REF(V,1)*0.98 AND V<REF(V,1)*1.02;
VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,5),COLORYELLOW;
MAVOL2:MA(VOLUME,60),COLORFF00FF;
STICKLINE(HGW2,VOL,0,3,0),COLORRED;
DRAWTEXT(HGW2,VOL+3000,'天'),COLORLIBLUE;
换手:VOL/CAPITAL*100;
STICKLINE(HGW3,0,V,1,0),COLORGREEN;
DRAWTEXT(HGW3,VOL-3000,'降'),COLORGREEN;
STICKLINE(HGW6,0,V,1,0),COLORBLUE;
DRAWTEXT(HGW6,VOL+3000,'地'),COLORBLUE;
STICKLINE(HGW7,0,V,1,0),COLORYELLOW;
倍量柱:HGW7,COLORYELLOW;
DRAWTEXT(倍量柱,VOL+3000,'倍'),COLORYELLOW;
黄金柱:FILTER(HGW66,5),STICK,COLORRED,LINETHICK4;
STICKLINE(黄金柱,0,V,1,0),COLORRED;
DRAWTEXT(黄金柱,VOL+10000,'黄'),COLORRED;
价涨量缩:HGW3,COLORGREEN;
STICKLINE(HGW68,0,V,1,0),COLORMAGENTA;
平量柱:HGW68,COLORMAGENTA;
DRAWTEXT(HGW68,VOL+3000,'平'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,MAVOL1,'5日量线'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,MAVOL2,'60日量线'),COLORFF00FF;



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

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

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