MA20:=ma(close,20);
BTma20:= (close>ma20) and (ref(close,1)>ref(ma20,1)) and (ref(close,2)>ref(ma20,2));
VOL120:=ma(vol,120);
BTvol120:= (vol > vol120) and (ref(vol,1) > ref(vol120,1)) and (ref(vol,2) > ref(vol120,2));
小盘:=(CAPITAL<10000000);
中线强势:小盘 and BTma20 and BTvol120;