Directional Movement Index + Average Directional IndexPersonal DMI and ADX script
ADX color change from positive vs negative momentum
DMI Color fill based on DMI+/- positive momentum
No fill color during lack of momentum
Average Directional Index (ADX)
(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!
RSX-D [ID: AC-P]The "AC-P" version of Jaggedsoft's RSX Divergence and Everget's RSX script is my personal customized version of RSX with the following additions and modifications:
LSMA-D line that averages in three LSMA components to form a composite, the LSMA-D line. Offset for the LSMA-D line is set to -2 to offset latency from averaging togther the LSMA components to form a composite - recommended to adjust to your timeframe and asset/pair accordingly.
Divergence component from JustUncle, RicardoSantos, and Neobutane divergence scripts
Crossover indication and alerts for Midline, and custom M1 and M2 levels for both RSX and the LSMA-D line from Daveatt's CCI Stochastic Script
EMA21/55 zone cross highlighting option
SMA9/EMA45 MA option from my RSI sma/ema Cu script
Libertus Divergences and Pivot labels from Jaggedsoft's RSX Divergence script are hidden/off by default
Designed for darkmode by default. Minor visual changes from Jaggedsoft's and Everget's script(s) for darkmode and visual aesthetic.
Please Note:
Divergences that use fractal-based detection logic, offset, or a combination of both generally have a 1-2 bar/candle lag. This is an INHERENT limitation of divergence detection with fractals and offsets. Divergences generally will have a higher strikerate on HTF than LTF due to the 1-2 bar lag. While I'm not going to rule out a programming solution or math construct/formula that attempts to alleivates the 1-2 bar lag for divergences, this script is not it - please keep that in mind when using divergence components with a fractal base and offset.
LSMA-D is a composite of three LSMA lines, all with offset options. Different lengths and Offset values can compensate/adjust for the smoothing/latency from RSX, but only up to a certain point. For each LSMA, the least square regression line is calculated for the previous time periods, so the idea is that with finely tuned adjustments, you can get crossover/crossunder signals from the RSX with the LSMA-D line that you simply can't get with the SMA9/EMA45 due to the already smoothed RSX.
The defaults for the RSX and various components for the LSMA-D here will MOSTLY LIKELY NOT WORK OR BE APPLICABLE to every timeframe and asset that you trade - adjust, backtest, and test accordingly. The defaults are here are MEANT to be adjusted to the asset class and timeframe that you are trading.
If you're not familiar with the LSMA, tradingview author Alexgrover has a few great scripts that go into detail how the LSMA works, in addition to different interpretations and implementations of the LSMA.
References/Acknowledgements:
//@version=4
// Copyright (c) 2019-present, Alex Orekhov (everget)
// Jurik RSX script may be freely distributed under the MIT license.
//
//-------------------------------------------------------------------
// Acknowledgements:
//---- Base script:
// RSX Divergence — SharkCIA by Jaggedsoft
//
// Jurik Moving Average by Everget
//
//---- Divergences/Signals:
// Libertus RSI Divergences
//
// Price Divergence Dectector V3 by JustUncle
//
// Price Divergence Detector V2 by RicardoSantos
//
// Stochastic RSI with Divergences by Neobutane
//
// CCI Stochastic by Daveatt
//
//---- Misc. Reference:
// RSI SMA/EMA Cu by Auroagwei
//
// CBCI Cu by Auroagwei
//
// Chop and explode by fhenry0331
//
// T-Step LSMA by RafaelZioni
//
// Scripts by Jaggedsoft for structure and formatting
// Scripts by Everget for structure and formatting
//-------------------------------------------------------------------
// RSX-D v08
// Author: Auroagwei
// www.tradingview.com
//-------------------------------------------------------------------
DAX Shooter 5M StrategyThis is a simple strategy that applies very well for scaling indices to 5 minutes especially for the DAX. The algorithm provides for buying or selling when the market is very "pulled". The rules are as follows:
you buy when:
1- The ADX indicator with the standard settings is greater than 32.
2- the RSI indicator set to 7 periods is crossing upwards the oversold line at 30
3- the candle minimum is lower than the lower band of bollinger bands set to 50 periods.
is sold when:
1- ADX indicator with standard settings is greater than 32.
2 - the RSI indicator set to 7 periods is crossing downwards the overbought line at 70
3- the maximum of the candle is higher than the upper band of the bollinger bands set to 50 periods.
Money management is at the discretion of the trader but usually it is better to set a fixed stop loss and a take profit on reaching the opposite bollinger band.
Enjoy trading at all!
ADX Di+ Di- [Gu5]Fill indicates Strong Trend
Cross indicates End of Trend
--
El relleno indica una fuerte tendencia cuando el Di supera "Level Trend"
El cruce de Di+ con Di- indica el fin de la tendencia
Cuando el valor del ADX es menor a "Level Range", estamos en Rango
London_NYThis is a session indicator that is one color from beginning of London Session to end of New York Session.
ADX indicatorUsed for trendanalysis - fill colors give the user an idea of trend direction - and/or shift in trend.
Enjoy
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