通达信成交量(副图指标源码)
量:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
VOLUME:量,VOLSTICK;
买量:=IF(CLOSE>OPEN,量*(HIGH-LOW),IF(CLOSE
卖量:=(IF(CLOSE>OPEN,0-量*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
总量:=(买量+卖量),VOLSTICK;
净量:=买量-卖量>0;
短量:=量-总量>0;
STICKLINE(买量,0,VOL,0.8,0),COLORRED;
STICKLINE(净量,0,VOL,0.8,0),COLORYELLOW;
STICKLINE(短量,0,VOL,0.8,0),COLORMAGENTA;
净买量黄色:0,COLORYELLOW;买量红色:0,COLORRED;短买量:0,COLORMAGENTA;
VOLUME:量,VOLSTICK;
买量:=IF(CLOSE>OPEN,量*(HIGH-LOW),IF(CLOSE
净量:=买量-卖量>0;
短量:=量-总量>0;
STICKLINE(买量,0,VOL,0.8,0),COLORRED;
STICKLINE(净量,0,VOL,0.8,0),COLORYELLOW;
STICKLINE(短量,0,VOL,0.8,0),COLORMAGENTA;
净买量黄色:0,COLORYELLOW;买量红色:0,COLORRED;短买量:0,COLORMAGENTA;