资金流入累和-精品通达信指标公式源码分享
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:=VOL,POINTDOT;
主买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORWHITE,POINTDOT;
主卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;
流入:=IF((主买盘)-(-主卖盘)>0,(主买盘)-(-主卖盘),DRAWNULL),POINTDOT,COLORYELLOW;
流出:=IF((主买盘)-(-主卖盘)<0,(主买盘)-(-主卖盘),
DRAWNULL),POINTDOT,COLOR00FF00;
五日净量:SUM(流入,5),LINETHICK2,COLORFFFFFF;
十日净量:SUM(流入,10),LINETHICK2,COLOR007800;
二十日净量:SUM(流入,20),LINETHICK2,COLOR0000AD;
六十日净量:SUM(流入,60),LINETHICK2,COLORFF0000;
总涨家数:"SH000001$ADVANCE"+"SZ399001$ADVANCE",POINTDOT,COLORWHITE;
总跌家数:"SH000001$DECLINE"+"SZ399001$DECLINE",POINTDOT,COLOR00FF00;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!