David Varadi’S Aggregatem++ Mean Reversion Oscillator V1

The Aggregate M indicator is based on the concept that in the long term the market trends, while in the short-term the market is noisy, and has a tendency to mean-revert. Why not combine the two concepts to keep life simple? The Aggregate M is supposed to reflect an adjusted median that is filtered for short term noise. The median is a far more accurate measure of central tendency than a simple average especially with noisy data. Taking a superior measure of trend and filtering out some of the noise by adjusting for short-term mean reversion creates an even better median. The Aggregate M is now both trend and mean-reversion rolled into one.

Full details here

Note: I have changed David's variable names and used percentage values instead of decimals.
Please read the comments within the code itself.

Created By Sim22
NinjaTrader Version 7
File Size 3.3 KB
Create Date 04/29/2016
# of Downloads 492

Importing to NinjaTrader 7 is Easy!

To import your 3rd party app or add-on to NinjaTrader, simply follow these 3 steps:

  1. Download the app or add-on file to your desktop
  2. From the NinjaTrader Control Center window, select the menu File > Utilities > Import NinjaScript
  3. Select the downloaded file from your desktop


Visit the NinjaScript File Sharing discussion in the NinjaTrader user forum to interact with fellow traders and the NinjaTrader support team.