[WJ] - ADX v2 [DMI, Alerts, Histogram, Customizable]A handy all-in-one package for DMI and ADX
Color-coordinated line for DMI with an EMA and histogram to gauge momentum, mark potential reversals, and quickly gather all the information you need to make your decisions.
Quick take-aways:
- Color of the ADX line indicates the current trend
- An ADX below the EMA indicates a potentially falling/reversing trend
- Customizable line w/ alerts for ADX crossovers
- Histogram to help catch potential reversals faster, and to gauge the momentum
Please let me know what you think, and in any features you think would increase the effectiveness of this amazing tool.
DMI
Directional Movement IndexThis is a standard ADX DMI indicator with Background colour and the option to draw the Background colour of the next higher timeframe.
Directional Movement Oscillator (DMI)The DMI Oscillator is a technical indicator which uses values of DMI in order to predict miscellaneous sides of market behavior.
Two components of DMI are used in calculation: DI+ and DI-; the DMI oscillator calculates the difference between these components and represents it as both a line and a histogram.
According to the rules described by Barbara Star in her article "The DMI Stochastic", the following market conditions can be predicted:
When the oscillator is positive and decreasing, a consolidation or pullback might take place. When price is in uptrend and the oscillator is positive but makes lower highs, a bearish divergence might be identified.
Conversely, when price is in downtrend and the oscillator is negative but keeps moving up, a bullish divergence might take place.
Trend continuation might be identified when the oscillator moves to the zero line and then rebounds from it.
In quiet markets, oscillator values fluctuating near the zero line (approx. -10 to +10 range) might signify sideways or rangebound price action.
ADX | DMI Trend StrategyThis strategy takes the ADX Indicator I wrote and applies it to a strategy for back testing purposes.
I've also applied a date filter so you can back test specific date ranges and a moving average filter so you can choose whether to filter your longs/shorts based on a moving average.
unRekt - KISS AddieKISS Addie is the ADX and DI+- indicator and is part of the 'keeping it simple' series. ADX is your Average Directional Index and DI is you Directional Movement Indicator.
ADX - Will show the strength of the trend regardless of direction.
00 - 10 : No trend
10 - 20 : Transitioning trend
20 - 40 : Trending
40 - 99 : Exhausted (Can also be considered a stronger trend the higher it goes, but look to exit position once it begins to downward slope and pay attention to DI spread)
DI - Will show the direction of movement. This indicator includes two views of the DI. the DI+ and DI- crossover and a histogram of the spread between the two.
Bullish : Green crosses over red.
Bearish : Red crosses over green.
Directional Movement Index TrendThis DMI I modified to see the trend more clearly, and the ADX line changes according to the trend force, which is perfectly configurable, the configuration I left my default configuration, in case you want to modify it because you see the trend in different values, feel free, and basically the columns are the average of DI and also indicate the trend more clearly.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Esse DMI eu modifiquei para ver a tendência com maior clareza, e a linha do ADX ela muda de acordo com a força de tendência, a qual é perfeitamente configurável, a configuração eu deixei a minha configuração padrão, caso você queira modificar porque você vê a tendência em valores diferentes, sinta-se livre, e basicamente as colunas são a média de DI e indicam também com mais clareza a tendência.
Wolfs ADX + DII have created an alternative visualisation of the ADX + DI indicator created by MasaNakamura, credits to them for providing the source code! :-)
The histogram represents the distance between the DI+ and the DI-. The crossing of the histogram is equal to the crossing of the DI lines.
The ADX line is coloured based on the threshold.
This creates a clean representation of the ADX + DI.
DMI + ADX + OBVThis trend following indicator is made up of 3 parts.
A normalized (OBV) On Balance Volume (the gray line) which ranges between -100 and 100 and has a 55 period SMA overlayed (the orange line) to give an indication of the overall trend as far as volume goes.
- If the volume decreases without a drop in price, it might indicate a move down.
- If volume increases without a rise rise in the price, it might indicate a move up.
The (DMI) Directional Movement Indicator which shows the strength of the bulls versus the bears.
- The red line measures how strongly price moves downwards.
- The green line measures how strongly price moves upwards.
One way to trade this is on crossovers e.g.when the green line crosses the red; although it's best to combine this with another indicator or pattern for confirmation.
Another useful feature of the DMI is the ability to see strength of buyers and sellers pressure at the same time, acting as a confirmation before entering a trade.
The third way to use the DMI is when price makes a new high but the green line does not. (Or the price makes a new low and the red line doesn't) This is known as divergence and should act as a warning to tighten your stops or take profits because it signals a possible change of direction.
The last part of the indicator is the (ADX) Average Directional Index
This is the blue line and shows the strength of the trend regardless of direction. This can act as a confirmation for the DMI or other indicators in your trading system.
When the blue line is:
- above the green shaded area there is an extreme trend.
- in the green shaded area there is a very strong trend.
- in the yellow shaded area there is a strong trend.
- below the yellow shaded area there is no trend.
Combo Backtest 123 Reversal & Dynamic Momentum Index This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
This indicator plots Dynamic Momentum Index indicator. The Dynamic Momentum
Index (DMI) was developed by Tushar Chande and Stanley Kroll. The indicator
is covered in detail in their book The New Technical Trader.
The DMI is identical to Welles Wilder`s Relative Strength Index except the
number of periods is variable rather than fixed. The variability of the time
periods used in the DMI is controlled by the recent volatility of prices.
The more volatile the prices, the more sensitive the DMI is to price changes.
In other words, the DMI will use more time periods during quiet markets, and
less during active markets. The maximum time periods the DMI can reach is 30
and the minimum is 3. This calculation method is similar to the Variable
Moving Average, also developed by Tushar Chande.
The advantage of using a variable length time period when calculating the RSI
is that it overcomes the negative effects of smoothing, which often obscure short-term moves.
The volatility index used in controlling the time periods in the DMI is based
on a calculation using a five period standard deviation and a ten period average
of the standard deviation.
WARNING:
- For purpose educate only
- This script to change bars colors.
Combo Strategy 123 Reversal & Dynamic Momentum Index This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
This indicator plots Dynamic Momentum Index indicator. The Dynamic Momentum
Index (DMI) was developed by Tushar Chande and Stanley Kroll. The indicator
is covered in detail in their book The New Technical Trader.
The DMI is identical to Welles Wilder`s Relative Strength Index except the
number of periods is variable rather than fixed. The variability of the time
periods used in the DMI is controlled by the recent volatility of prices.
The more volatile the prices, the more sensitive the DMI is to price changes.
In other words, the DMI will use more time periods during quiet markets, and
less during active markets. The maximum time periods the DMI can reach is 30
and the minimum is 3. This calculation method is similar to the Variable
Moving Average, also developed by Tushar Chande.
The advantage of using a variable length time period when calculating the RSI
is that it overcomes the negative effects of smoothing, which often obscure short-term moves.
The volatility index used in controlling the time periods in the DMI is based
on a calculation using a five period standard deviation and a ten period average
of the standard deviation.
WARNING:
- For purpose educate only
- This script to change bars colors.
RedK_Directional Index / K xDMIHere's a modern take on the famous DMI/ADX. i first wrote this on another platform few years ago, so i'm happy to be able to share it on TradingView
quick refresher: what does DMI/ADX tell us:
------------------------------------------------------
in simple terms, at the core of this indicator, there are 3 main calculations / lines: the Plus Directional Index ( +DI ) which represents how much the bulls are able to push the high of a bar compared to previous one, the Minus Directional Index ( -DI ), showing how much the bears are able to push the low of a bar from previous one, then the Average Directional index ( ADX ) line, which creates an oscillator of the +DI and -DI to represent the strength of a trend -- usually the lines will be colored accordingly (bulls = green, bears = red, and any different color for the ADX )
Similar to my version of the RSI , we take a classic concept, then use the computing and visualization "super powers" available to us today, to extend and improve on what those masters created in the past. I guess they sort of expected us to do exactly that :)
this "extended" version of DMI/ADX provides couple of highly needed features (in my opinion) -- let's explore:
trying as much as possible to avoid jargon - pls forgive me if i failed in some places.
-------------------------------------------------------------------------------------------------
1 - the big change: the ability to visualize the ADX in a way that makes some more sense.
- the original calculation restricted the ADX to oscillate below zero - i'm sure they had a good reason to build it that way in the past - but to me, it becomes super hard to interpret what the ADX line means, especially when a negative trend (the bears) take over. by removing that restriction and allowing the ADX to oscillate up or down (and we're free to do that, so the indicator shows *us* what *we need* to see), we end up with an improved representation of the trend and the trend strength.
- also the original calculation applies a moving average (default 14 bars) of a moving average (another 14 of the Directional Indexes, which represent the strength of bulls vs bears) to calculate the ADX - that makes the ADX very "removed" from the base price values - i change that, and just smooth the initial +Di / -Di then calculate the ADX from there. again, this shows me the outcome of the (relatively) immediate moves.
2 - i use weighted average WMA () in all my averaging calculations .. i believe this type of average is the best to express the importance of recent days / bars vs the ones further in the past, compared to other averaging techniques
3 - ability to make the DMI volume-weighted .. but contrary to my RSI , this is not set by default.
4 - couple of options to view the unrestricted ADX (as an area or as histogram/columns .. which i call Vertical Bars) for improved visualization
other stuff:
5 - a "step" option for the ADX .. you can set the step option to an increment of, say 5 or 10. this is in case you prefer to see the trend more in "quality" terms - so the equivalent of weak, medium, strong, v. strong...etc -- since in reality, a number like 47.7683 doesn't really mean anything specific
6 - optional "strong trend" adjustable level
Settings & usage suggestion:
-----------------------------------
i prefer to use the defaults (length = 7, smoothing = 3, ..etc) -- i believe these are more suitable to the much faster trading that we have now. you can review the comparison chart and see if this works for you, and adjust as you need.
from a "signal" standpoint, you can use the xDMI as you use the classic DMI/ADX, bulls (or bears) are in control when the corresponding DI line crosses the other going up, *AND* moving above the "strong trend" level that you can set as an extra filter (usually a value between 20 to 30), while ADX will show the quality/strength of the trend.
i suggest you also utilize this indicator with other trend / momentum confirmation methods, and additional analysis and not in isolation - as well as inspecting the prevailing / longer time frame to ensure you're acting in the direction of the broader move / trend.
the above chart includes a side-by-side comparison between our new xDMI with the classic DMI/ADX using the same settings - then we add at the bottom panel also the xDMI, but with my default (faster) settings and showing other visualization options that can be utilized - the Moving Averages on the top / price panel is just to help put the price movement into perspective in terms of trend and trend strength.
The code is open and commented - please feel free to use, share, comment & provide feedback. if you're a DMI fan, and you find this useful in your trading, i would be more than happy to hear about it
Good luck!
BlueswimmerdoespineSharing to learn and to help others.
Any feedback on layout/structure/shortcuts will always be appreciated.
Simple indicator for close of candle above or below EMA with ROC and CO acting as a filter.
DMI-adxNothing special here
I just play with the formula of ADX and DMI that give this indicator which is combination of both
above zero =bullish
bellow zero =bearish
seems nice to spot trending
Trend-Following Combo-SuperTrend, EMA, Aroon, DMI, Laguerre RSIThis is a trend-following indicator which condenses two SuperTrend indicators -- one based on analysis over a shorter period of time (1.5, 7), and one based on analysis over a longer period of time (1.65, 100) -- into a single indicator which appears on your chart only when both the shorter- and longer-term analysis indicates a "SuperTrend" in the same direction.
Additionally, potential trade entry indicators are displayed in the form of up and down arrows when (by default) three of the following five indicators suggest that the market is trending in the same direction as both the shorter- and longer-term SuperTrend indicators:
EMA Crossover (8, 15)
Aroon Indicator (8)
Aroon Oscillator (8)
Directional Movement Index (DI +/-) (8)
Laguerre RSI (13)
You may update the parameters of any of the indicators to match your own preferences.
Additionally, you may also adjust the "Threshold" of indicators that must be in agreement with the SuperTrend to show a potential trade entry arrow. Bear in mind that if you set the Indicator Threshold too low, you will see more frequent trade entry arrows, many of which will not be profitable if taken. Similarly, set this value too high, and you will see fewer trade entry arrows that may not appear until after most of the "juice" in the trend has evaporated. Ideal values for the threshold seem to be between 2-4, depending on the symbol you are trading.
The following image shows all of the indicators referenced above on a 5-minute chart of the SPY during a single trading day:
And, here is the same period of time showing only the Trend-Following Combo indicator with default settings:
This indicator would not have been possible save for work contributed by the following:
SuperTrend by Rajandran R
Aroon w/ crossovers highlighted by seiglerj
Aroon Oscillator by jcrewolinsky
Directional Movement Index by TradingView
Laguerre RSI (Self Adjusting Alpha with Fractals Energy) by everget
(JS)DMI BarsAlright - so this is my own version of John Carter's "10x Bars"... I have done multiple things that are different from his version so they are slightly different..
So first of all the main indicator is based off of the ADX and the DMI;
For those who aren't familiar with it, Directional Movement is what you'd pull up under "built-in's" from the indicators tab (if you want to check it out).
The standard interpretation of this however, is when the ADX is above 20 that suggests the trend is strong, whereas under 20 suggests it is weak.
Also, when the D+ is above the D- that suggests a bullish trend, and D- above D+ suggests a bearish trend.
These bars take away the need to have it at the bottom of your screen, and places the data on the bars on your chart instead.
=========================================================================================================================================
So here's what the colors stand for -
Yellow - The ADX is under 20, no strength in trend
Shades of green occur when the ADX is above 20 and there's a bullish trend (D+ higher than D-)
Bright Green (Lime) - Bullish trend, D+ above 30
Green - Bullish Trend
Yellow Green - Bullish trend, D+ below 15
Shades of red occur when the ADX is above 20 and there's a bearish trend (D- higher than D+)
Bright Red - Bearish trend, D- above 30
Red - Bearish Trend
Orange - Bearish trend, D- below 15
=========================================================================================================================================
I have also added multiple time frame labels (label script used is the one created by Ricardo Santos)
These labels are color coded the same as the bars/candles, and they appear off to the right of your screen using every built in time increment from TradingView.
The purpose is to show you in real time, and on any chart resolution, what the current trend is on every individual time frame.
So using just one single chart you'll see your current resolutions candles, but also on the labels you'll see:
1 Minute
3 Minute
5 Minute
15 Minute
30 Minute
45 Minute
1 Hour
2 Hour
3 Hour
4 Hour
Daily
Weekly
Monthly
There is an input I added that allows you to adjust where your labels appear on the side of your screen as well!
=========================================================================================================================================
Now onto the volume spike portion of the indicator. This will plot a blue dot under each bar that has a spike in volume which meets your specified criteria.
I have 500% as the default setting.
What that means is that this indicator looks back and gets the 50 bar volume average and then applies dots where volume is 500% above average.
=========================================================================================================================================
Now finally, the reversal arrows. This is another simple to understand concept that I first read in John Carter's book "Mastering the Trade" that he calls "HOLP/LOHP".
I have added the ability to change the look back period you'd like the indicator to watch for highs and lows on.
What that stands for is 'High of Low Period' and 'Low of High Period', and it is used like this-
Whenever a bar makes a new high the indicator watches the low on that highest bar. Then when a bar afterwards makes a lower low then the one on the high bar,
a reversal arrow is given. Apply this same concept in the other direction in for the highs on the lowest bars.
=========================================================================================================================================
Now, I didn't want to make a "set" or have a bunch of different indicators out there that are all intended for the same package, so I took the time to put them together,
and if there's a part of it you don't care for they can easily be turned off in the settings.
Enjoy!
Combo Backtest 123 Reversal & DMI & Moving Average This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
The related article is copyrighted material from Stocks & Commodities Aug 2009
WARNING:
- For purpose educate only
- This script to change bars colors.
Combo Strategy 123 Reversal & DMI & Moving Average This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
The related article is copyrighted material from Stocks & Commodities Aug 2009
Combining DMI And Moving Average Trading System
WARNING:
- For purpose educate only
- This script to change bars colors.
ADX Free-The line control represents, if the ADX is greater than the line of 20, the price trend is considered strong, some people increase it to 25
-Dynamic adx color to better differentiate movements
RSI_DMI [ALionTrading] indicator / trading strategyThis BINANCE:BTCUSDT
This indicator uses RSI and adds it to +DI from the DMI indicator and plots the new value, when the value crosses the High line ==> Buy signal, close the trade based on EMA(20) value
Trend Monster HeadquartersADX-DMI enhanced & modified for faster reaction
ADX (black line) above 80 = mega-trend peaked, reversal imminent, rare case scenario
ADX (black line) above 60 = trend topping out, reversal possible, depending on other indicators
ADX (black line) above 25 threshold = trend strenghening
DMI- (red line) - above 25 - bear trend strenghening
DMI+ (green line) - above 25 - bull trend strenghening
DMI- (red line) - coming off the bottom - bull trend weakening
DMI+ (green line) - coming off the bottom - bear trend weakening
DIOSC indicatorThe Diosc indicator based on DMI is the combined version of -DI and +DI. While +DI is above (the trend is up), +DI is used and in the other case -DI is used. In addition, 9-day EMA was added to the graph so that sell/buy points could be seen on the histogram. Both sell/buy points and divergence/convergence can be followed on the graph.
Temeli DMI üzerine kurulmuş Diosc göstergesi -DI ve +DI'ın birleştirilmiş halidir. Temel mantığı +DI yukarıda iken yani trend yukarı iken +DI, diğer durumda da -DI göz önüne alınarak grafik oluşturulmuştur. Ek olarak Al-Sat noktalarının histogram üzerinde görülebilmesi için de grafiğe 9 günlük EMA eklenmiştir. Grafik üzerinde hem Al-Sat noktaları takip edilebilir hem de uyuşmazlıklar takip edilebilir.