The Multiple MA Cross indicator plots a fast and a slow moving average and colors the area between the two moving averages. Both the fast and the slow moving average may be selected from a collection of over 30 different moving averages.
The indicator is primarily designed as a trend filter to show whether the market is in an uptrend or in a downtrend. The indicator comes with two different trend definitions - cross and thrust. The trend is exposed as a double series and can be accessed via the NinjaTrader strategy builder or the market analyzer. Directly accessing the trend via the market analyzer requires a separately coded market analyzer column, which is not yet included with the install file.
Trend definition "MA Cross": The current trend changes to "uptrend" when the fast moving average crosses the slow moving average from below. The current trend changes to "downtrend" when the fast moving average crosses the slow moving average from above.
Trend definition "Thrust": The current trend changes from “downtrend” to “uptrend” with the first bullish thrust bar that plots above the upper moving average. A bullish thrust bar is a bar that closes above the prior bar’s high and has a larger range than the prior bar. The current trend changes from “uptrend” to “downtrend” with the first bearish thrust bar that plots below the lower moving average. A bearish thrust bar is a bar that closes below the prior bar’s low and has a larger range than the prior bar.
Moving averages available as fast and slow moving average:
- Adaptive Laguerre Filter
- ADXVMA
- Butterworth Filter
- DEMA
- Distant Coefficient Filter
- Double Weighted Moving Average (DWMA)
- Exponential Hull Moving Average (EHMA)
- EMA
- Gaussian Filter
- HMA
- Holt EMA
- Laguerre Filter
- LinReg
- Moving Mean TPO
- Moving Mean VWTPO
- Moving Median
- Moving Median TPO
- Moving Median VWTPO
- Range Weighted Moving Average (RWMA)
- Sine Weighted Moving Average (SWMA)
- SMA
- SuperSmoother
- TEMA
- Tillson T3
- TMA
- Triple Weighted Moving Average (TWMA)
- VWMA
- Wilder's Average
- WMA
- ZerolagHATEMA
- ZerolagTEMA
- ZLEMA
Applying the Multi MA Cross to indicators: The Multi MA Cross is designed to be applied to other indicators which may be selected as input series. However, some of the moving averages listed above will not support this feature. In case that a selected moving average does not support the feature the indicator will display an error message asking you to select a different moving average for the fast or the slow moving average. These are the moving averages that may not be selected when an indicator is chosen as input series: Mean TPO, Mean VWTPO, Median TPO, Median VWTPO, RWMA, VWMA, ZerolagHATEMA. These moving averages may only be applied to price.
Paint Bars: The MultipleMA Cross indicator comes with paint bars. The paint bars are colored according to the trend, where the trend maybe determined via the "MA Cross" or the "Thrust" option. The paint bars may be displayed without the indicator plots.
The Multiple Keltner Channels are a generalized version of the Keltner Channels.
Standard Keltner channels are built from a simple moving average (SMA) and two channels lines above and below. The two lines above and below are drawn at a distance from the center line, a distance which is a multiple of the simple moving average of the ranges of the past N bars.
The generalized concept has the SMA replaced with any of 30 moving averages. The volatility measure used to calculate the distance of upper and lower line from the center line can be derived from an average range (AR) or average true range (ATR). You may select different lookback periods for the moving average that serves as the center line and the moving average which is applied to the range or true range.
The Multiple Keltner Channels come with an additional smoothing option for center line and channel lines. The additional smoothing is obtained by further smoothing all plots with a 3-period simple moving average (SMA).
Moving averages available for calculating the center line:
- Adaptive Laguerre Filter
- ADXVMA
- Butterworth Filter
- DEMA
- Distant Coefficient Filter
- Double Weighted Moving Average (DWMA)
- Exponential Hull Moving Average (EHMA)
- EMA
- Gaussian Filter
- HMA
- Holt EMA
- Laguerre Filter
- LinReg
- Moving Mean TPO
- Moving Median
- Moving Median TPO
- Range Weighted Moving Average (RWMA)
- Sine Weighted Moving Average (SWMA)
- SMA
- SuperSmoother
- TEMA
- Tillson T3
- TMA
- Triple Weighted Moving Average (TWMA)
- Wilder's Average
- WMA
- ZerolagHATEMA
- ZerolagTEMA
- ZLEMA
Moving averages colored according to slope: You may also use this indicator to display any of the above listed moving averages and color them according to slope. The slope is not based on a geometrical concept, as this would not be compatible with the scalability of modern charting applications. The indicator adjusts slope to bar volatility such that the indicator may be used across all instruments and bar types with the same settings. The slope is shown as upsloping, downsloping or flat. The degree of flatness which is still considered as being flat may be adjusted via the neutral threshold parameter. When you set that parameter to zero, the slope will not show any flat sections, but the moving average will always be identified as upsloping or downsloping. Channel lines may be unselected, if you just wish to display the selected moving average.
Volatility measures: The standard Keltner channel uses the range. This indicator also for substituting the range with the average true range. The average true range is used as default option to facilitate the application of the Multiple Keltner Channels to other indicators.
Applying the Multiple Keltner Channels to indicators: When an indicator is used as input series, the range will always return the value 0. However, the average true range will return the absolute amount of the difference of two neighbouring data points of the selected input series. Therefore the indicator may only be applied to other indicators, as long as the offset formula is set to "True_Range".
Paint Bars: The Multiple Keltner Channel indicator comes with paint bars. The paint bars are colored according to the slope of the center line. The paint bars may be displayed without the indicator plots. The colors of the paint bar will then show the slope of the moving average selected as center line.
Sound Alerts: In case that the sound alerts are active, the indicator will alert you when the trend derived from the slope of the center line changes. Currently, there are no sound files included with the zip file, but it is easy to create them and copy them to the NinjaTrader sounds directory.
The Zerolag TEMA and Zerolag HATEMA were presented by Sylvain Vervoort in “THE QUEST FOR RELIABLE CROSSOVERS” Technical Analysis of Stocks & Commodities, May 2008. The Zerolag TEMA is a version of the triple smoothed moving average which is less smooth, but more responsive to market movements. For further details read article by Sylvain Vervoort.
Sylvain Vervoort suggested to use the typical price as input series for the Zerolag TEMA. I have not hardcoded the typical price as input series. Please select the typical price as input series via the indicator dialogue box.
The Average Directional Index Variable Moving Average (ADXVMA) is a volatiltiy based moving average with the volatility being determined by the value of the ADX. The ADX provides levels of support during uptrends and resistance during downtrends. The indicator may also be used as a trendfilter. The trend can be positive, negative or neutral.
The ADXVMA that can be downloaded here may also be used with other input series than price. The trend can be shown via paint bars and is exposed as a public property.
Note: The ADXVMA has the trend exposed as a public property. This property can be accessed programmatically. However, it cannot be currently accessed via the market analyzer. In order to access the Trend series via the market analyzer, a specific MarketAnalyzerColumn is required. The MarketAnalyzerColumn is not yet included with the install file, as it has led to freezes with NT 8.0.8.0. The bug has been confirmed by NinjaTrader developers and only fixed with the latest release NT 8.0.9.0. (issue #12054). The market analyzer column and sound files for the ADXVMA will be availabe with a future update.
The SuperTrend indicator is an application of the concept of MAE (maximum adverse excursion), which was introduced by John Sweeney in the mid-nineties. It is a Stop-And-Reverse (SAR) indicator based on breakouts from a modified Keltner channel.
The SuperTrendU11 is an enhanced version of the original SuperTrend indicator that comes with the following modifications:
- You may select between 36 different moving averages for the baseline.
- The baseline is calculated one bar ago to avoid recalculating with each incoming tick.
- You may select from 4 different volatility measures - average true range, average range, residual mean absolute deviation and residual root mean square deviation
- Average true range and average range can be calculated from 30 different moving averages.
- All volatility measures are also calculated one bar ago.
In fact there is no point in moving a trailing stop towards the current price intra-bar. Therefore a trailing stop should always be calculated from the prior bar and not the last price.
When you import the install file to NinjaTrader, it will also install the following moving averages:
- Moving Median
- Moving Median TPO
- Moving Median VWTPO
- Moving Mean TPO
- Moving Mean VWTPO
- Adaptive Laguerre Filter
- ADXVMA
- Butterworth Filter
- Distant Coefficient Filter
- Double Weighted Moving Average (DWMA)
- Exponential Hull Moving Average (EHMA)
- Gaussian Filter
- Holt EMA
- Laguerre Filter
- Range Weighted Moving Average
- SuperSmoother
- Sine Weighted Moving Average
- Tillson T3
- Triple Weighted Moving Average (TWMA)
- ZerolagHATEMA
- ZerolagTEMA
It will also install debugged versions of MAX and MIN, as the in-built versions supplied with NT8 do not work correctly with Renko bars (RemoveLastBarSupported).
The SuperTrend U11 can be set to revert intra-bar or at the bar close. With default settings the stop line is only broken, when there is a bar close beyond the stop. The indicator further comes with paint bars and sound alerts.
The SuperTrend is a trend indicator, which can be used in various ways. It is best used as a trailing stop or as a trend filter. It can also be used as a stop-and-reverse indicator, but will only work as such in trending markets. Typically it will allow for profitable results while the market is trending and then give the money back in sideways markets.
Note: The SuperTrend U11 has the trend exposed as a public property. This property can be accessed programmatically. However, it cannot be currently accessed via the market analyzer. In order to access the Trend series via the market analyzer, a specific MarketAnalyzerColumn is required. The MarketAnalyzerColumn is not yet included with the install file, as it has led to freezes with NT 8.0.8.0. The bug has been confirmed by NinjaTrader developers and only fixed with the latest release NT 8.0.9.0. (issue #12054). The market analyzer column and sound files for the SuperTrend U11 will be available with a future update.
*) Unfortunately, the forum software always renames zip files to match the original file name. Therefore the zip file refers to a prior version of the amaSuperTrendU11. Be assured that the zip file contains the indicator version referenced in the headline.
You may set the number of poles in the filter to 1,2,3 or 4. A 1-pole filter will have a better approximation to price, whereas the 4-pole filter has superior smoothing.
To emulate the original Gaussian filter presented by John F. Ehlers, please select the PriceType "Median" as Input Series.
The Holt EMA is a trend corrected exponential moving average based on a double exponential smoothing model.
Holt’s paper, “Forecasting Seasonals and Trends by Exponentially Weighted Moving Averages” was published in 1957 in O.N.R. Research Memorandum 52, Carnegie Institute of Technology.
The tools developed by Holt & Winters are mainly used for forecasting time series.
The Double Exponential Moving Average (DEMA) was first presented by Patrick Mulloy in "Stocks & Commodities" in 1994. It attempts to offer a smoothed average with less lag than a straight exponential moving average.
The Double Weighted Moving Average (DWMA) replicates the DEMA formula, applying it to the WMA (weighted moving average) instead of the EMA.
The Hull Moving Average (HMA) was developed by Alan Hull and is mainly used to identify the current market trend. The HMA is composed of three weighted moving averages (WMA).
The Exponential Hull Moving Average (EHMA) has those weighted moving averages replaced with exponential moving averages.
The Exponential Hull Moving Average exhibits an excellent balance between smoothing and lag (also see "Moving Averages for Financial Data Smoothing" by Aistys Raudys, Edmundas Malčius, and Vaidotas Lenčiauskas – Vilnius University, Faculty of Mathematics and Informatics)