通达信成交量买卖盘对比副图公式
{YC买卖盘}
V1:=AMOUNT/10000;
成交金额:V1/1000;
MA1:MA(AMOUNT/10000,5);
MA2:MA(AMOUNT/10000,24);
MA3:MA(AMOUNT/10000,60);
换手率:100*V/CAPITAL;
VAR1:=REF(C,1);
VAR4:=(VAR1-L)/(H-L);
VAR5:=V1*VAR4;
VAR2:=V*VAR4;
VAR3:=ABS(VAR2);
VAR6:=ABS(VAR5);
VAR7:=ABS(V1-VAR6);
买盘:ABS(V-VAR3)/100;
卖盘:VAR3/100;
买卖盘比%:ABS(V-VAR3)/V*100;
STICKLINE(C>0,0,VAR6,3,0),COLORCYAN;
STICKLINE(换手率<3,VAR6,V1 ,3 ,0),COLORRED;
STICKLINE(换手率>=3 AND 换手率<7,VAR6, V1,3,0),COLORYELLOW;
STICKLINE(换手率>=7,VAR6, V1, 3,0) ,COLORGREEN;
82588431.PNG
|