30日内最低价的最低值:
T1:=LLV(REF(LOW,1),30)=LLV(REF(LOW,1),1) AND BARSCOUNT(CLOSE)>=30;
今天的收盘价在T1的+-10%
T2:=CLOSE<=T1*1.1 AND CLOSE>=T1*0.9;
MACD不创新低
T3:=MACD>REF(MACD,1);
综合条件选股
XG:T1 AND T2 AND T3;
公式如下:
T1:=LLV(REF(LOW,1),30)=LLV(REF(LOW,1),1) AND BARSCOUNT(CLOSE)>=30;
T2:=CLOSE<=T1*1.1 AND CLOSE>=T1*0.9;
T3:=MACD.macd>REF(MACD.macd,1);
XG:T1 AND T2 AND T3;