60分钟macd金叉选股公式
金叉并非万能,有时刚刚进入金叉或准金叉状态,也可能是上一波反弹的结束,下一波下跌的开始。只有当金叉周期的前后周期均为上涨趋势,金叉的威力才最大。业绩的持续增长才是技术指标的前提和保证。
1、0轴上方第一次金叉选股公式:
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);select:cross(diff,dea)and dea>-1.0and dea<0.5and CLOSE>ref(CLOSE,1)and CLOSE>=ma(c,60);
或:
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);XG:DIF>0AND DEA>0AND CROSS(DIF,DEA);
2、0轴上方二次金叉的选股公式:
JC:IF(SUM(IF(MACD>0AND CROSS(MACD。DIF,MACD。DEA),1,0),0)-HHV(IF(IF(CROSS(MACD。DEA,0),1,0),SUM(IF(MACD>0AND CROSS(MACD。DIF,MACD。DEA),1,0),0),0),0)=2AND SUM(IF(MACD>0AND CROSS(MACD。DIF,MACD。DEA),1,0),0)>REF(SUM(IF(MACD>0AND CROSS(MACD。DIF,MACD。DEA),1,0),0),1),10,0);
3.0轴下方一次金叉的选股公式:
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9),COLORFFFF00;
MACD:=(DIFF-DEA)*2;
低位金叉:CROSS(DIFF,DEA)AND DIFF
4、0轴下方二次金叉且第二次金叉高于第一次金叉:
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
AA:=BARSLAST(REF(CROSS(DIF,DEA),1);
二次金叉:CROSS(DIF,DEA)AND DIF>REF(DIF,AA+1)AND AA<20AND DIF<0;
5、0轴下方二次金叉选股公式:
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);{选股设JC=10即可}
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA),COLORSTICK;
A:=IF(CROSS(0,DEA),1,0);
A1:=IF(DIFF<0AND CROSS(DIFF,DEA),1,0);
SS:=IF(A,SUM(A1,0),0);
SSB:=HHV(SS,0);
SSS:=SUM(A1,0);
JC:IF(SSS-SSB=2AND SSS>REF(SSS,1),10,0);