通达信天狼成交量副图指标
源码
VAR1:=C-REF(C,1);
VAR2:=O-REF(O,1);
VAR3:=H-REF(H,1);
VAR4:=L-REF(L,1);
VAR5:=(VAR1+VAR2+VAR3+VAR4)/4;
TIANLIANG:MA(VAR5*VOL,14) ,LINETHICK0;
STICKLINE(TIANLIANG 0,TIANLIANG,0,2,0), COLORRED;
STICKLINE(TIANLIANG 0,TIANLIANG,0,2,0) ,COLORGREEN;
增幅:(TIANLIANG-REF(TIANLIANG,1))/REF(TIANLIANG,1) COLORRED LINETHICK0;