通达信分时资金指标公式

[复制链接]
查看263 | 回复0 | 2021-8-20 22:25:25 | 显示全部楼层 |阅读模式

超买:=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;
{www.gupang.com 股旁网_通达信股票指标公式}
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;

202108201722.jpg

202108201722.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则