「通达信」净量强度指标公式

AA:=VOL/((high-LOW)*2-ABS(close-OPEN));
主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE(CLOSE-LOW)),VOL/2)),COLOrrED;
主动卖盘:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE) (OPEN-LOW)),IF(CLOSE0-AA*(HIGH-LOW),0-VOL/2)),COLORGREEN;
盘差:=主动买盘 主动卖盘;
V2:=POW(盘差,3);
V3:=SQRT(V2)/1000000;
V4:=MA(V3,20)/MA(C,20);
V5:=V3/V4;
量比强度:V5/C,NODRAW;
DRAWBAND(1.5,rgb(47,79,79),净量比强度,90);
三日累计净量:sum(净量比强度,3),COLORYELLOW,LINethICK1;
净量比强度,VOLstICK;
STICKLINE(净量比强度>1.5 AND C>O,1.5,0,1.5,0),COLORBROWN;
STICKLINE(净量比强度>1.5 AND C>O,1.5,净量比强度,1.5,0),COLORMAGENTA;
DRAWicoN(三日累计净量<1.5,5,1);

分享: