« Back home

MACD Momentum System

This is a simple MACD trading system which combines a 20 day exponential moving average. A signal is generated when both MACD and EMA confirm to either a ‘Trend Up’ or a ‘Trend Down’.

Buy script

Sell script

Additional notes

Trend, EMA, and MACD are predefined functions in the Tradescript.
The numbers placed in the code are indicative.