黑马副图(删除了未来函数,信号少了,成功率95.28%还比较高)
MA60:=MA(CLOSE,60);
a1:=(((((((((CLOSE - (DMA(CLOSE,(VOL / (SUM(VOL,13)))))) / (DMA(CLOSE,(VOL / (SUM(VOL,13)))))) * 100) <= -28) AND ((((CLOSE - (DMA(CLOSE,(VOL / (SUM(VOL,34)))))) / (DMA(CLOSE,(VOL / (SUM(VOL,34)))))) * 100) <= -19)) AND ((CLOSE / (REF(CLOSE,25))) <= 1.1)) AND (IF(((((HIGH > (LOW * 1.051)) AND ((COUNT((HIGH > (LOW * 1.051)),5)) > 1)) AND (((CLOSE / (MA(CLOSE,40))) * 100) < 78)) OR (((CLOSE / MA60) * 100) < 74)),2,0))) AND ((((SMA((MAX((CLOSE - (REF(CLOSE,2))),0)),7,1)) / (SMA(ABS((CLOSE - (REF(CLOSE,2)))),7,1))) * 100) < 15)) AND (IF(((((SMA((((CLOSE - (LLV(LOW,8))) / ((HHV(HIGH,8)) - (LLV(LOW,8)))) * 100),2,1)) > (REF((SMA((((CLOSE - (LLV(LOW,8))) / ((HHV(HIGH,8)) - (LLV(LOW,8)))) * 100),2,1)),1))) AND ((REF((SMA((((CLOSE - (LLV(LOW,8))) / ((HHV(HIGH,8)) - (LLV(LOW,8)))) * 100),2,1)),1)) < (REF((SMA((((CLOSE - (LLV(LOW,8))) / ((HHV(HIGH,8)) - (LLV(LOW,8)))) * 100),2,1)),2)))) AND ((SMA((((CLOSE - (LLV(LOW,8))) / ((HHV(HIGH,8)) - (LLV(LOW,8)))) * 100),2,1)) < 23)),1.5,0))) AND (FILTER(((((((CLOSE / (MA(CLOSE,48))) < 0.75) AND ((CLOSE / (MA(CLOSE,70))) < 0.7)) AND ((((CLOSE - LOW) / CLOSE) > 0.02) OR (CLOSE > ((REF(CLOSE,1)) * 1.01)))) AND (VOL < ((REF(VOL,1)) * 2.8))) AND (((COUNT((CLOSE < (OPEN * 0.93)),2)) = 2) OR ((COUNT(((HIGH / LOW) > 1.1),5)) > 3))),3));
a5:=(CLOSE / (REF(CLOSE,3))) >= 1.1;
a6:= a1;
a7:=IF((a6 AND ((COUNT(a6,3)) = 1)),1,0);
a8:=IF((a7 = 8),8,a7);
买入:a8*50,COLORRED;
DRAWTEXT(买入,35,'买入'),coloryellow; |