Moving Average Convergence Divergence
(MACD) Automated Strategy

The infamous MACD indicator created by Gerald Appel in 1979. Widely uses across the trading community even to this day. The MACD is a trend-following momentum indicator that shows the relationship between two moving averages, this difference is drawn out as a histogram. there are many ways to trade this, and we have implemented 4 popular entry methods, 5 exit methods and 5 re-entry (scale-in) methods. Fully automated strategy for NinjaTrader 8, include any of the optional exit methods, trailing, TP's, SL's.

NT8 MACD Strategy

NT8 MACD Strategy

Full on MACD automated trading strategy for Ninjatrader 8. Trade all popular signals from the MACD which include 4 entry methods, 5 exit methods, 5 Re-entry methods, such as, Histogram, MACD and Signal zero line crossovers, histogram rising/falling. Add a trend MA filter to filter out whipsaws. The strategy can handle scaling in and re-entering on different MACD signals. Also setup stoploss, takeprofits and various trailing methods. Order entry include @Market or StopOrders.

previous arrow
next arrow

Strategy Concept

MACD Entries

Define Entry Methods:

1. MACD Crossover ZeroLine
2. Signal Crossover Zeroline
3. Histogram Crossover Zeroline
4. Histogram Rising/Falling
5. Optional Additional Moving Average Trend Filter

Optional Exits

Optional Exit Methods:

1. MACD Crossover ZeroLine
2. Signal Crossover Zeroline
3. Histogram Crossover Zeroline
4. Histogram Rising/Falling
5. Moving Average Slope Change

Re-Entry and Other Options

Setup re-entry rules to add to position (scale). Choose from upto 5 TP's with 4 different calculations. Add optional stoploss, takeprofits, trailing and breakeven.

Fully Backtestable through Playback, Strategy analuzer and on chart history.

Strategy Features

MACD Trading Signals

4 Entry, 5 Exit and 5 Re-Entry Rules. 100+ combinations!!!

  • MACD Crossver Zeroline (Entry/Re-Entry/Exit)
  • Signal Line Crossover Zeroline (Entry/Re-Entry/Exit)
  • Histogram Crossover Zeroline (Entry/Re-Entry/Exit)
  • Histogram Rising/Falling (Entry/Re-Entry/Exit)
  • MACD Above/Below Zeroline + Histogram crossover Zeroline (Re-Entry)
  • Signal Line Above/Below Zeroline + Histogram crossover Zeroline (Re-Entry)
  • MA Trend Line Filter (Entry Filter/Re-Entry Slope, Exit on Slope change)

Stoploss Methods

5 stoploss methods available.

  • Fixed Ticks Distance
  • Fixed Percentage at Market Price
  • ATR (Average True Range) Volatility.
  • Pivot Stoploss: Place the stop on the previous bar(s) high or low based on X-bar lookback period.
  • Prior Day Mid Range Stoploss

Breakeven Methods

  • Fixed Ticks Distance to set breakeven +/- offset
  • Ratio of stoploss distance i.e set BE trigger 2:1 of stoploss

TakeProfit Methods

6 Takeprofit methods + upto 5 Profit Targets

  • Multi Profit Targets upto 5 TP's and runner option
  • Fixed Ticks Distance
  • Fixed Percentage at Market Price
  • ATR (Average True Range) Volatility.
  • Risk Reward Profit Target: Based on the distance of the stoploss multiplied by Reward ratio.
  • Fibonacci Extension Profit Targets
Fixed Ticks
Bar Trailing
Moving Average Trailing
Moving Average Trailing Properties
All Trailing Methods

Trailing Methods

4 trailing methods available.

  • Standard Ticks Trailing: Similar to how ATM trailing works by ticks. 
  • Percentage Trailing: Not available through ATM's and can be backtested.
  • Moving Average Trailing: Also not available on ATM's and can be backtested.
  • Bar-by-Bar Trailing: Set lookback period of highs/lows, when profit trigger reached trail to the last high/low within the specified lookback period.


  • MACD/PPO Indicator
  • MACD Indicator
  • MACD Strategy Example 1
  • MACD Strategy Example 2
  • MACD Strategy Example 3
  • MACD Strategy Example 4
  • MACD Strategy Example 5
  • MACD Strategy Example 6

Pricing Plans

MACD Live Trial

£50 /Trial

  • Try out the MACD strategy 14 Day Trial
  • No restrictions. Any Market. Live Trial.
  • £50 discount when upgrade to yearly or lifetime subscription
  • 1 Licence

MACD Yearly Subscription

£450£495 /Year

  • MACD Strategy Yearly subscription
  • £50 discount when upgrade from 14 day trial
  • 2 Licences.
  • Upgrades and updates all free.
  • Member priority for additional coding requests to strategy.

MACD Lifetime Licence

£995 £1150 /Life

  • MACD Strategy for Life.
  • £50 discount when upgrade from 14 day trial
  • 2 Licences.
  • Upgrades and updates all free for life.
  • Highest priority for additional coding requests to strategy.

Risk Disclosure:

Futures, Options, Forex and cryptocurrency trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones’ financial security or life style. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results.

Hypothetical Performance Disclosure:

Hypothetical performance results have many inherent limitations, some of which are described below. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown; in fact, there are frequently sharp differences between hypothetical performance results and the actual results subsequently achieved by any particular trading program. One of the limitations of hypothetical performance results is that they are generally prepared with the benefit of hindsight. In addition, hypothetical trading does not involve financial risk, and no hypothetical trading record can completely account for the impact of financial risk of actual trading. for example, the ability to withstand losses or to adhere to a particular trading program in spite of trading losses are material points which can also adversely affect actual trading results. There are numerous other factors related to the markets in general or to the implementation of any specific trading program which cannot be fully accounted for in the preparation of hypothetical performance results and all which can adversely affect trading results.

© 2021 AlgoNinja. All Rights Reserved.