N:=2;
M:=2;
N1:=3;
mtm:CLOSE-REF(CLOSE,N),LINETHICK1;
MTMMA:MA(MTM,M);
MTA:CLOSE-REF(CLOSE,N1),COLORRED,LINETHICK1;
上:=(SMA(HIGH,21,2) * 1.05),POINTDOT,LINETHICK3;
下:=SMA(LOW,21,2)*0.969,POINTDOT,COLOR00FFFF,LINETHICK3;
阻挡:=(SMA(HIGH,21,2) * 1.05);
AA10:=MA(CLOSE,8),COLORRED;
VAR1:=CLOSE/OPEN>1.04 AND CLOSE-REF(CLOSE,1)>0 AND CLOSE>下 AND AA10-REF(AA10,1)>0 AND CLOSE<上;
条件1:=FILTER(VAR1,3);
VARD:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);
支撑:=EMA(VARD,5);
X1:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);
X2:=EMA(X1,10);
均线:=MA(CLOSE,16);
VAR2:=OPEN<X2 AND CLOSE>X2 AND 支撑-REF(支撑,1)>0 AND 支撑-REF(支撑,1)>0 AND CLOSE<阻挡 AND 均线-REF(均线,1)>0 AND CLOSE>=均线 AND HIGH<阻挡 AND AA10-REF(AA10,1)>0 AND 阻挡-REF(阻挡,2)>0;
条件2:=FILTER(VAR2,11);
选股:条件1 AND 条件2,COLORFF00FF,LINETHICK2;