Timeframe is a) not needed and b) used wrong here.
It's not needed because you can get your 30 and 60 min MACD just by multiplying the MACD timeperiod with 2 and 4.
It's used wrong because your Close series is still from TimeFrame = 1. A 60 min MACD would need a price series with 60 min candles, like this:
TimeFrame = 4;
vars Close60 = series(priceClose());
TimeFrame = 1;
Look in the manual under "TimeFrame", there you can see how it's used for price series with different time frames. However different time frames are needed for very special cases only, for instance a daily ATR.
Also, one suggestion - when you are not sure if your signals do what you want them to do, plot them. Make it a habit to plot all your signals in the chart. Seeing how your signals behave is essential for strategy development.