{威力雷达}
SM:=(OPEN+HIGH+CLOSE+LOW)/4;
SMID:=MA(SM,3);
IM:=(INDEXO+INDEXH+INDEXL+INDEXC)/4;
IMID:=MA(IM,3);
SI1:=(SMID-REF(SMID,1))/SMID;
II:=(IMID-REF(IMID,1))/IMID;
RADER1:=SUM((SI1-II)*2,30)*1000;
RADERMA:=SMA(RADER1,30,1);
{钱龙长线}
LC:=REF(CLOSE,1);
VID:=SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100);
RC:=(CLOSE-LC)*VID;
LONG:=SUM(RC,0);
DIFF:=SMA(LONG,10,1);
DEA:=SMA(LONG,20,1);
LON:=DIFF-DEA;
LONMA := MA(LON,10);
{钱龙短线}
VAR1:=MA((VOL-REF(VOL,1))/REF(VOL,1),5);
VAR2:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MY:= VAR2*(1+VAR1);
SHTMA:= MA(SHT,5);
{选股}
B1:=CROSS(RADER1,RADERMA);
B2:=CROSS(LONMA,LON);
B3:=CROSS(MY,SHTMA);
SELECT:B1 OR B2 OR B3;