NinjaTrader Black Friday 2022 sale event

PRIME* MA-Slope Trend Filter


This one-time payment includes LIFETIME support & immeasurable benefits [+]
  • Software license


ninza exchange


Availability for:

  • NinjaTrader 7 platform: NOT PLANNED
  • NinjaTrader 8 platform: AVAILABLE NOW


  • Calculate mode: OnBarClose only
  • Trader manual: not available


Following the demands of many of our beloved customers, MA-Slope Trend Filter was developed with advanced algorithms in the mission to help traders gain more confidence in detecting trending & sideways markets.

As a trader, you know that “a trend is your friend”. But how to detect a trend? A simple yet effective way is to rely on the slope of a moving average:

  • Uptrend: An uptrend is detected if the moving average is upward steep enough.
  • Downtrend: A downtrend is detected if the moving average is downward steep enough.
  • Sideways: A sideways period is detected if the moving average is not steep (considerably flat).

MA-Slope Trend Filter measures a moving average’s slope in ninZaATR unit, that is: how many ninZaATR the moving average changes per bar (averaging over the lookback period you specify). Because the number is too small, we multiply it by 1000 to derive a final value that is easy to read and configure.

Traders will need to define 4 slope thresholds: uptrend start/end, downtrend start/end – which are used to categorize the market into uptrend, downtrend, sideways phases. Generally, if the slope is large enough, the moving average is steep and we are in a trend.

The indicator comes with 10 moving average types to select, along with 10 moving average methods for smoothing. You will have a whole lot of flexibility to define and fine-tune your favorite moving average. These settings are 100% identical to ones in our Easy Trend indicator; therefore if you already own Easy Trend, you will find it easy to configure the moving average.

MA-Slope Trend Filter comes with an option to enable/disable sideways:

  • “No Sideways” is enabled: In this mode, there are only uptrend & downtrend.
  • “No Sideways” is disabled: In this mode, there are 3 phases: uptrend, downtrend and sideways.

Besides, MA-Slope Trend Filter generates “Trend Slowdown” and “Trend Resuming” signals which notify traders when the trend slows down and recovers from a pullback/correction, respectively. A trend-slowdown signal is often used for an exit, while a trend-resuming signal is an opportunity for traders to enter the market or add to their existing position.

In this indicator, ninZaATR is used (instead of regular ATR) for better performance. For your information, ninZaATR is's special ATR version that helps improve indicator performance significantly on intraday charts. It is also a standalone FREE indicator for ninZaFamily →

Key features:

  • Allow turning sideways on/off
  • Allow defining moving average (among 11 popular moving averages)
  • Allow smoothing moving average (with 11 popular moving averages)
  • Allow applying a plot change filter on the moving average, either before or after smoothing
  • Allow configuring lookback period for slope calculation
  • Allow smoothing slope
  • Allow configuring 4 slope thresholds: uptrend start/end, downtrend start/end
  • Colorize plot based on 4 states: positive increase/decrease, negative increase/decrease
  • Colorize bars based on trend status: uptrend & downtrend
  • Paint background to clearly show uptrend, downtrend & sideways (if enabled)
  • Print markers on trend start, slowdown, resuming
  • Trigger alerts on trend start, slowdown, resuming
  • Be NinjaScript ready for advanced usage, only restricted by your imagination
  • Expose dedicated NinjaScript signals


  • Popup alert
  • Sound alert (configurable rearm)
  • Email alert (possibly configured as SMS alert)
  • Message displayed in Alerts Log window

NinjaScript readiness:

  • Can be used in's GRAND* HelloWin (our AMAZING analysis tool)
  • Can be used in Market Analyzer
  • Can be used in Strategy Builder
  • Can be used in BloodHound
  • Can be used in 3rd-party indicators, strategies, products
  • Professional & clean signature for easy calling

Dedicated NinjaScript signals:

  • Signal_Trend: 1 = uptrend, -1 = downtrend, 0 = sideways
  • Signal_Trade: 1 = uptrend start, -2 = uptrend slowdown, 3 = uptrend resuming, -1 = downtrend start, 2 = downtrend slowdown, -3 = downtrend resuming, 0 = no signals
  • Signal_State:
    • 2 = slope above “Uptrend Start” threshold
    • 1 = slope from zero to “Uptrend Start” threshold
    • -1 = slope from zero to “Downtrend Start” threshold
    • -2 = slope below “Downtrend Start” threshold


  • Instruments: futures, stocks, indices
  • Interval types: timebased or non-timebased, standard or custom
  • Chart styles: whatever


  • Ready to use out of the box
  • Fully configurable & customizable with ease


MA-Slope Trend Filter
MA-Slope Trend Filter
14 photos


Please read Installation Guide for details.


FREE support for life! Feel free to ask us anything, anytime.
On NinjaTrader 8, you even have access to our PRIORITY SUPPORT directly from charts.
Please read Customer Service for details.

Software upgrade

All software upgrades for NinjaTrader 7 are absolutely FREE of charge.
All software upgrades for NinjaTrader 8 are absolutely FREE of charge.
A one-time low fee may be required for an upgrade from NinjaTrader 7 to NinjaTrader 8.
Please read Upgrade Policy for details.


Because software products may be copied and stored easily, we will NOT issue refunds of any kind.
Upon purchasing this software, you agree to be bound by Terms of Service.

Various types of trading software products, all under one roof!
Please check out our NinjaTrader 8 indicators to find ones that fit your needs.

Software Changelog

NinjaTrader 8 version:

  • 06 Oct 2020 – The indicator was released (build new).

■ Payment options: PayPal, Skrill, Visa, Mastercard, Bitcoin...

■ Because software products may be copied and stored easily, we will NOT issue refunds of any kind. ALL SALES ARE FINAL & NON-REFUNDABLE!

■ Futures and fx 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 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.

■ NinjaTrader® is a registered trademark of NinjaTrader Group, LLC. No NinjaTrader company has any affiliation with the owner, developer, or provider of the products or services described herein, or any interest, ownership or otherwise, in any such product or service, or endorses, recommends or approves any such product or service.
    Your Cart
    Your cart is emptyReturn to Shop