通达信主动买卖温度指标公式

成交量:=vol,VOLSTICK;
MA5:=MA(VOL,5);
MA10:=MA(VOL,10);
MA20:=MA(VOL,20),LINETHICK0;
MA35:=MA(VOL,35),LINETHICK0;
AAA:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,AAA*(HIGH-LOW),IF(CLOSE<OPEN,AAA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2))*0.8,LINETHICK0;
主卖:=-IF(CLOSE>OPEN,0-AAA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AAA*(HIGH-LOW),0-VOL/2))*0.9,LINETHICK0;
主力净量:=(主买-主卖),LINETHICK0;
O0:0;
总量:100,LINETHICK0;
主买占%:主买/成交量*100,COLORRED,LINETHICK0;
主卖占%:主卖/成交量*100,COLOR00FF00,LINETHICK0;
比差:=主买占%-主卖占%;
STICKLINE(CURRBARSCOUNT=1 AND 100>0,100,0,2,1),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=1 AND 主卖占%>0,主卖占%,0,1.8,0),COLORBLUE;
STICKLINE(CURRBARSCOUNT=1 AND 主买占%>0,主买占%,0,1,0),COLORRED;
DRAWICON(CURRBARSCOUNT=1 AND 5>0,0,97);
DRAWTEXT(CURRBARSCOUNT=1,主买占%+5,'____主买'),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=1,主卖占%+5,'____主卖'),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=1,102,'总量'),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=1,22,'----20'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,32,'----30'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,42,'----40'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,52,'----50'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,62,'----60'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,72,'----70'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,82,'----80'),COLORFFFFFF;




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

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

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

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