Here is an ADXVMA port from NinjaTrader to MultiCharts.
I've built it as a function so you can use it in signals easily. The attached .pla MultiCharts file is both the function and the indicator.
I know that some NT users like to set the rising and falling plots to transparent so they are left with "shelfs" for the neutral plot. I tried, but there is apparently no way to do this in EasyLanguage. I've emailed MultiCharts for help.
October 12th, 2015
Size: 5.51 KB
Downloaded: 558 times
1661
Zondor
Version 1.1 August 1, 2017
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.
All previous versions of the ADXVMA are based on a dirty transcript from MetaTrader which has a number of bugs, inconsistencies or variables that are not being used. This is just an attempt to clean up the mess and come up with a proper version. These are the changes:
Initialization: Most versions are initialized with a value of 0 instead of Input[0], this usually creates false values for the first 100 or 200 bars.
Redundant variables: The transscripts from MetaTrader use 4 different variables for the period, although it is always the same period. A variable used for the shift in MetaTrader is carried around, although it always has the value 0.
Inefficient algorithms: The indicator mostly uses Wilder's smoothing for calculating exponential averages from the positive and negative Momentum. The smoothing constant k is calculated once and applied to the various steps required for smoothing. Searching the highest and lowest value for the last n+1 period was hidden in a complex algorithm.
Input Series: The prior versions can only be applied to the close, this version also accepts other input series, such as the high, low or the typical price of the selected instrument.
Trendfilter: The indicator can best be used as a trendfilter. The trend state, which can be positive, negative and neutral, is exposed via an IntSeries, which can then be accessed by other indicators and strategies. The trend can also be shown via a paintbar option.
Update June 11, 2012: Trendfilter and colors modified to avoid frequent trend changes.
Update July 3, 2012: Serialization of display options changed. This will make it simpler to call the indicator from other indicators or strategies.
True multi color plotting is available in NT7 so it is no longer necessary to use the ridiculous workaround of switching between three different colored plots. Therefore I have correctly implemented multi-color plotting in this version of the ADXVMA that was posted over a year ago. There is no way it can ever repaint anything, no matter what style of line is plotted.
Requested by VIP user. This ADXVMA adds the ability to not re-paint 1 bar back if the plot style is not a line. So if you use Lines, they will repaint to connect the plots (like normal). But if you use something else, like Dots, they will not repaint.
Mike
COMPATIBILITY:
NinjaTrader 6.5: YES
NinjaTrader 7.0: YES (tested by sam028)
I added a new bar sound (sound that you can turn on / off to
alert you to the formation of a new price bar - I find this helpful, as I am not
always facing my monitor & like to hear when a new price bar forms), background colors (blue for long / red for short), which you can also turn on or
off & change to suit your preference. Hollow Candelstick Bars (some folks have requested this CandleStick type. OHLC and HI/Lo will still show solid.
Other than that, it works just the same as the original ADXVMA Alerts V1.05.
August 4th, 2015 01:30 PM essiar Good indicator but a bit buggy. Does not always sound the diamond alerts and I'm not sure why. Other than that, extremel
y useful.
August 3rd, 2015 01:18 PM zionj TNX, GREAT Indicator
July 5th, 2012 12:28 AM mmtrader4 This indicator is about as good as it gets. ADXVMA Alerts used along with anaSuperTrendU11 is as close to the grail as t
here is. So as to not clutter my chart, I use ADXVMA in a separate panel. It keeps me out of chop and warns of coming t
rend. If you'd like a screenshot or two let me know. (and I'll promise to pick a bad day to show how well it works even
on tough days)
a BIG THANKS!!
July 5th, 2012 12:26 AM mmtrader4 This indicator is about as good as it gets. ADXVMA Alerts used along with anaSuperTrendU11 is as close to the grail as t
here is. So as to not clutter my chart, I use ADXVMA in a separate panel. It keeps me out of chop and warns of coming t
rend. If you'd like a screenshot or two let me know. (and I'll promise to pick a bad day to show how well it works even
on tough days)
a BIG THANKS!!
May 26th, 2012 06:42 PM Fame787 Thanks for sharing. It's a good guide in day trading.
Does anyone know what the diamonds are used for - reversal points / bollinger squeezing with keltner?
Thanks!
February 26th, 2011 03:05 PM Ducman Great indicator to avoid a lot of heat during trading. Thanks to you and all the others involved creating or updating th
e indicator.
November 3rd, 2010 10:35 AM BarOne How do you import the into Ninjatrader 7 or 6.5?
October 4th, 2010 07:59 AM senna12 Thanks for sharing this!
October 4th, 2010 02:00 AM tradermav Thanks for sharing. Excellent work.