Tripped over this while trying to make a MACD trend follower. Basically uses MACD and momentum as the basis of a contrarian trader; NinjaTrader script attached. Suppled parameter values work well for most currencies, but it will need tweaking to get it to work with anything else.
Problem is, it's got some serious drawdowns, and while it rarely loses money over the long term, especially with a decent bucket of thing to trade, I'm a little concerned that it barely breaks even Sep-Dec last year. So, I'm hoping people can give me ideas how to get it a litle stabler.
For those of you without NinjaTrader; it uses MACD with 7, 35 and 9 as slow, fast and smooth, momentum over the last 7 time periods. I've tested mostly with minute bars. When the MACD histogram is positive and momentum is over 0.001, it goes short. When MACD histogram is negative and momentum is less than -0.001, it goes long. It leaves the market at end of the day, and otherwise just reverses position continually.
Problem is, it's got some serious drawdowns, and while it rarely loses money over the long term, especially with a decent bucket of thing to trade, I'm a little concerned that it barely breaks even Sep-Dec last year. So, I'm hoping people can give me ideas how to get it a litle stabler.
For those of you without NinjaTrader; it uses MACD with 7, 35 and 9 as slow, fast and smooth, momentum over the last 7 time periods. I've tested mostly with minute bars. When the MACD histogram is positive and momentum is over 0.001, it goes short. When MACD histogram is negative and momentum is less than -0.001, it goes long. It leaves the market at end of the day, and otherwise just reverses position continually.