通达信机构能量副图指标

源码

AAA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,AAA*(HIGH-LOW),IF(CLOSE<OPEN,AAA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0;
主卖:=-IF(CLOSE>OPEN,0-AAA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AAA*(HIGH-LOW),0-VOL/2)),LINETHICK0;
主买占%:主买/V*100,COLORRED,LINETHICK0;
主卖占%:主卖/V*100,COLOR00FF00,LINETHICK0;
STICKLINE(CURRBARSCOUNT=3,80,-80,17,0),COLOR97694F;
STICKLINE(CURRBARSCOUNT=1,80,-80,0.01,0);
DRAWLINE(CURRBARSCOUNT=5,0,CURRBARSCOUNT=1,0,0);
DRAWLINE(CURRBARSCOUNT=5,80,CURRBARSCOUNT=1,80,0);
DRAWLINE(CURRBARSCOUNT=5,-80,CURRBARSCOUNT=1,-80,0);
DRAWLINE(CURRBARSCOUNT=5,80,CURRBARSCOUNT=4,75,0),COLORFFFFFF;
DRAWLINE(CURRBARSCOUNT=4,75,CURRBARSCOUNT=3,68,0),COLORFFFFFF;
DRAWLINE(CURRBARSCOUNT=3,68,CURRBARSCOUNT=2,45,0),COLORFFFFFF;
DRAWLINE(CURRBARSCOUNT=2,45,CURRBARSCOUNT=1,0,0),COLORFFFFFF;
DRAWLINE(CURRBARSCOUNT=5,-80,CURRBARSCOUNT=4,-75,0),COLORFFFFFF;
DRAWLINE(CURRBARSCOUNT=4,-75,CURRBARSCOUNT=3,-68,0),COLORFFFFFF;
DRAWLINE(CURRBARSCOUNT=3,-68,CURRBARSCOUNT=2,-45,0),COLORFFFFFF;
DRAWLINE(CURRBARSCOUNT=2,-45,CURRBARSCOUNT=1,0,0),COLORFFFFFF;
DRAWLINE(CURRBARSCOUNT=5,0,CURRBARSCOUNT=1,主买占%,0),LINETHICK3,COLORRED;
DRAWLINE(CURRBARSCOUNT=5,0,CURRBARSCOUNT=1,-主卖占%,0),LINETHICK3,COLOR00FF00;
STICKLINE(主买占%>0 AND CURRBARSCOUNT=1,80,0,0.5,0),COLORRED;
STICKLINE(-主卖占%<0 AND CURRBARSCOUNT=1,-80,0,0.5,0),COLOR00FF00;
DRAWICON(CURRBARSCOUNT=5,0,97);
DRAWICON(CURRBARSCOUNT=1,主买占%,97);
DRAWICON(CURRBARSCOUNT=1,-主卖占%,97);
 




来函数检测结果如下:
该公式没有未来函数

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

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

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