简单分笔
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;

简单散户
散户买:="简单分笔.散户买#tick";
散户卖:="简单分笔.散户卖#tick";
散户:散户买-散户卖,LINETHICK3,colorgreen;

简单游资
游资买:="简单分笔.游资买#tick";
游资卖:="简单分笔.游资卖#tick";
游资:游资买-游资卖,LINETHICK3,coloryellow;

简单主力
特买:="简单分笔.主力买#tick";
特卖:="简单分笔.主力卖#tick";
主力:特买-特卖,LINETHICK3,colorred;


top源码

散户买:="简单分笔.散户买#tick";
散户卖:="简单分笔.散户卖#tick";
散户:散户买-散户卖,LINETHICK3,colorgreen;
游资买:="简单分笔.游资买#tick";
游资卖:="简单分笔.游资卖#tick";
游资:游资买-游资卖,LINETHICK3,coloryellow;
特买:="简单分笔.主力买#tick";
特卖:="简单分笔.主力卖#tick";
主力:特买-特卖,LINETHICK3,colorred;

DRAWTEXTREL(10,998,'散户');
DRAWTEXTREL(20,998,'游资');
DRAWTEXTREL(30,998,'主力');

 

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

 

简单分时与top源码(大智慧)的选股公式如下: