把这个MACD底背离指标改成飞狐的
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

这个是通达信用的麻烦老师修改成飞狐用的,谢谢啦DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);DEA1:=EMA(EMA(CLOSE,12)/EMA(CLOSE,27),9);角度:ATAN(DEA1/REF(DEA1,A1+1)*100-100)*57.3,NODRAW;底背离; 最好在做个选股公式

解答:

 DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);

DEA:=EMA(DIFF,9);
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
DEA1:=EMA(EMA(CLOSE,12)/EMA(CLOSE,27),9);
角度:ATAN(DEA1/REF(DEA1,A1+1)*100-100)*57.3,LINETHICK0;
底背离;

选股票看什么指标最好 >股票指标网