MACD连续三次金叉选股公式

2023-07-17 04:00发布

macd三次金叉的公式,要求每一次金叉时,DEA要大于等于前一次DEA,同时第三次金叉在0轴附近, 编写条件:编写方法:DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);:=(DIFF-DEA)*2;JCCOUNT:=COUNT(OSS(DIFF,DEA),BAAST(DEA>=0));:=CROSS(DIFF,DEA) AND DEA<0 COUNT(JCCOUNT=1,21) T1:=BARSLAST(金叉);二金叉:>REF(DEA,T1) AND COUNT(JCCOUNT=2,21)=1;T2:=BARSLAST(二金叉);三金叉:CROSS(DIFF,DEA) AND BETWEEN(DEA,0,0.2) AND DEA>REF(DEA,T2) AND COUNT(JCCOUNT=3,28)=1;
 解锁全文需 1  财富值,免费注册即送20财富值!