i haven't got the chance to test it thoroughly but by plotting it on a 5 times higher timeframe than the one you are using you should at least get an idea when it's ok to take a trade (MACD (1,X,1) is close to 0 line) and when the market is unlikely to continue (MACD(1,X,1) shows an over/under valued market) and maybe fade the trend (i do not reccomend going countertrend ever).