通达信分时图上看资金进出副图公式

这个公式可是分时图上使用的啊,可不要放到K线图里用啊,
可以看分时图上的,机构,主力,散户,大户,红线进,绿线出
 

通达信 分时资金 副图 指标源码

超买:=IF((ISBUYORDER,AMOUNT>=(FINANCE(40)*0.05/100))AND(DCLOSE>=DOPEN),AMOUNT/10000,0);
超卖:=IF((AMOUNT>=(FINANCE(40)*0.05/100))AND(DCLOSE<=DOPEN),AMOUNT/10000,0);
大买:=IF(((ISBUYORDER,AMOUNT>=(FINANCE(40)*0.025/100))AND(ISBUYORDER,AMOUNT<(FINANCE(40)*0.05/100)))AND(DCLOSE>=DOPEN),AMOUNT/10000,0);
大卖:=IF(((AMOUNT>=(FINANCE(40)*0.025/100))AND(AMOUNT<(FINANCE(40)*0.05/100)))AND(DCLOSE<=DOPEN),AMOUNT/10000,0);
中买:=IF(((ISBUYORDER,AMOUNT>=(FINANCE(40)*0.005/100))AND(ISBUYORDER,AMOUNT<(FINANCE(40)*0.025/100)))AND(DCLOSE>=DOPEN),AMOUNT/10000,0);
中卖:=IF(((AMOUNT>=(FINANCE(40)*0.005/100))AND(AMOUNT<(FINANCE(40)*0.025/100)))AND(DCLOSE<=DOPEN),AMOUNT/10000,0);
散买:=IF((ISBUYORDER,AMOUNT<(FINANCE(40)*0.005/100))AND(DCLOSE>=DOPEN),AMOUNT/10000,0);
散卖:=IF((AMOUNT<(FINANCE(40)*0.005/100))AND(DCLOSE<=DOPEN),AMOUNT/10000,0);
Z:=(SUM(超买,0)-SUM(超卖,0))+(SUM(大买,0)-SUM(大卖,0))+(SUM(中买,0)-SUM(中卖,0))+(SUM(散买,0)-SUM(散卖,0));
★总净:Z,COLORSTICK;
★主净:(SUM(超买,0)-SUM(超卖,0))+(SUM(大买,0)-SUM(大卖,0)),LINETHICK8,COLORYELLOW;
★超净:SUM(超买,0)-SUM(超卖,0),COLORRED,LINETHICK2;
★大净:SUM(大买,0)-SUM(大卖,0),COLORMAGENTA,LINETHICK2;
★中净:SUM(中买,0)-SUM(中卖,0),COLORBLUE,LINETHICK1;
★散净:SUM(散买,0)-SUM(散卖,0),COLORGREEN,LINETHICK1;

DRAWTEXT(ISLASTBAR AND C,★主净,'★主力'),COLORYELLOW;
DRAWTEXT(ISLASTBAR AND C,★超净,'★机构'),COLORRED;
DRAWTEXT(ISLASTBAR AND C,★大净,'★大户'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR AND C,★中净,'★中户'),COLORBLUE;
DRAWTEXT(ISLASTBAR AND C,★散净,'★散户'),COLORGREEN;




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

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

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