Adaptive Average Vortex Index [lastguru]As a longtime fan of ADX, looking at Vortex Indicator I often wondered, where is the third line. I have rarely seen that anybody is calculating it. So, here it is: Average Vortex Index - an ADX calculated from Vortex Indicator. I interpret it similarly to the ADX indicator: higher values show stronger trend. If you discover other interpretation or have suggestions, comments are welcome.
Both VI+ and VI- lines are also drawn. As I use adaptive length calculation in my other scripts (based on the libraries I've developed and published), I have also included the possibility to have an adaptive length here, so if you hate the idea of calculating ADX from VI, you can disable that line and just look at the adaptive Vortex Indicator.
Note that as with all my oscillators, all the lines here are renormalized to -1..1 range unlike the original Vortex Indicator computation. To do that for VI+ and VI- lines, I subtract 1 from their values. It does not change the shape or the amplitude of the lines.
Adaptation algorithms are roughly subdivided in two categories: classic Length Adaptations and Cycle Estimators (they are also implemented in separate libraries), all are selected in Adaptation dropdown. Length Adaptation used in the Adaptive Moving Averages and the Adaptive Oscillators try to follow price movements and accelerate/decelerate accordingly (usually quite rapidly with a huge range). Cycle Estimators, on the other hand, try to measure the cycle period of the current market, which does not reflect price movement or the rate of change (the rate of change may also differ depending on the cycle phase, but the cycle period itself usually changes slowly).
VIDYA - based on VIDYA algorithm. The period oscillates from the Lower Bound up (slow)
VIDYA-RS - based on Vitali Apirine's modification of VIDYA algorithm (he calls it Relative Strength Moving Average). The period oscillates from the Upper Bound down (fast)
Kaufman Efficiency Scaling - based on Efficiency Ratio calculation originally used in KAMA
Fractal Adaptation - based on FRAMA by John F. Ehlers
MESA MAMA Cycle - based on MESA Adaptive Moving Average by John F. Ehlers
Pearson Autocorrelation* - based on Pearson Autocorrelation Periodogram by John F. Ehlers
DFT Cycle* - based on Discrete Fourier Transform Spectrum estimator by John F. Ehlers
Phase Accumulation* - based on Dominant Cycle from Phase Accumulation by John F. Ehlers
Length Adaptation usually take two parameters: Bound From (lower bound) and To (upper bound). These are the limits for Adaptation values. Note that the Cycle Estimators marked with asterisks(*) are very computationally intensive, so the bounds should not be set much higher than 50, otherwise you may receive a timeout error (also, it does not seem to be a useful thing to do, but you may correct me if I'm wrong).
The Cycle Estimators marked with asterisks(*) also have 3 checkboxes: HP (Highpass Filter), SS (Super Smoother) and HW (Hann Window). These enable or disable their internal prefilters, which are recommended by their author - John F. Ehlers . I do not know, which combination works best, so you can experiment.
If no Adaptation is selected ( None option), you can set Length directly. If an Adaptation is selected, then Cycle multiplier can be set.
The oscillator also has the option to configure the internal smoothing function with Window setting. By default, RMA is used (like in ADX calculation). Fast Default option is using half the length for smoothing. Triangle , Hamming and Hann Window algorithms are some better smoothers suggested by John F. Ehlers.
After the oscillator a Moving Average can be applied. The following Moving Averages are included: SMA , RMA, EMA , HMA , VWMA , 2-pole Super Smoother, 3-pole Super Smoother, Filt11, Triangle Window, Hamming Window, Hann Window, Lowpass, DSSS.
Postfilter options are applied last:
Stochastic - Stochastic
Super Smooth Stochastic - Super Smooth Stochastic (part of MESA Stochastic ) by John F. Ehlers
Inverse Fisher Transform - Inverse Fisher Transform
Noise Elimination Technology - a simplified Kendall correlation algorithm "Noise Elimination Technology" by John F. Ehlers
Momentum - momentum (derivative)
Except for Inverse Fisher Transform , all Postfilter algorithms can have Length parameter. If it is not specified (set to 0), then the calculated Slow MA Length is used. If Filter/MA Length is less than 2 or Postfilter Length is less than 1, they are calculated as a multiplier of the calculated oscillator length.
More information on the algorithms is given in the code for the libraries used. I am also very grateful to other TradingView community members (they are also mentioned in the library code) without whom this script would not have been possible.
Índice direccional medio (ADX)
Kahlman HullMA / WT Cross StrategyA strategy created using Hull Moving Average and WT Cross .
Hull Moving Average turns green and WT Cross crossover this is a long. Otherwise short.
Stop Loss and Take Profit settings are available. You can set it to the level you want or turn it off.
According to my measurements, it shows the best performance in the 4-hour period. But you can find the best settings that are correct from the Strategy settings.
ADeXtIt is an extended ADX and Direction Movement Index indicator with the following changes:
It shows a histogram instead of the DMI lines. If the histogram is green, the DMI+ is above DMI-, otherwise it is red.
You can specify a multiplier for the histogram values to check if values are above threshold. This way you can use the same threshold line as ADX to detect directional strength.
You can remove outliers from ATR calculations
You can use different MAs and sources for DMI and ATR calculations to make ADX more adjustable to different markets
It uses my ADExt library, so you can easily transfer your study to a strategy script.
ADX and DI+ v4.5 OptimizedThis script plots VWMA(ADX) vs EMA(DI+) under pre-set time frame.
Feature:
The Main Strategy is to look for potential BUY opportunity (Intraday trading, Session trading, Swing) when EMA(DI+) colored blue, entering upward into Green zone where ADX counterpart (default colored: Yellow) is also present.
Formula plot is also helpful to understand upcoming downtrend signal when both blue and yellow lines try to make diverted bifurcation like pattern on graph.
Disclaimer - This is an indicator script and not final Buy and Sell advice.
* Originally developed by © BeikabuOyaji and further extended & optimized by Bharat @imbharat to serve above features
ADX DINGUE v5This is the updated script for PinceScrip V5
3x DMI and ADX indicator into 1.
You can turn on and off all 3x DMI and all 3x ADX and or customize their settings manually.
I also added my 3 line system, which is a homemade calculation from the DMI lines (P+N), and instead turns them into a single line.
There are also several options for histogram, ADX line, crosses, colors, overextended ...
---------------------
In closing, no indicator can give perfect signals, you need to use them in conjunction with other information to make better decisions.
I hope you like my indicators and that they help your trading.
If you have any questions please ask.
Thank you.
Contrarian Scalping Counter Trend Bb Envelope Adx and StochasticContrarian Scalping is an trading strategy designed to take advanted of a counter-trend.
The advantage of these strrategies types is that they have a good profitability but with do not great gain (in relation at the time frame).
Indicators used:
Bollinger
Envelope
ADX
Stochastic
Rules for entry
For short: close of the price is above upper band from bb and envelope, adx is below 30 and stochastic is above 50
For long: close of the price is below lower band from bb and envelope, adx is below 30 and stochastic is below 50
Rules for exit
For short: either close of the candle is below lower band of bb or enveloper or stochastic is below 50
For long: either close o the candle is above upper band of bb or envelope or stochastic is above 50
If there are any questions let me know !
BTCUSDTPERP MEGABOT 60min [ALERTS VERSION]BINANCE:BTCUSDTPERP
Hello, this is my alerts version of BTCUSDTPERP MEGABOT 60min
THIS BOT IS ONLY FOR BTCUSDTPERP ON BINANCEFUTURES !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
This configs are only for this pair on this market,
It depends of volume , and others indicator
Bot is making amazing results at configs
TP - 4.5%
SL - 7%
Strategy using 4 indicators :
ADX
RSI
VOLUME
MACD
ADX - makes a solid view to trend without any scam wick :
Long only on green bars
Shorts only on red bars
That's helps my strategy to define a right trend
there is also a orange option for unidentified trends
RSI - value helps strategy to stop trade in right time
When RSI is overbought strategy don't open new longs
also when RSI is oversold strategy don't open new shorts
Volume - volume is the most important indicator for the strategy,
to avoid open trades on flat chart, new trades are open after a strong volume
wicks
MACD - this indicator is for define the trend
So the way this bot is working is simple
when every arguments are confirmed , then strategy open trades
Enjoy !!!
ADX Heatmap & Di's + Fib Referencial by [JohnnySnow]For quicker and easier interpretation, ADX line is displayed in a heatmap style. The more absolute difference between both DIs, the more intense the color.
Because some people use 20 ADX reference and others use 25 ADX reference to confirm the trend, I just add both as reference lines in a 'golden box'
Additionally, reference lines were added with default values set to Fib levels
ADX Screener// Identify potential trend reversals using ADX on up to 40 crypto assets.
// ADX shows the strength of a trend, not the direction.
// By monitoring the difference of ADX values between candles, you can potentially identify reversals before they happen.
// A strong trend has a 14 period ADX slope increasing .5 or more from the prior candle.
// At a minimum, a weak trend has a 14 period ADX slope of +.25 or less, and strictly it would be decreasing.
// This indicator prints one row for each asset with three columns for ADX differences one candle back each.
// The asset name is colored green or red dependent on whether +DI > -DI or not.
The market was in a down trend (-DI > +DI).
A bullish wave moved price up to EMA 8 resistance with strong ADX momentum (ADX diff of prior candle >= 0.5).
A Spinning Top showed that the trend was losing momentum (ADX diff lower than previous candle, showed the bullish wave losing momentum).
A Morning Star bearish reversal pattern draws resistance at the high of the pattern. (ADX Bullish momentum exhausted).
Symbol: -DI > +DI
2: Strong momentum
1: Losing momentum (spinning top)
0: Trend reversal (bearish engulfing pattern)
Imbalance, ADR Daily Target & ADR > 3X1 x ADR Movement Calculated on the Asian Session - Times can be altered to suit your parameters
Daily Target is set High from low of Asian Range and Low from High of Asian Range
0-3X ADR Calculated and Displayed from a point you select for the following days targets - can be set Bearish or Bullish and ADR parameters can be altered
Imbalance Finder - Can be switched on or off to show imbalance on current time frame - default is off
TASC 2021.12 Directional Movement w/Hann█ OVERVIEW
Presented here is code for the "Directional Movement w/Hann" indicator originally conceived by John Ehlers. The code is also published in the December 2021 issue of Trader's Tips by Technical Analysis of Stocks & Commodities (TASC) magazine.
Ehlers continues here his exploration of the application of Hann windowing to conventional trading indicators.
█ FEATURES
The rolling length can be modified in the script's inputs, as well as the width of the line.
█ NOTES
Calculations
The calculation starts with the classic definition of PlusDM and MinusDM. These directional movements are summed in an exponential moving average (EMA). Then, this EMA is further smoothed in a finite impulse response (FIR) filter using Hann window coefficients over the calculation period.
Background
The DMI and ADX indicators were designed by J. Welles Wilder and presented in his "New Concepts in Technical Trading Systems" book published in 1978.
Join TradingView!
BTC Dominance TrendThis simple script applies the DMI/ADX (trend) indicator to the Bitcoin Dominance Index (BTC.D) to check whether BTC is increasing its dominance or not on that day. It is meant to be applied to altcoins on medium intervals. I put it together to test the following hypothesis: On days when BTC dominance is on the rise, altcoins are harder to take off, because Bitcoin is draining the lifeblood out of them, so caution is needed when opening trades.
Olive background means BTC dominance is rising on that day, purple that it is decreasing. White background means it is not moving significantly in any direction.
You can change the resolution (i.e. apply the DMI/ADX to a different BTC.D interval), just make sure to lower the threshold as well. I hope you find a good use for it! Beware if you try to incorporate it in your strategy, it uses higher timeframe data and hence is prone to repainting.
RSI c/w MA, ADX and ATR data I have added 3 items to the RSI indicator which helps me to get more information at the same time.
1) ADX value - when ADX is above 25 we have a strong trend
2) ATR Value - helps me to calculate my daily targets and stop-loss levels at a glance.
3) A simple moving average - This shows me the trend of RSI. If the price breaks a trend line and at the same time RSI crosses above the MA, it shows me a breakout has happened. In longer timeframes, it can show you in advance if you should expect a reversal in the trend.
You can turn on or off the MA as well as the ADX line.
DMI Trade Zone [Alorse]Through the DMI Trade Zone you can find safe areas to trade in the Spot market.
The logic behind the indicator is:
- If the Positive Directional Movement (+DI) is greater than the Negative Directional Movement (-DI) then the Average Directional Movement Index (ADX) will be green with an opaque white background.
- If the Positive Directional Movement (+DI) is less than the Negative Directional Movement (-DI) then the Average Directional Movement Index (ADX) will be red.
Trading Range FinderWhat is it?
This indicator is a visual representation of the ADX indicator that shows where the areas of weak trends are. Anything shaded in a gray background implicates that the chosen market is experiencing a weak trend.
These areas of weak trends are seen typically when ADX drops below 20-25 but this script is customizable to change where you want that threshold.
Why did I make it?
I made this indicator to be used in combination with other trading indicators to eventually be used to identify when a market is range-bound/sideways.
Since momentum-based indicators can be "thrown off" in sideways market conditions, I will be using this visual indicator to identify when it is best to filter out a trade signal in a momentum-based strategy.
DMI - VisualBasically, when the background is:
White = no defined direction
Light blue = up.
Dark blue = well defined up
Light red = down
Dark red = well defined down
Blue/red centered circle = change of direction
Red circle on top = possible short entry
Blue circle at the bottom = possible long entry
//Português
Basicamente, quando o fundo é:
Branco = sem direção definida
Azul claro = alta
Azul escuro = alta bem definida
Vermelho claro = baixa
Vermelho escuro = baixa bem definida
Círculo azul/vermelho centrado = mudança da direção
Círculo vermelho no topo = possível entrada de short
Círculo azul na parte inferior = possível entrada de long
Forex Scalping 1min Bollinger Bands, RSI and ADX Trading SystemThis is a Forex Scalping Trading Sytem based on the Bollinger Bands.
Its suited for major pairs, with lowest possible comission (below 1 pip) and with timeframes ranging between 1-15 min.
Indicators:
Bollinger bands
ADX
RSI
Rules for entry:
Long Entry: price to move below the upper Bollinger Bands RSI raise above the 30 line and ADX<32 at the same time.
Short Entry: price to move above the upper Bollinger Bands, RSI raise below the 70 line and ADX<32 at the same time.
Rules for exit
Profit Exit: 3 options: 1, exit position when the price touches the middle band, 2) when the price touches the opposite band, X pips target profit.
Loss Exit: X pips loss
DMI Swings (by Coinrule)The Directional Movement Index is a handy indicator that helps catch the direction in which the price of an asset is moving. It compares the prior highs and lows to draw three lines:
Positive directional line (+DI)
Negative directional line (-DI)
Average direction index (ADX)
DMI is simple to interpret. When +DI > - DI, it means the price is trending up. On the other hand, when -DI > +DI, the trend is weak or moving on the downside.
The ADX does not give an indication about the direction but about the strength of the trend.
Typically values of ADX above 25 mean that the trend is steeply moving up or down, based on the -DI and +D positioning. This script aims to capture swings in the DMI, and thus, in the trend of the asset, using a contrarian approach.
ENTRY
-DI is greater than +DI
ADX is greater than 45
EXIT
+DI is greater than -DI
ADX is greater than 45
Trading on high values of ADX, the strategy tries to spot extremely oversold and overbought conditions. Values of ADX above 45 may suggest that the trend has overextended and is may be about to reverse.
Our backtests suggest that this script performs well for very short-term scalping strategies on low time frames, such as the 1-minute.
The script considers a 0.1% trading fee to make results more realistic to those you can expect from live market conditions. So realistically, live results should be similar to backtested results.
You can plug this script directly into your crypto exchange using TradingView Signals on Coinrule.
Trade Safely!
[VJ] Hulk Smash IntraThis is a simple intraday strategy for working on Stocks or commodities based out on Super Trend and ever reliable ADX . You can modify the start time and end time based on your timezones. Session value should be from market start to the time you want to square-off
Important: The end time should be at least 2 minutes before the intraday square-off time set by your broker
Comment below if you get good returns
Strategy: Supertrend and ADX strength (Hulk Smash)
Indicators used :
Super trend is simple and easy to use indicator and gives a precise reading about an on going trend.It is built with two parameters, namely period and multiplier.The Buy and Sell signal modifies once the indicator tosses over the closing price. When the Super trend closes above the Price, a Buy signal is generated, and when the Super trend closes below the Price, a Sell signal is generated. In this case we use it only for direction .
ADX informs a trader when the market is trending.It filters out anti trend trades to help trend chasing indicators from frequent whipsaws
Multiplier is a vital input for Super trend. If the multiplier value is too high, then lesser number of signals is made.
Buying/Selling
• If the price is going UP, and the ADX indicator is also going UP, then we have the case for a bullish trend.
• The same is true if the price is going down and the ADX indicator is going UP. Then we have the case for a bearish trend.
• Value of ADX below 20 is called trading zone which implies non-trending market
• Trade with Strength only if the Super trend is validating
ADX Values
0 - 20 : Non Trending (Range bound market, phase of Accumulation/Distribution)
20-45 : Strong Signal (helpful for traders)
45-60 : Very strong trend (occur rarely, indicate exhaustion)
60 - 100 : Extremely strong trend (very rare, unsustainable trends, be ready for reversals)
Usage & Best setting :
Choose a good volatile stock and a time frame - 5m.
ADX Factor : vary as per info above
ST multiplier : 3
There is stop loss and take profit that can be used to optimise your trade
The template also includes daily square off based on your time.
Confluence TradingThis indicator makes use of the Kumo Cloud, 3EMA and ADX/DI+/DI- indicators. While these can be used separately (green bars show where to long and red bars show where to short), this indicator also shows how their use together can create a more precise estimate on when to enter and exit the market. It is interesting to note that while each of the three indicators individually can predict movements and trend reversals early, having their signals converge into one makes a slower prediction but also a more accurate one. It is a great visual representation of why combining multiple trading techniques or analysis increases odds of winning trades (confluence trading). Do feel free to message me if you wish for me to add any other indicator to the mix or to fix any bugs. The ADX indicator makes use of robertkowalski's code.
Natural Directional Combo [CC]The Natural Directional Combo was created by Jim Sloman as part of his Ocean theory series and I believe this is his final unique formula that I'm publishing to make them all open source. If you know of any others then please send me a message. He passed away at a young age and I want to make sure his legacy lives on. Big thanks to @altcoinz and @tmac87 for giving me his full source code and materials in order to publish everything. So like my Natural Market Combo script, this essentially take his Natural Stochastic Indicator and his Natural Directional Index to create his own average of both indicators. Like the market combo indicator, I created a fix to address the errors in his original script and included both strong and normal buy and sell signals. Strong signals are darker in color and normal signals are lighter in color. Buy when the line turns green and sell when it turns red.
Let me know if there are any other scripts you would like to see me publish!
ADX / RSI Strategy by Trade Rush (created by SirPoggy) This is one of many new strategies coming soon which were seen on Trade Rush
This one is the ADX / RSI Strategy seen here:
https:www.youtube.com/watch?v=uSkGE0ujyn4
While the strategy has been modified slightly to use the DMI instead of the ADX, the core of the strategy is essentially the same
Long signals are generated when the RSI is above 70, close is above the 200EMA, and the ADX is above 25 (added is the plus DMI over 25 and minus DMI below 20)
Stop loss is placed below /above the 21 EMA, however, there is a deviation required to ensure price is not too close to where a stop loss would be placed.
Short signals are generated when the RSI is below 30, close is below the 200EMA, and the ADX is above 25 (added is the minus DMI over 25 and plus DMI below 20)
I do not recommend using this strategy but I have provided this code for educational purposes.
Thanks!
Let me know which strategy you'd like coded next in the comments below.
Natural Directional Index [CC]The Natural Directional Index was created by Jim Sloman and this is another indicator that I'm publishing from the collection of Ocean indicators. I want to make sure his legacy is covered by as many eyes as possible. This is his version of the directional index indicator but he uses his weighting method to use the square root of time and you can see that the signals are very smooth. Big thanks of course to @altcoinz and @tmac87 for helping me get the full source code and files for all of his work. This indicator captures the current trend and I have used my strong buy and sell signals to let you know the strength of the current trend. Darker colors are for strong signals and lighter colors are for normal ones. Buy when the line turns green and sell when it turns red.
Let me know if there are any other indicators you would like to see me publish!