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;