Average Directional Index (ADX)
ADX GapperBased on the ADX Gapper strategy described in the book Street Smarts, it looks to exploit retracement to a prevailing trend when there has been a gap away from the trend, giving you multiple potential entries. It uses the ADX to determine a trend and detects when there is a gap to signal an entry day where:
You would enter short if the DI-(red line) > DI+ (green line), ADX (blue area) > 30 indicating a strong trend and if there is a gap up from the previous day. If all the described conditions are met then you would place a short stop at the previous day highs and trail a stop until the end of the day. This strategy is meant to give you trades to hold for 1 day (the day you enter) or 2 days if you consider you should hold it overnight.
ADX and DI With Coloured Histogram BUY/SELLWe display here the ADX has a colored histogram, which is
- green when ADX and DI+ are higher then DI-, while the ADX is increasing, meaning that we are in a potential uptrend--> we should rather be long (only buy if you have other concordant signals !)
- red when ADX and DI- are higher then DI+, while the ADX is increasing, meaning that we are in a potential downtrend --> we should rather be short (only sell if you have other concordant signals !)
- not visible if none of these conditions are met, meaning that the indicator do not show a potential trend --> don't use this indicator to buy or sell at this stage
Zero Lag ADX [jwammo12]This uses Zero lag principles to ADX. The cyan line is the zero lag line and the grey line is the traditional ADX
Momentum and Trend Strength Entry Exit Pivot StudyUpdated version of previous Momentum Strength Entry Exit Pivot Study:
//************************
// @TheGeeBee - Credit where used
//
//Notes:
//
// Use 1,2,3,5 minute timeframes
// EMA Cross line and offset allows user to alter the sell characteristics where the candle low is above the EMA line and indicates a possible pre-pivot reversal
// Adjust Min and Max pivots based on risk profile
// Single Candle drawdown value represents the maximum size of a single red candle before an Exit Pivot is generated
// ADX Threshold inhibits Pivots when trending signal is below the threshold value
// Percentage Max drawdown since Entry Pivot allows the system to generate an Exit Pivot if the security has dropped X percent from the most recent Entry Pivot point
// Use Bars, Candles (preferred) or Heikin-Ashi
// Multiple Green Bars = BTFD
// Multiple Red bars = If you didn't already get out, do it now!
//
//************************
Allows for Alerts to be set for Entry and Exit Pivots.
ADX & DI in one lineThis is the standard ADX & DI indicator, but combined in a single line, changing color when a trend changes and changing value when the trend is strong.
ADX +- DiThis Adx +-Di is just a complete version of what the ADX is supposed to signal.
So you have:
15 (contraction), 20 (threshold), 30 (expansion), 40 (resistance) levels.
Below 20 the price is not trending
Above 30 the price is trending
Below 15 price has been in contraction for too long
Between 20 and 30 price is in a "transition zone".
I finally added a "Resistance" level (40), which has to be adapted to best represent the historical levels where price usually encounters resistance, and where the price can be declared "overtrending", which means a return to lower levels is likely to happen.
I've chosen mild colors, and set the Adx Color to White, because I use black background, you can easily change that.
Enjoy
-Maurice
ADX & DI HistogramThis bad boy shows the same info as a normal ADX & DI but I've endeavoured to remove a lot of the confusion. I also added red/green colour gradients to show how much ADX is trending, the darker the colour, the stronger the trend. This should help to avoid the upsidedowniness and confusion I've always found with the original. I made this a while ago and have made a few changes recently but I can't remember where I go the basic ADX code from, so credit to whoever that was. Enjoy
ADX & DI trend exhaustionAn EMA is applied to the ADX in order to catch the exhaustion of a trend (i.e. ADX line crossunder EMAADX line) or the possible formation of a new one. In the first case, we would wait a confirmation signal, which happens when the crossunder has a value greater then 50. A new trend is created when the difference between the ADX and the EMAADX is positive, with ADX greater then 20. As confirmation, we would have the DI+ greater then 20 e the DI- smaller then 20 (this would trigger a bullish sentiment, bearish for the opposite), consequently the histogram will be display in green (red in the bearish case).
Average Directional Index-BuschiA simple modification of the built-in "Average Directional Index":
To identify wether there is an uptrend or a downtrend, the function color is conditional:
no trend: black
small uptrend (weak threshold): light green
big uptrend (strong threshold): green
small downtrend (weak threshold): light red
big downtrend (strong threshold): red
DMI ADX TREND 2.0 (edit by GeertVD)Edit of the popular script by @TraderR0BERT
New features:
- horizontal colored areas, indication weak/medium/strong trend
- vertical bars, signaling trend/momentum changes
- DI+ vs DI- contraction/expansion histogram (to measure the DI volatility)
5 in 1 (rsi,aroon,stoch,macd,adx di)5 indicators in 1.
You can choose wich one you want to see (rsi ,aroon,macd,stoch or adx di)
Usefull to save space for other indicators
ADX-DI MTF trend buffer - JDThe indicator gives a multiplication of ADX and the DI+ and DI-values, color coded for bullish or bearish momentum
the indicator was optimised for use with HA-candles, but works with regular candles as well
and shows general market direction en divergence in a simpler visual way than the normal ADX-DI lines
a threshold mask can be shown or omitted as preferred
version 3. the indicator is now plotted relative to the 200 ema and can be seen as a "buffer" against price reversal
The timeframe of the indicator can be the current one or custom selected but gives better visual information if a longer timeframe than the current one is used.
The colors can be changed to fit with "Dark mode" or "Light mode"
a scaling option is available to downscale the trend indication relative to the price bars
JD
Linda Raschke's Holy GrailAnother script based on Linda Raschke's strategy with the same name from her book about swing trading.
ADX-DI MTF trend indication - JD version 2Version 2 added support for MTF, to see the trend direction on the lower or higher timeframe.
As an example to see the difference, the indicator is added three times, one time for the current TF, one set at the higher and one at the lower TF.
Cudo's to Chris Moody for the MTF-switching-code!!
JD.
ADX-DI trend indication - JDThis indicator is based on the formulas in the original "ADX and DI" script of Masa Nakamuro
The indicator gives a multiplication of ADX and the DI+ and DI-values, color coded for bullish or bearish momentum.
The indicator was optimised for use with HA-candles, but works with regular candles as well and shows general market direction en divergence in a simpler visual way than the normal ADX-DI lines.
A threshold mask and the actual DI-lines kan be shown or omitted as preferred
JD.
ADX-DI trend indication - JDThis indicator is based on the formulas in the original "ADX and DI" script of Masa Nakamuro
The indicator gives a multiplication of ADX and the DI+ and DI- values, color coded for bullish or bearish momentum.
The indicator was optimised for use with HA-candles, but works with regular candles as well and shows general market direction en divergence in a simpler visual way than the normal ADX-DI lines.
A threshold mask and the actual DI-lines kan be shown or omitted as preferred
JD.
ADX and DI (Average Directional Index) - CORRECT FORMULASo... the popular version of "ADX and DI" shown on tradingview by masanakamura uses some wacky and incorrect formula for DI and uses SMA instead of the Wilder's MA that ADX/DI is supposed to use, and doesn't give the correct ADX and DI values. The Tradingview "Average Directional Index" uses the correct calculation but doesn't show DI+ and DI-. So, here it is with the DI+ and DI- visible. Enjoy!
Vertical Horizontal FilterVertical Horizontal Filter indicator script. This indicator was originally developed by Adam White.
ADX CandleCandles colors based on ADX and DI strength.
How to read:
ADX is less then 20 (adjustable value) is SILVER (no trend)
ADX >0 and DI delta (DI plus - DI minus) is >0 color LIME (trend up)
ADX>0 and DI delta <0 color RED (trend down)
ADX cross ADX Index ( adx+adx 14 period back)/2 color is BLACK and means start/end trend