编写要求:
www.gszx.com.cn网解答:
网友求助:
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);