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.
ADX
Didi Index PlusAbout this indicator (translation to Portuguese on the second half of the description):
The indicator follows the way Didi Aguiar teaches his trading system. Didi Aguiar is an old school Brazilian trader with over 40 years experience, who created the Didi Index and the famous agulhadas - or how I like to say in English: threads in the needle, an explosive price movement.
This version of the Didi Index adds what matters about DMI/ADX, Stochastic and TRIX to the regular Didi Index indicator.
The lines indicate alert and confirmations:
BLUE line crossing UP white line - BUY alert
PINK line crossing DOWN white line - BUY confirmation
Simultaneous Buy Alert and Confirmation = BUY AGULHADA.
BLUE line crossing DOWN white line - SHORT alert
PINK line crossing UP white line - SHORT confirmation
Simultaneous Short Alert and Confirmation = SHORT AGULHADA.
The background color changes according to the way Didi Aguiar reads the DMI and ADX.
Blue = Up trend
Bright Blue = Accelerating up trend
Purple = Down trend
Bright Purple = Accelerating down trend
Change from bright to dark color = ADX's bounce.
No coloured background = no trend.
The triangles on the top and bottom of the chart are the exit indicators.
They appear every time the Fast Stochastic and TRIX are in agreement:
Triangle on TOP of the chart means to EXIT LONG position.
- TRIX is selling and Stochastic just gave the sell signal; OR
- Stochastic is selling and TRIX just gave the sell signal
Triangle on BOTTOM of the chart means to EXIT SHORT position.
- TRIX is buying and Stochastic just gave the buy signal; OR
- Stochastic is buying and TRIX just gave the buy signal
Use this indicator with Bollinger Bands or other volatility indicator.
Not recommended for color-blind people :)
-----------------------------------------
Esse indicador segue a maneira que Didi Aguiar ensina o seu "trading system". Didi Aguiar é um trader velha-guarda com mais de 40 anos de experiência, que criou o Didi Index e as famosas Agulhadas, um movimento the preço explosivo.
Essa versão do Didi Index inclui o que interessa sobre outros três indicadores que o Didi usa em seu sistema: DMI/ADX, TRIX, e Estocástico.
As linhas indicam alerta e confirmação para o trade:
Linha AZUL cruzando a linha branca de BAIXO PARA CIMA - Alerta de compra
Linha ROSA cruzando a linha branca de CIMA PARA BAIXO - Confirmação de compra
ALERTA e CONFIRMAÇÃO de compra simultaneos = AGULHADA DE COMPRA
Linha AZUL cruzando a linha branca de CIMA PARA BAIXO - Alerta de venda
Linha ROSA cruzando a linha branca de BAIXO PARA CIMA - Confirmação de venda
ALERTA e CONFIRMAÇÃO de cenda simultaneos = AGULHADA DE VENDA
A cor do fundo muda de acordo com a maneira que o Didi lê o DMI e ADX
Fundo AZUL = Tendencia de compra
Fundo ROXO = Tendencia de venda
Cor mais saturada (vibrante) = Tendencia acelerante
Passou de cor mais clara para mais escura = Kick do ADX
Sem coloração de fundo = Sem tendencia
Os triângulos brancos na parte de cima e de baixo do indicador sinalizam a saida do trade.
Aparecem todas a vezes que o Etocastico e o TRIX ficam de acordo.
Triangulo na parte de CIMA sinaliza a SAÍDA da COMPRA.
- TRIX está vendido e o Estocástico acabou de vender; OU
- Estocástico está vendido e o TRIX acabou de vender
Triangulo na parte de BAIXO sinaliza a SAÍDA da VENDA.
- TRIX está comprado e o Estocástico acabou de comprar; OU
- Estocástico está comprado e o TRIX acabou de comprar
Use esse indicador em conjunto com as Bandas de Bollinger ou outro indicador de volatilidade.
Não é indicado para pessoas que sofrem de daltonismo :)
DMI (Multi timeframe) DI Strategy [KL]Directional Movement Index Strategy
Entry conditions:
- (a) when DI+ > DI- on timeframe #1, and
- (b) Confirmation: when DI+ > DI- on timeframe #2
In the shown example, timeframe1 was same as the chart (1H) and timeframe2 was 1D.
Stop Loss: ATR based trailing stop
About DMI
Can refer to Investopedia for general understanding.
Applications of DMI in this strategy:
- Assumes uptrend when DI+ is above DI- (when green DI+ lines above red DI-), vice versa for downtrend. This is checked in two different timeframes that can be set by user in settings.
- DX is ignored, it doesn't give a direction of the trend. But if DX was applied, it would be a good indicator for quantifying the strength of uptrend/downtrend. This measurement would typically be read along a threshold (i.e. if below 20, then market is likely consolidating). All of these have been commented out (ignored by pinescript's interpreter via //) in the codes, as said; we are not using DX for sake of simplicity.
Visualizations
To make the chart look cleaner, DMI plots have been simplified to just down/up arrows placed at bottom of the chart.
Referring to the example chart:
- Green arrows : when DI+ > DI- for both timeframes, implies uptrend
- Red arrows: other way around (DI+ < DI-), implies downtrend
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
10X Market DirectionMy interpretation of John Carter's popular Simpler Trading 10X Bars indicator. Now you can see directional market strength for a variety of key futures , indices and industry groups for quick comparison with individual stocks.
Momentum is displayed to quickly see the quality and strength of a trend based on a calculation of the Directional Movement Index (DMI). The DMI is an indicator developed by J. Welles Wilder in 1978 that identifies in which direction the price of an asset is moving. The DMI is calculated by comparing prior highs and lows and produces 2 measurements illustrating the strength of the current trend:
-> a positive directional movement line ( +DI ); and
-> a negative directional movement line ( -DI ).
The average directional index ( ADX ) measures the strength of the current trend, either +DI or +DI ; a reading above 20 typically indicates a strong trend.
-> Green bars indicate an uptrend i.e. when +DI is above -DI and ADX is greater than 20 - there is more upward pressure than downward pressure in the price;
-> Red bars indicate a downtrend i.e. when -DI is above +DI and ADX is greater than 20 - there is more downward pressure on the price; and
-> Yellow bars indicate no strong directional trend and potential for a reversal.
This indicator should compliment other popular indicators, as confirmation whether to stay in a position or not.
10X Bars - Directional TrendsMy interpretation of John Carter's popular Simpler Trading 10X Bars indicator.
Momentum is displayed to quickly see the quality and strength of a trend based on a calculation of the Directional Movement Index (DMI). The DMI is an indicator developed by J. Welles Wilder in 1978 that identifies in which direction the price of an asset is moving. The DMI is calculated by comparing prior highs and lows and produces 2 measurements illustrating the strength of the current trend:
-> a positive directional movement line (+DI); and
-> a negative directional movement line (-DI).
The average directional index (ADX) measures the strength of the current trend, either +DI or +DI; a reading above 20 typically indicates a strong trend.
-> Green bars indicate an uptrend i.e. when +DI is above -DI and ADX is greater than 20 - there is more upward pressure than downward pressure in the price;
-> Red bars indicate a downtrend i.e. when -DI is above +DI and ADX is greater than 20 - there is more downward pressure on the price; and
-> Yellow bars indicate no strong directional trend and potential for a reversal.
Volume spikes 50% above average volume are then flagged as dots at the bottom of the chart (although you can change this location), confirming the momentum further.
This indicator should compliment other popular indicators, as confirmation whether to stay in a position or not.
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)
CCA - ADX ChangeThis shows the velocity in which the ADX value is moving. If the velocity is decreasing, the value will go to 0, if it's negative, the line will change to orange. Very useful to tell when the momentum is changing in a particular direction.
ADX + DMI with Fill and CrossoverBetter visuals for the ADX/DMI technical indicator.
I filled the DI+ and DI- with color to easily track the trend. Also, I added shapes (+) / (x) once the DI+ and DI- crossover each other.
You can also set two horizontal lines so you can easily track where the ADX value is at.
Multiple Indicators ScreenerA screener for multiple indicators with nice table output.
I was asked many times to update custom screener to display results in a table form. This way it looks much better.
You can play with background colors depend on values you're looking for.
In the screener, for example, I'm highlighting overbought/oversold RSI values, big ADX levels and trend of the Supertrend.
In parameters you can change settings for all indicators and change/disable tickers if 40 is too many for you.
There is only 1 function that calculates all these indicators. Potentially you can change and even add more indicators to this function.
Writing code for these kind of screener is a bit time consuming, so I even created a code generator in Python for these kind of indicators :) .
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
DI Crossing Daily Straregy HulkTradingSimple strategy based on crossing DI+ and DI- and Average True Range.
Long entry when DI+ crossover DI-
Short entry when DI+ crossunder DI-
Stop Loss and Take Profits based on Average True Range.
Default values are 1*ATR(14) for stop loss and 2*ATR(14) for Take Profit.
Risk reward 1 to 2 ratio.
Recommended default values, but you can change it if you want.
Recommended timeframe - 1D.
Script was tested on BTCUSDT pair and have a 2.4 profit factor.
Scalping EMA ADX RSI with Buy/Sell AlertsThis is a study indicator that shows the entries in the strategy seen in one of the youtube channel so it does not belong to me. I can't tell who it is because it's against the House Rules to advertise but you can find out if you look for it on youtube. Default values of oscilators and ema adjusted as suggested. He says he got the best results in 5 min timeframe but i tried to make things as modifiable as possible so you can mess around with the settings and create your own strategy for different timeframes if you'd like. Suggested to use with normal candlestick charts. The blue line below indicates the ADX is above the selected threshold set in the settings named "Trend Ready Limit". You can set alerts for Buy, Sell or Buy/Sell signal together.
The entry strategy itself is pretty straight forward.
The rules for entry are as follows, the script will check all of this on auto and will give you buy or sell signal :
Recommended time frame: 5 min
For Long Entry:
- Check if price above the set EMA (Can disable this rule if you'd like in the settings)
- RSI is in Oversold
- ADX is above set "Trend Ready" threshold (Meaning there is a trend going on)
- Price must approve the trend of previous candles. This is bullish for buy entries and bearish for sell entries.
- Enter with stop loss below last swing low with 1:1 or 1.5:1 take profit ratio.
For Short Entry:
- Check if price below the set EMA (Can disable this rule if you'd like in the settings)
- RSI is in Overbought
- ADX is above set "Trend Ready" threshold (Meaning there is a trend going on)
- Price must approve the trend of previous candles. This is bullish for buy entries and bearish for sell entries.
- Enter with stop loss above last swing high with 1:1 or 1.5:1 take profit ratio.
This is my first indicator. Let me know if you want any updates. I am not sure if i can add everything but i'll try nonetheless.
Changed: Signals will check up to 2 candles before if the RSI is below or above the set value to show signal. This is because sometimes the entry signal is right but the response might be a bit late.
MACD With Crossings and Above Below ZeroMACD with MACD Derivative, Crossings Above and Below Zero, Shading for ADX Smoothing and Overlayed RSI
Primarily a moving average convergence divergence (MACD) momentum indicator. Also includes a MACD Derivative overlay to show when momentum has peaked. Displays triangle symbols when the MACD line crosses the signal line (larger triangle when MACD crosses above/below zero to indicator stronger momentum trend). Includes shading for average directional index (ADX) to futher determine when the price is trending strongly (red when the ADX value is greater than 25, and idicating a strong trend; otherwise blue). Lastly, has a relative strength index (RSI) momentum indicator overlayed to help evaluate periods of overbought or oversold conditions.
Rising ADX strategyI have always been a huge fan of ADX. Its good for finding out good trending moves.
But it has been said that only ADX after 20 or 25 is good for trending market, but few trend gets completed at that level.
So I have come up with a logic to find out the rising ADX. This could be used to determine the trending moves from the start.
Buy signal:
When close is greater than moving average 1 and 2. This moving average can be SMA, EMA, WMA or HMA.
When ADX is greater than the threshold range. I have taken 10 as my minimum range.
Of course important of all ADX should be rising which implies trend is about to start.
Buy exit:
When close is less than moving average 1 and 2. This moving average can be SMA, EMA, WMA or HMA.
When ADX is lesser than the threshold range. I have taken 10 as my minimum range.
ADX falling which implies trend is about to end.
Sell signal:
I don't repeat the above logic again.
Everything similar to buy signal except above moving average. For selling it should be below moving average.
Strategy can be tested for long and short sides.
Note: No Repainting as the logic is very simple.
Using this script we can identify the best timeframe the script trend yields profit.
Test and provide your comments.
MACD PlusMoving Average Convergence Divergence – MACD
The MACD is an extremely popular indicator used in technical analysis. It can be used to identify aspects of a security's overall trend. Most notably these aspects are momentum, as well as trend direction and duration. What makes the MACD so informative is that it is actually the combination of two different types of indicators. First, the MACD employs two Moving Averages of varying lengths (which are lagging indicators) to identify trend direction and duration. Then, it takes the difference in values between those two Moving Averages (MACD Line) and an EMA of those Moving Averages (Signal Line) and plots that difference between the two lines as a histogram which oscillates above and below a center Zero Line. The histogram is used as a good indication of a security's momentum.
Added Color Plots to Settings Pane.
Switched MTF Logic to turn ON/OFF automatically w/ TradingView's Built in Feature.
Added Ability to Turn ON/OFF Show MacD & Signal Line.
Added Ability to Turn ON/OFF Show Histogram.
Added Ability to Change MACD Line Colors Based on Trend.
Added Ability to Highlight Price Bars Based on Trend.
Added Alerts to Settings Pane.
Customized Alerts to Show Symbol, TimeFrame, Closing Price, MACD Crosses Up & MACD Crosses Down Signals in Alert.
Alerts are Pre-Set to only Alert on Bar Close.
Added ability to show Dots when MACD Crosses.
Added Ability to Change Plot Widths in Settings Pane.
Added in Alert Feature where Cross Up if above 0 or cross down if below 0 (OFF By Default).
Squeeze Pro
Traditionally, John Carter's version uses 20 period SMAs as the basis lines on both the BB and the KC.
In this version, I've given the freedom to change this and try out different types of moving averages.
The original squeeze indicator had only one Squeeze setting, though this new one has three.
The gray dot Squeeze, call it a "low squeeze" or an "early squeeze" - this is the easiest Squeeze to form based on its settings.
The orange dot Squeeze is the original from the first Squeeze indicator.
And finally, the yellow dot squeeze, call it a "high squeeze" or "power squeeze" - is the most difficult to form and suggests price is under extreme levels of compression.
Colored Directional Movement Index (CDMI) , a custom interpretation of J. Welles Wilder’s Directional Movement Index (DMI), where :
DMI is a collection of three separate indicators ( ADX , +DI , -DI ) combined into one and measures the trend’s strength as well as its direction
CDMI is a custom interpretation of DMI which presents ( ADX , +DI , -DI ) with a color scale - representing the trend’s strength, color density - representing momentum/slope of the trend’s strength, and triangle up/down shapes - representing the trend’s direction. CDMI provides all the information in a single line with colored triangle shapes plotted on the bottom. DMI can provide quality information and even trading signals but it is not an easy indicator to master, whereus CDMI simplifies its usage. The CDMI adds additional insight of verifying/confirming the trend as well as its strength
Label :
Displaying the trend strength and direction
Displaying adx and di+/di- values
Displaying adx's momentum (growing or falling)
Where tooltip label describes "howto read colored dmi line"
Ability to display historical values of DMI readings displayed in the label.
Added "Expert Trend Locator - XTL"
The XTL was developed by Tom Joseph (in his book Applying Technical Analysis ) to identify major trends, similar to Elliott Wave 3 type swings.
Blue bars are bullish and indicate a potential upwards impulse.
Red bars are bearish and indicate a potential downwards impulse.
White bars indicate no trend is detected at the moment.
Added "Williams Vix Fix" signal. The Vix is one of the most reliable indicators in history for finding market bottoms. The Williams Vix Fix is simply a code from Larry Williams creating almost identical results for creating the same ability the Vix has to all assets.
The VIX has always been much better at signaling bottoms than tops. Simple reason is when market falls retail traders panic and increase volatility , and professionals come in and capitalize on the situation. At market tops there is no one panicking... just liquidity drying up.
The FE green triangles are "Filtered Entries"
The AE green triangles are "Aggressive Filtered Entries"
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
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!
VWMA with kNN Machine Learning: MFI/ADXThis is an experimental strategy that uses a Volume-weighted MA (VWMA) crossing together with Machine Learning kNN filter that uses ADX and MFI to predict, whether the signal is useful. k-nearest neighbours (kNN) is one of the simplest Machine Learning classification algorithms: it puts input parameters in a multidimensional space, and then when a new set of parameters are given, it makes a prediction based on plurality vote of its k neighbours.
Money Flow Index (MFI) is an oscillator similar to RSI, but with volume taken into account. Average Directional Index (ADX) is an indicator of trend strength. By putting them together on two-dimensional space and checking, whether nearby values have indicated a strong uptrend or downtrend, we hope to filter out bad signals from the MA crossing strategy.
This is an experiment, so any feedback would be appreciated. It was tested on BTC/USDT pair on 5 minute timeframe. I am planning to expand this strategy in the future to include more moving averages and filters.
VIX Fix Double PleasureFULL README: github.com/samgozman/vix-fix-double-pleasure
The idea of an oscillator is quite simple. It is based on the popular VIX Fix oscillator, the purpose of which is to find local bottoms within the scope of trend movement. But in addition to the classic VIX fix, I built an oscillator opposite to it, which serves as a potential signal of the end of local growth.
Components
VIX Fix classic (red lines)
VIX Fix reversed (green lines)
Buy/sell signals (colored dots)
Parameters
VIXFix_length - defval: 22. Classic length for VIX fix
VIXFix_arraySize - defval: 22. The number of periods among which to look for lows and highs. If there are too many signals, reduce this value.
plotMarks - defval: true. Plot high/low marks
How it is calculated
VIX fix classic: (highest(close, VIXFix_length) - low) / highest(close, VIXFix_length) * -100
VIX fix reversed: (lowest(close, VIXFix_length) - high) / lowest(close, VIXFix_length) * -100
Signals
🟢 Buy signal if current "VIX fix classic" or "VIX Fix reversed" value is lowest from the last VIXFix_arraySize periods.
🔴 Sell signal if current "VIX fix classic" or "VIX Fix reversed" value is highest from the last VIXFix_arraySize periods.
General recommendations
I advise you not to use this oscillator for a short positions. Long only . It is recommended to set a long position by pyramiding.
DMI With Crosses (MyNewTrade)Directional Movement Indicator:
+DI and -DI
I changed the color of the bar bars according to the crossed of +DI and -DI . It helps us to have an idea of whether the trend is continuing or not.
+DI crossover to -DI barcolor is Aqua, if not bar color is Red.
It also helps us to find the lowest and highest points of the graph according to the positions of Adx +DI and -DI .
It gives warnings at the lowest and highest points, which helps us to detect the direction of the trend.