I have created a simple indicator that "paints" regions on the chart based on ADX and EMA.
Very Simple algorithm:
Chart paints regions only when ADX is above a customizable level. Default is 15.
Region Color Green: ADX Rising; EMA Rising (Potentially Bullish Trending)
Region Color Blue: ADX Falling; EMA Rising (Potentially Reversal)
Region Color Red: ADX Rising; EMA Falling (Potentially Bearish Trending)
Region Color Yellow: ADX Falling; EMA Falling(Potentially Reversal)
You can use this indicator as a means of confluence with other strategies you may have.
I am new to this forum and my first attempt at publishing my program. Hence I am not aware of all caveats that I need to include here. But this is merely an indicator that portrays ADX Value and EMA Value movements. This is not by any means a suggestion to trade !!
Please provide your feedback and suggestions. Would appreciate that.
This is a variation of the CCI indicator that also takes inputs from ADX and Bollingerbandwidth. You can change any of the parameters for the inputs. The indicator looks a lot like the CCI indicator except on big moves and trending moves, where the ADX and bollingerbandwidth give extra weight to the indicators movement.
Update:
here's the code snippet for entry signals for a strat based on this indicator crossing above and under the zero line (with adxperiod, bbwidthperiod and cci period all set at 20 and stdev set at 2. You can screw around with the setting):
October 27th, 2012
Size: 9.10 KB
Downloaded: 932 times
1285
minsalaco
This is a slightly improved ADX indicator which colors the indicator different colors for above & below a threshold. This makes it easy to see if the ADX is above a threshold. I use it to stop trading when price isn't trending.
COMPATIBILITY:
NinjaTrader 6.5: YES
NinjaTrader 7.0: YES (tested by sam028)
With the help of mrLogik at purelogiktrading.com, the attached iADX turns magenta when the ADX is above the 50 threshold. (I use a very short setting of 5 for daytrading/scalping.) The parameters for the threshold and colors can be changed in the indicator window. Red histogram bars for downtrend, blue histogram bars for uptrend.
This ADX version is based on JeffsADXv2, I add to it rising and falling strength alerts with adjustable threshold and various visual options for convenience.
October 14th, 2011
Size: 8.28 KB
Downloaded: 2496 times
1018
Erez
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: 559 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.
January 26th, 2015 02:26 AM JoyNinjaTrader thank you Minsalaco... nice idea and good indicator, plotted it on the chart, works well
May 4th, 2013 05:22 AM GILAZ Hello ,
I ve started working with ADX. but with the combination Bollinger Band
it will be very interesting.
THANK YOU!
April 28th, 2013 05:42 AM Herbert Thank you
October 30th, 2012 06:48 AM mannya Excellent indicator!! One suggestion is adding color to the zero line crosses.
Thanks again.
October 27th, 2012 12:29 PM minsalaco forgot to mention, I found that using this indicator for entries or exits based on the crosses over and under of the zer
October 1st, 2022 04:05 PM Buscador Thanks for sharing
June 20th, 2021 07:53 AM bluedot thanks, appreciated!
November 9th, 2019 05:45 AM Phc1 I think it's better to use the DM indicator as basis , it has the advantage of having the ADX and the DM in combo , wher
e the DM shows momentum as Peter1 mentioned probably . took 2 screenshots :
-https://www.screencast.com/t/TkuRYjY96
-https://www.screencast.com/t/SrMkoaCB1XZK
https://www.investopedia.com/terms/a/adx.asp
November 9th, 2019 05:32 AM Phc1 I share Kcrawford's opinion :
Not bad, but a couple of things:
1) people should be able to change whatever colors to whatever they want
2) set the EMA so that it also can be adjusted, people are going to tinker with it, and want to.
3) set the ADX itself to the range they want there to,
THEN your indicator is complete and everyone can adjust it how they want.
November 8th, 2019 05:20 PM renvik Thanks for your effort.