DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);DEA:= EMA(DIFF,9);:= 2*(DIFF-DEA);:= BARSLAST(C/REF(C,1)>1.085);{上一个距今天数}A2:= IF(REF(L,TS)>REF(H,TS+1),REF(C,TS+1),REF(O,TS));{涨停当天最低价}A3:= BETWEEN(TS,2,13); {天数条件}A4:= C>=A2 AND BETWEEN(L/A2,1.035,0.97);{条件}A5:= V
[=A2;{}A8:= MACD>-1;{MACD条件}左侧: A3 AND A4 AND A5 AND A6 AND A7 AND A8;A9:=MA(C,5)>=A2 AND C>A2 AND C>=MA(C,5) AND REF(C,1)<=REF(MA(C,5),1)AND LLV(L,TS)0 AND A9;
]