Squeeze M + ADX + TTM (Trading Latino & John Carter) by [Rolgui]About this indicator:
This indicator aims to combine two good performing strategies, which can be used separately or together, mainly for investment positions, although it can also be used for intraday trading.
Strategy 1) Squeeze Oscillator and Average Directional Index:
This strategy is taught by Jaime Aibsai, which determines market entries based on reading the direction of the price movement (Directionality of the Oscillator) along with the strength of the Oscillator (Slope of the ADX).
Both tools are configured according to Jaime Abisai's strategy, by default (note that point 23 of the ADX is represented by point 0 on the panel, to make reading easier, its interpretation is not affected). Anyway you can adjust the input data according to your interest.
*You can see this setting in the first panel.
Strategy 2) Squeeze Momentum and Trade The Market Waves:
This strategy can be consulted either in John F. Carter's books or on his website.
This market reading is based on Price Volatility (Bollinger Bands and Keltner Channels interaction) and its Trend (Exponential Moving Averages), showing entries at times when price volatility is low and taking filtering active trend using T.T.M. Waves.
To configure the indicator in the same way that Carter does, it would be enough to turn off the ADX, turn on the Squeeze Momentum signals along with the T.T.M. Waves, and importantly, change the Linear Momentum value to 12 (this configuration can be found in his book).
*You can see this setting in the second panel.
Why this indicator?
I've added and removed the above flags as I needed to query them (which became tedious for me). The main objective of having merged them into one is to make their reading more agile and comfortable and thus improve the decision-making capacity of the trader who wishes to use them.
Credits and Acknowledgments:
I would like to give credits to other authors, for the sections of code that I have used to make this technical indicator. Thanks to @LazyBear, @matetaronna, @jombie and @joren for contributing to the community and keeping their code open. It is priceless!
Feel free to combine and practice your trading with both strategies, personally, they improved my profitability and this is why I recommend researching more about them. I've been using it for crypto investing, let me know if it's worth for you on stock market!
If you have any questions or suggestions you can leave it in the comments!
Greetings!
ADX
Hotch DMI+OBV+RSI ConfluenceThis Indicator uses the Relative Strength Index, On Balance Volume, and ADX to identify viable trading trends.
A quick description of what is on display:
1.) Green Triangle = OBV crossing over OBV MA
2.)Red Triangle = OBV Crossing under OBV SMA
3.) The background coloring between the RSI Oversold and Overbought Values has multiple conditions.
----It is green when the DI+ > DI-
----It is purple when the DI+ < DI-
----the brightness represents the ADX value. Darker areas(or more transparent) show a weak ADX value(4). Brighter (or less transparent) show a stronger ADX value(3)
5.) RSI and RSI moving average, including a divergence indicator.
6.) A histogram representing the normalized value of OBV-OBVMA to show changes in value while remaining readably in range on the chart with other indicators.
In the included chart screen shot is an example of an applicable strategy. This example is no guaranteed success and is also not the only strategy applicable to the indicator.
Combo 2/20 EMA & ADXR This is combo strategies for get a cumulative signal.
First strategy
This indicator plots 2/20 exponential moving average. For the Mov
Avg X 2/20 Indicator, the EMA bar will be painted when the Alert criteria is met.
Second strategy
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.
WARNING:
- For purpose educate only
- This script to change bars colors.
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.
Measure Volume, Momentum, Trend, VolatilityThis script displays the following indicators in one pane to quickly determine several important factors regarding price action. It allows the user to quickly see all of most important factors surrounding price action in one pane with one quick glance. This should be incredibly helpful and allow things like double divergence and trend confirmation to be spotted much more quickly. I personally use the data in this indicator to replace four separate indicators and it has brought my win rate and profit factor significantly higher. I hadn't seen any place where all of the best J. Welles Wilder indicators such as RSI, Parabolic SAR, and DMI/ADX were brought into one easy to use interface. This is my attempt at fixing that gap. For a much deeper understanding of how to use these indicators, I recommend reading New Concepts in Technical Trading Systems written by J. Welles Wilder.
Momentum via RSI (Relative Strength Index)
Volume via MFI (Money Flow Index)
Volatility via DMI/ADX (Direction Movement Index/Average Directional Index)
Trend via Parabolic SAR (Parabolic Stop and Reverse)
It is worth noting that DMI/ADX and Parabolic SAR can both help determine trend strength and volatility.
The Volatility mechanism is measured by DMI and ADX and displayed at the top of the pane using circles. The top, tiny circles reflect if show if positive DI or negative DI has a higher value. The small circles directly underneath indicate whether or not the ADX is above 20 (configurable, some may choose to increase this to 25 or even 30).
The Momentum mechanism is shown as standard RSI with the default being a white line and default period of 14, which is all configurable.
The Volume mechanism is shown as standard MFI with the default being a fuchsia line and default period of 14, which is also configurable.
The momentum and volume oscillators should be used in conjunction to help spot whether the trend is strong or weak using divergences and the middle, overbought, and oversold levels. These levels are also configurable.
The Trend mechanism is measured by Parabolic SAR and displayed at the bottom of the pane using diamonds. The default is red diamonds when in a bear trend, green when in an uptrend which is configurable. When price is above the Parabolic SAR, it is considered to be an uptrend. When price is below the Parabolic SAR, it is considered to be a downtrend. The way price is measured is also configurable (i.e. open, close, ohlc4, hlc3, etc.). When price crossed above or below the Parabolic SAR, the diamonds will change colors.
All the indicators displayed should be used in a well rounded strategy. For instance, I only trade when ADX is above 20 and rarely trade against the trend shown via PSAR. When trend shifts and divergences helped indicate a trend shift would occur using the RSI and MFI, it can be a great spot to take an entry. RSI/MFI can also confirm the trend is strong when they are not showing divergences and inline with price action. All of this data should be used in conjunction with good fundamental data and technical levels. Divergences with RSI and MFI on double tops or bottoms can also be incredibly powerful. There is no right or wrong way to use all the data displayed in this indicator, however using all four pillars of trading (Momentum, Volume, Trend, Volatility) will help ensure only the best trades are taken.
adx: Configurable ADX (library) Library "adx"
Calculate ADX (and its constituent parts +DI, -DI, ATR),
using different moving averages and periods.
adx(atrMA, diMA, adxMA, atrLen, diLen, adxLen, h, l, c)
Parameters:
atrMA : Moving Average used for calculating the Average True Range.
Traditionally RMA, but using SMA here and in adxMA gives good results too.
diMA : Moving Average used for calculating the Directional Index.
Traditionally, RMA.
adxMA : Moving Average used for calculating the Average Directional
Index. Traditionally RMA, but using SMA here and in atrMA gives good results
too.
atrLen : Length of the Average True Range.
diLen : Length of the Directional Index.
adxLen : Length (smoothing) of the Average Directional Index.
h : Candle's high.
l : Candle's low.
c : Candle's close.
Returns:
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.
NSDT Indicator PanelThis indicator places a table on the bottom of the chart where each section changes color based on settings in each individual indicator. It provides a way to quickly glance at the chart and see the overall direction of the market with the combination of indicators.
All settings for each individual indicator are editable, so you can customize them to your unique specifications.
TAExtLibrary "TAExt"
Indicator functions can be used in other indicators and strategies. This will be extended by time with indicators I use in my strategies and studies.
atrwo(length, stdev_length, stdev_mult) ATR without outliers
Parameters:
length : The length of the ATR
stdev_length : The length of the standard deviation, used for detecting outliers
stdev_mult : The multiplier of the standard deviation, used for detecting outliers
Returns: The ATR value
atrwma(src, period, type, atr_length, stdev_length, stdev_mult) ATR without outlier weighted moving average
Parameters:
src : The source of the moving average
period : The period of the moving average
type : The type of the moving average, possible values: SMA, EMA, RMA
atr_length : The length of the ATR
stdev_length : The length of the standard deviation, used for detecting outliers
stdev_mult : The multiplier of the standard deviation, used for detecting outliers
Returns: The moving average value
jma(src, period, phase, power) Jurik Moving Average
Parameters:
src : The source of the moving average
period : The period of the moving average calculation
phase : The phase of jurik MA calculation (-100..100)
power : The power of jurik MA calculation
Returns: The Jurik MA series
anyma(src, period, type, offset, sigma, phase, power) Moving Average by type
Parameters:
src : The source of the moving average
period : The period of the moving average calculation
type : The type of the moving average
offset : Used only by ALMA, it is the ALMA offset
sigma : Used only by ALMA, it is the ALMA sigma
phase : The phase of jurik MA calculation (-100..100)
power : The power of jurik MA calculation
Returns: The moving average series
wae(macd_src, macd_fast_length, macd_slow_length, macd_sensitivity, bb_base_src, bb_upper_src, bb_lower_src, bb_length, bb_mult, dead_zone_length, dead_zone_mult) Waddah Attar Explosion (WAE)
Parameters:
macd_src : The source series used by MACD
macd_fast_length : The fast MA length of the MACD
macd_slow_length : The slow MA length of the MACD
macd_sensitivity : The MACD diff multiplier
bb_base_src : The source used by stdev
bb_upper_src : The source used by the upper Bollinger Band
bb_lower_src : The source used by the lower Bollinger Band
bb_length : The lenth for Bollinger Bands
bb_mult : The multiplier for Bollinger Bands
dead_zone_length : The ATR length for dead zone calculation
dead_zone_mult : The ATR multiplier for dead zone
Returns:
ssl(length, high_src, low_src) Semaphore Signal Level channel (SSL)
Parameters:
length : The length of the moving average
high_src : Source of the high moving average
low_src : Source of the low moving average
Returns:
adx(atr_length, di_length, adx_length, high_src, low_src, atr_ma_type, di_ma_type, adx_ma_type) Average Directional Index + Direction Movement Index (ADX + DMI)
Parameters:
atr_length : The length of ATR
di_length : DI plus and minus smoothing length
adx_length : ADX smoothing length
high_src : Source of the high moving average
low_src : Source of the low moving average
atr_ma_type : MA type of the ATR calculation
di_ma_type : MA type of the DI calculation
adx_ma_type : MA type of the ADX calculation
Returns:
Multi-Timeframe 10XIMPORTANT NOTE:
-> The timeframe for this indicator must be set at 1 minute;
-> If the chart timeframe is higher than 1 minute, the results shown in the table for timeframes lower than the chart will not be correct;
-> Tradingview's own documentation explains this as follows: " It is not recommended to request data of a timeframe lower that the current chart timeframe, for example 1 minute data from a 5 minutes chart. The main problem with such a case is that some part of a 1 minute data will be inevitably lost, as it’s impossible to display it on a 5 minutes chart and not to break the time axis. In such cases the behavior of security can be rather unexpected "; and
-> It is therefore recommended that this indicator is placed in a standalone 1min chart window, and the window resized to only show the table to avoid any issues.
Credits:
-> J. Welles Wilder creating the Directional Movement System (DMS) (1978); and
-> John Carter applying the DMS to create the popular Simpler Trading 10X Bars indicator.
Introduction:
Quickly see the quality and strength of a trend based on Directional Movement Index (DMI).
The Average Directional Index (ADX), Minus Directional Indicator (-DI) and Plus Directional Indicator (+DI) represent a group of directional movement indicators that form a trading system developed by Welles Wilder. Although Wilder designed his Directional Movement System with commodities and daily prices in mind, these indicators can also be applied to stocks. Wilder determined directional movement by comparing the difference between two consecutive lows with the difference between their respective highs.
+DI and -DI are derived from smoothed averages of these differences and measure trend direction over time. These two indicators are often collectively referred to as the DMI. ADX is in turn derived from the smoothed averages of the difference between +DI and -DI; it measures the strength of the trend (regardless of direction) over time.
Trade Signals:
-> Green indicates 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 indicates 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 indicates no strong directional trend and potential for a reversal.
Standalone Indicator:
The 10X Bars version of the indicator can be found here:
StableF-AdxThe script is ADX-DMI modified verison
-Adx is labeled as Weak trend Below 25 and strong Trend above 25
-Hline is drawn at 25 for better clarification of crossover above 25
-Wait for crossover in +dmi and -dmi and to cross above 25 for any trend clarifcation
-crossover i.e upside cross of +dmi over -dmi is shown buy UP shape
-crossunder i.e downside cross of +dmi over -dmi is Shown buy DN shape
--disclaimer --This is just modified version of Bulit in ADX_DMI indicatior \ NOT advised for buy / Sell purpose
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.
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.