通达信真实量比副图指标 源码

{真实量比 付图}

V1:=AMOUNT/10000;
业绩: FINANCE(33), POINTDOT,COLORFFCC66;
VAR1:=REF(C,1);
VAR2:=(VAR1-L)/(H-L);
VAR3:=V1*VAR2;
VAR4:=V*VAR2;
VAR5:=ABS(VAR4);
VAR6:=ABS(VAR3);
VAR7:=ABS(V1-VAR6);
大单卖盘:ABS(V-VAR5)/100,COLOR00FFFF;
买盘:VAR3/100,COLORFF00FF;
成交金额:V1/1000,COLOR00FF00;
买卖盘比%:ABS(V-VAR3)/V*100,COLORC0C0C0;
STICKLINE(C>0,0,VAR6,2,0),COLORFFFF00;
换手:100*V/CAPITAL,COLORRED;
MA1:MA(AMOUNT/10000,5),COLOR00FFFF;{大单卖盘}
MA2:MA(AMOUNT/10000,24),COLORFF00FF;{买盘}
MA3:MA(AMOUNT/10000,60),COLOR00FF00;{成交金额}
STICKLINE(换手<3,VAR6,V1 ,2,0),COLORRED;
STICKLINE(换手>=3 AND 换手<7,VAR6, V1,2,0),COLORYELLOW;
STICKLINE(换手>=7,VAR6, V1,2,0) ,COLOR00FF00;

(0)

相关推荐