简单分时与top源码(大智慧)

简单分笔

a:=BUYvol*c/100;

bz:=sum(a,0);

b:=c*SELLVOL/100;

sz:=sum(b,0);

z:=bz+sz;

cz:=bz-sz;

xb5:=if(a<=20,a,0);散户买:sum(xb5,0),LINETHICK2,COLORred;

xs5:=if(b<=20,b,0);散户卖:sum(xs5,0),LINETHICK2,COLORgreen;

xb100:=if(a<=100 and a>=20,a,0);游资买:sum(xb100,0),LINETHICK2,COLORred;

xs100:=if(b<=100 and b>=20,b,0);游资卖:sum(xs100,0),LINETHICK2,COLORgreen;

xb150:=if(a>=100 ,a,0);主力买:sum(xb150,0),LINETHICK2,COLORred;

xs150:=if(b>=100 ,b,0);主力卖:sum(xs150,0),LINETHICK2,COLORgreen;