I developed this script to analyse MACD, MACD Signal, MACD Histogram movements by using current and higher time frame. Script calculates higher time frame automatically, no manuel entry. I also added trailing stop loss line. You can change the parameters as you wish ;)
btw. you should know that MACD is more successful when there is trend.
If you like it please comment and check out my other scripts.