根据中底大底指标,编写出预警公式
2020/5/3 18:33:39
公式编写说明:
请老师帮忙编出大底和中底的预警公式!X:=MA(AMOUNT,5)/MA(V,5)/100;VAR3:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;VAR4:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);VAR5:=C/MA(C,60)-1;大底:IF(CROSS(-5,VAR4) AND VAR3<-0.4,-0.01,-1);中底:IF(CROSS(-5,VAR4) AND VAR3<-0.25 AND VAR3>-0.4,-0.3,-1);
公式源码回答:
X:=MA(AMOUNT,5)/MA(V,5)/100;
VAR3:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
VAR4:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
VAR5:=C/MA(C,60)-1;
大底:=IF(CROSS(-5,VAR4) AND VAR3<-0.4,-0.01,-1);
中底:=IF(CROSS(-5,VAR4) AND VAR3<-0.25 AND VAR3>-0.4,-0.3,-1);
预警:大底=-0.01 OR 中底=-0.3;
投 股票网 www.to u18.cn
股市公式下载推荐