九毛八公式指标
请老师帮我在慢牛出击的预警里加个SAR首日翻红,把两者整合一下,谢谢啦!! 附上快乐慢牛的慢牛出击预警: DIF:=EMA(C,12)-EMA(C,26); DEA:=EMA(DIF,9); MACD:=(DIF-DEA)*2; RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; LB:=DYNAINFO(17); 出击1:=REF(C,1)0 AND REF(K,1)<80 and ref(j,1)<100 lb>1.5; 出击2:=REF(C,1)0 AND MACD>REF(MACD,1) AND REF(K,1)<80 and ref(j,1)<100 lb>1; 慢牛出击:出击1 OR 出击2; 恳请老师帮忙,万分感谢!
公式模块:
DIF:=EMA(C,12)-EMA(C,26);
DEA:=EMA(DIF,9); macd:=(DIF-DEA)*2; RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; LB:=DYNAINFO(17); 出击1:=REF(C,1)<REF(C,2)*1.05 AND REF(C,1)<REF(C,4)*1.05 AND REF(MacD,1)<0 AND MACD>0 AND REF(K,1)<80 AND REF(J,1)<100 AND LB>1.5; 出击2:=REF(C,1)<REF(C,2)*1.05 AND REF(C,1)<REF(C,4)*1.05 AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,1)>0 AND MACD>REF(MACD,1) AND REF(K,1)<80 AND REF(J,1)<100 AND LB>1; 慢牛出击: ((出击1 OR 出击2) AND crOSS(C,SAR.sar));
80>