公式要求: 1.在最近的70个周期内,MACD的DIFF从最高点下来,经过三次金叉,第三个金叉报警,报警维持5个周期; 2.前两次金叉均发生在MACD零轴上; 3.第三个金叉DIFF下零轴; MACD图如下所示 谢谢!!!!!
爱约股解答:
barslast(count(cross("macd.macd",0) and "macd.diff">0,70)=2 and cross("macd.macd",0) and "macd.diff"<0 and count(cross("macd.macd",0) and "macd.diff"<0,70)=1)<5;