The Range Weighted Moving Average (RWMA) is weighted moving average which uses the square of the range of the bar as weighting factor. The exact formula for the weighting factor has the bar range replaced with the number of tick levels covered by the bar.
Volatility is driven by volume and is approximately proportional to the square root of volume. Therefore it is possible to use the squared range as a proxy for volume. This is interesting when genuine volume figures are not available. This would be the case
- for FOREX data that comes without historical backfill for volume
- for instruments that are driven by other markets outside of the regular session
In these cases the VWMA may be distorted, whereas the RWMA will still return proper results.
The Sine Weighted Moving Average (SWMA) is a FIR filter that applies weights to each bar of the lookback period in the shape of the bulge in a sine curve from 0 to pi. As a consequence the middle prices of the lookback period have the greatest weight.
The sine weighted moving average is quite similar to a triangular moving average.
I have coded it because it comes as a default moving average with other software packages and has been requested by users.
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.
In his article in this issue, “True Range Adjusted Exponential Moving Average (TRAdj EMA),” author Vitali Apirine presents how a security’s true range, which measures volatility, can be incorporated into a traditional exponential moving average. The trend-following indicator, called the true range adjusted exponential moving average (TRAdj EMA), applied with different lengths, can help define turning points and filter price movements. By comparing the indicator with an exponential moving average of identical length, the trader can gain insight into the overall trend.
The ZerolagHATEMA and ZerolagTEMA were presented by Sylvain Vervoort in “THE QUEST FOR RELIABLE CROSSOVERS” Technical Analysis of Stocks & Commodities, May 2008. The Zerolag HATEMA is based on a TEMA that uses Heikin-Ashi candles as input series. In a second step Sylvain Vervoort applied zero-lag techniques to the HATEMA to compensate for its lag. For further details, please read the article by Sylvain Vervoort.
This indicator does not depend on the selected input series, as it uses open, high, low and close of each candle. As a consequence this indicator may not be used with any other input series than price.