通达信分时资金监控指标公式
超买:=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;
- 上一篇公式:通达信筹码分析指标公式
- 下一篇公式:通达信中线稳准买卖指标公式