今天做出来的,指标不含未来函数不漂移,原理是MACD底背离加KD金叉和CCI上穿,测试成功率77%,无偿分享给大家吧,10个点止损,基本还是可以赚的
指标源码:
DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1) CLOSE AND DIFF REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
LOWV:=LLV(LOW,9);
HIGHV:=HHV(HIGH,9);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K:=EMA(RSV,3);
D:=MA(K,3);
KD金叉:=K =50 AND D =50 AND CROSS(K,D);
N:=83;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
CCI上穿:=CROSS(CCI,-100);
GZ:底背离 AND KD金叉 AND CCI上穿;