DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9); MACD:=(DIF-DEA)*2; JC:=CROSS(DIF,0); T:=BARSLAST(JC); JCM:=CROSS(DIF,DEA) AND DIF>0 AND DEA>0; XG:COUNT(JCM,T)=2 AND JCM; |
|
來自: 主觀現(xiàn)實 > 《macd》