V1:=AMOUNT/10000;
成交金额:V1/1000;
MA1:MA(AMOUNT/10000,5);
MA2:MA(AMOUNT/10000,24);
MA3:MA(AMOUNT/10000,60);
N: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,5,0),COLORFFFF00;
STICKLINE(N<3,VAR6,V1 ,5 ,0),COLORRED;
STICKLINE(N>=3 AND N<7,VAR6, V1,5.5,0),COLORYELLOW;
STICKLINE(N>=7,VAR6, V1, 6,0) ,COLORGREEN;