مؤشر متوسط الحركة الاتجاهية
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
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
Money Flow Indicator (Chaikin Oscillator) Strategy Indicator plots Money Flow Indicator (Chaikin). This indicator looks
to improve on Larry William's Accumulation Distribution formula that
compared the closing price with the opening price. In the early 1970's,
opening prices for stocks stopped being transmitted by the exchanges.
This made it difficult to calculate Williams' formula. The Chaikin
Oscillator uses the average price of the bar calculated as follows
(High + Low) /2 instead of the Open.
The indicator subtracts a 10 period exponential moving average of the
AccumDist function from a 3 period exponential moving average of the
AccumDist function.
WARNING:
This script to change bars colors.
[naoligo] Simple ADXI'm publishing this indicator just for study purposes, because the result is exactly the same as DMI without the smoothing factor. It is exactly the same as ADX Wilder from MT5.
I was looking for the algorithm all over and it was a pain to find the right formula, meaning: one that would match with the built-in ones. After several study and comparison, I still didn't find the algorithm that match with the MT5's built-in simple ADX ...
Enjoy!
Average Directional Movement Index Rating The Average Directional Movement Index Rating (ADXR) measures the strength
of the Average Directional Movement Index (ADX). It's calculated by taking
the average of the current ADX and the ADX from one time period before
(time periods can vary, but the most typical period used is 14 days).
Like the ADX, the ADXR ranges from values of 0 to 100 and reflects strengthening
and weakening trends. However, because it represents an average of ADX, values
don't fluctuate as dramatically and some analysts believe the indicator helps
better display trends in volatile markets.
KK_Average Directional Index (ADX) Higher TFHey guys,
sometimes you just want to plot an Indicator value from a higher Timeframe on your Chart. For most Indicators this is pretty straightforward however there is one Indicator that has been giving me quite a headache while trying to do this: The Average Directional Index . Anyway after going through almost 200 versions of this script I finally found a solution that works and thought I would share this with you, since I'm sure some of you have encountered the same problem.
How it works
Go to your desired Instrument/Timeframe and add the Script
Under Settings in the field for "Higher ADX TF" put the Timeframe-code you want to pull the ADX Values from.
- Codes: Monthly - M, Weekly W, Daily - D
- Codes Intraday: The amount of hours in minutes, e.g. if you want to pull values from the 4h-Chart the code is 240 (60 for 1h, 15 for 15m ...)
In some cases (see below) the calculation might not be correct. So make sure the values are correct:
a) Write down the latest ADX of the higher TF while you are on the lower TF
b) Switch the Resolution to the higher TF
c) Compare the value you have just written down to the next to last value. They should be the same.
d) Switch back the Resolution to the lower TF and you're good to go.
Limitations
You can only pull values from higher Timeframes, e.g. you're on a 4h Chart, so you can only pull values from the Daily, Weekly and Monthly Chart. You can't pull values from the 1h Chart.
You can only pull values from Timeframes, where the higher Timeframe Close always has a corresponding Close on the lower Timeframe, e.g. you can't pull values from the 3h Chart when you are on a 2h Chart. This should be pretty rare.
The Script needs a certain amount of Data from the Higher TF before the calculated values are correct. I have tested this on several Instruments and the Script usually needs approximately 100 Bars on the higher Timeframe (often less) for the values to be correct (error < 1%).
So when the difference between your lower Timeframe and you higher Timeframe is large, e.g. you want to pull the Daily ADX value on a 15m-Chart, the calculation can be wrong. This can lead to errors in 2 Cases:
a) Backtesting: When you go over old data and get close to the last available Bar the Data will be wrong. This will limit the amount of data you can backtest.
b) Live values: When the difference between the two Timeframes is too large, it is possible that even live values are wrong, e.g. this will be the case when you are trying to pull the Daily ADX value on a 5 minute Chart. Always check if the calculation works with your desired combination of Timeframes before using it (see above).
I hope this is useful for you and whish all of you successful trading!
Best regards
Kurbelklaus