这样的可以用
名称:盘中选股:(用于通达信)
发布人:仙人老师
VAR0:=VOL/CLOSE/2;
VAR1:=SUM((VAR0>100 AND CLOSE>REF(CLOSE,1))*VAR0,0);
VAR2:=SUM((VAR0>100 AND CLOSE<REF(CLOSE,1))*VAR0,0);
VAR3:=SUM((VAR0<100 AND CLOSE>REF(CLOSE,1))*VAR0,0);
VAR4:=SUM((VAR0<100 AND CLOSE<REF(CLOSE,1))*VAR0,0);
机构买盘:VAR1,COLORFF55FF;
机构卖盘:VAR2,COLORFFFF55;
散户买盘:VAR3,COLOR5555FF;
散户卖盘:VAR4,COLOR55FF55;
选股公式:(可以用)
VAR0:=VOL/CLOSE/2;
VAR1:=SUM((VAR0>100 AND CLOSE>REF(CLOSE,1),VAR0,0),0);
VAR2:=SUM((VAR0>100 AND CLOSE<REF(CLOSE,1),VAR0,0),0);
VAR3:=SUM((VAR0<100 AND CLOSE>REF(CLOSE,1),VAR0,0),0);
VAR4:=SUM((VAR0<100 AND CLOSE<REF(CLOSE,1),VAR0,0),0);
VAR5:=VAR1+VAR2+VAR3+VAR4;
VAR1>VAR2 AND VAR3>VAR4 AND VAR1>REF(VAR1,1) AND
REF(VAR1,1)>REF(VAR1,2) AND
(VAR1+VAR3)/VAR5*100>60; |