MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
MA65:=MA(CLOSE,65);
MA250:=MA(CLOSE,250);
MA120:=MA(CLOSE,120);
均线流:=(MA5>MA65 AND MA10>MA65 AND MA30>MA65
AND MA5
PL2:=(CLOSE - MA250) / MA250 < 0.3;
偏离率:=(PL1 = 1 AND PL2 = 1) * 0.2;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD超跌:=COUNT((DIFF
目标:=IF(均线流=0.3 AND MACD超跌 AND 偏离率=0.2 ,0.8,0);
MBSJ:=BARSLAST(目标 = 0.8);
放量上涨:=V/REF(V,1) >= 1.1 AND C/REF(C,1) >= 1.01;
SZSJ:=BARSLAST(放量上涨 = 1);
MACD金叉:=CROSS(DIFF,DEA);
JCSJ:=BARSLAST(MACD金叉 = 1);
爆发:(MBSJ <= 20 AND SZSJ <= 1 AND JCSJ <= 1) * 1;