老师帮我组合公式;组成二合一预警;谢谢 公式一。 MA5 :=EMA(CLOSE,5); 趋势:=MA5-EMA(MA5,2); JCSJ1:=BARSLAST(CROSS(趋势,0))+1; JCSJ2:=JCSJ1+REF(JCSJ1,JCSJ1); 双底:IF(JCSJ1=1 AND MA5>REF(MA5,JCSJ2) AND COUNT(趋势=2,1,0); 公式二。 DIF:=EMA(CLOSE,6)-EMA(CLOSE,13); DEA:=EMA(DIF,5); RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); 金叉共振:CROSS(DIF,DEA) AND CROSS(K,D);
爱约股解答:
ma5 :=ema(c,5);
趋势:=ma5-ema(ma5,2);
jcsj1:=barslast(cross(趋势,0))+1;
jcsj2:=jcsj1+ref(jcsj1,jcsj1);
dif:=ema(c,6)-ema(c,13);
dea:=ema(dif,5);
rsv:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
二合一:jcsj1=1 and ma5>ref(ma5,jcsj2) and count(趋势<0,4)>=2 and cross(dif,dea) and cross(k,d);