手机端
当前位置:爱约股 > 公式技巧 > 底背离改成大智慧公式

底背离改成大智慧公式

 网友求助:

求底背离改成大智慧公式


DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
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);
XG:CROSS(COUNT(底背离,55),2.5)&&EVERY(MAX(DIFF,DEA)<0,55);
 

 

 

解答如下:

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
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);
XG:CROSS(COUNT(底背离,55),2.5) AND ALL(MAX(DIFF,DEA)<0,55);
 

分享至:

相关推荐