Histogram (MACD) with DivergencesThe focus with this MACD plot is solely towards the Histogram .
MACD & Signal can be made visible, but is made invisible by default.
The brighter line (green-red) is derived from the 'usual' MACD, the initial settings are completely different though:
- Fast Length 1
- 'Slow' Length 7
This is Histogram (1)
When this line crosses the 0 - line, this can give a nice early BUY - SELL sign,
especially combined with the 2nd Histogram, which uses a Slow Length of 49.
This latter Histogram (2) is filled ("Area") with a green/orange colour.
When Histogram (2) cross the 0 - line, this is visible as a green/red 'Cross'
These "Crosses", compared with the candles, gives possible/probable Support/Resistance lines.
Example,
if you bought on 5 March (Green Cross), and sold on 14 July, you'd have a nice profit!
A nice green area filled Histogram (2) (above 0 - line) can be considered as very Bullish,
an orange area filled Histogram (2) (below 0 - line) can be considered as Bearish.
Histogram (1) line can be used for shorter term Buy - Sell trades, the larger Bullish/Bearish Trend (of Histogram (2)) taking into account!
(see yellow dotted lines on the image).
All this is combined with a "Divergence" plot (with thanks to "Coingrats" (and "BabyWhale83") for the hard work!)
The small, more bright Triangles are triggered by Histogram (1)
The larger Triangles are triggered by Histogram (2)
- Green Triangles are Bullish Divergences
- Red Triangles are Bearish Divergences
- White Triangles (pointing upwards/downwards) are Bullish/Bearish Hidden Divergences
Very importantly, always combine the Divergence Triangles with another tool for confirmation, for example a MACD or RSI which produced an extra confirmation.
The movement of Histogram (2) above or below the 0 - line can be a confirmation as well.
As default these 3 options are enabled (for me this gives better results):
Simple MA (Oscillator)
Simple MA (Signal Line)
Simple MA (Signal Line 2)
This indicator can be used with normal "Candles", "Line", or "Heikin Ashi" (gives some differences)
Hope this is original and helpful!
Cerca negli script per "Divergence"
Triple RSI DivergenceTriple rsi divergence
Sure! Here's a clear explanation in English of the Triple RSI Divergence Pine Script I shared earlier:
---
Explanation of the Triple RSI Divergence Pine Script
This Pine Script is designed to detect triple divergence patterns between the RSI (Relative Strength Index) and price action, which can signal potential trend reversals.
---
What is Triple Divergence?
Triple divergence occurs when price creates three consecutive higher highs (in an uptrend) or lower lows (in a downtrend), while the RSI moves in the opposite direction — forming lower highs or higher lows respectively.
This pattern is considered a strong reversal signal because it indicates momentum is weakening despite price continuing its trend.
---
What This Script Does:
Calculates RSI (14-period)
Identifies three recent highs/lows in price and RSI
Checks for:
Bearish triple divergence: price makes 3 higher highs, RSI makes 3 lower highs.
**Bullish
Gioteen-NormThe "Gioteen-Norm" indicator is a versatile and powerful technical analysis tool designed to help traders identify key market conditions such as divergences, overbought/oversold levels, and trend strength. By normalizing price data relative to a moving average and standard deviation, this indicator provides a unique perspective on price behavior, making it easier to spot potential reversals or continuations in the market.
The indicator calculates a normalized value based on the difference between the selected price and its moving average, scaled by the standard deviation over a user-defined period. Additionally, an optional moving average of this normalized value (Green line) can be plotted to smooth the output and enhance signal clarity. This dual-line approach makes it an excellent tool for both short-term and long-term traders.
***Key Features
Divergence Detection: The Gioteen-Norm excels at identifying divergences between price action and the normalized indicator value. For example, if the price makes a higher high while Red line forms a lower high, it may signal a bearish divergence, hinting at a potential reversal.
Overbought/Oversold Conditions: Extreme values of Red line (e.g., significantly above or below zero) can indicate overbought or oversold conditions, helping traders anticipate pullbacks or bounces.
Trend Strength Insight: The normalized output reflects how far the price deviates from its average, providing a measure of momentum and trend strength.
**Customizable Parameters
Traders can adjust the period, moving average type, applied price, and shift to suit their trading style and timeframe.
**How It Works
Label1 (Red Line): Represents the normalized price deviation from a user-selected moving average (SMA, EMA, SMMA, or LWMA) divided by the standard deviation over the specified period. This line highlights the relative position of the price compared to its historical range.
Label2 (Green Line, Optional): A moving average of Label1, which smooths the normalized data to reduce noise and provide clearer signals. This can be toggled on or off via the "Draw MA" option.
**Inputs
Period: Length of the lookback period for normalization (default: 100).
MA Method: Type of moving average for normalization (SMA, EMA, SMMA, LWMA; default: EMA).
Applied Price: Price type used for calculation (Close, Open, High, Low, HL2, HLC3, HLCC4; default: Close).
Shift: Shifts the indicator forward or backward (default: 0).
Draw MA: Toggle the display of the Label2 moving average (default: true).
MA Period: Length of the moving average for Label2 (default: 50).
MA Method (Label2): Type of moving average for Label2 (SMA, EMA, SMMA, LWMA; default: SMA).
**How to Use
Divergence Trading: Look for discrepancies between price action and Label1. A bullish divergence (higher low in Label1 vs. lower low in price) may suggest a buying opportunity, while a bearish divergence could indicate a selling opportunity.
Overbought/Oversold Levels: Monitor extreme Label1 values. For instance, values significantly above +2 or below -2 could indicate overextension, though traders should define thresholds based on the asset and timeframe.
Trend Confirmation: Use Label2 to confirm trend direction. A rising Label2 suggests increasing bullish momentum, while a declining Label2 may indicate bearish pressure.
Combine with Other Tools: Pair Gioteen-Norm with support/resistance levels, RSI, or volume indicators for a more robust trading strategy.
**Notes
The indicator is non-overlay, meaning it plots below the price chart in a separate panel.
Avoid using a Period value of 1, as it may lead to unstable results due to insufficient data for standard deviation calculation.
This tool is best used as part of a broader trading system rather than in isolation.
**Why Use Gioteen-Norm?
The Gioteen-Norm indicator offers a fresh take on price normalization, blending statistical analysis with moving average techniques. Its flexibility and clarity make it suitable for traders of all levels—whether you're scalping on short timeframes or analyzing long-term trends. By publishing this for free, I hope to contribute to the TradingView community and help traders uncover hidden opportunities in the markets.
**Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice. Always backtest and validate any strategy before trading with real capital, and use proper risk management.
MACD & Bollinger Bands Overbought OversoldMACD & Bollinger Bands Reversal Detector
This indicator combines the power of MACD divergence analysis with Bollinger Bands to help traders identify potential reversal points in the market.
Key Features:
MACD Calculation & Divergence:
The script calculates the standard MACD components (MACD line, Signal line, and Histogram) using configurable fast, slow, and signal lengths. It includes a simplified divergence detection mechanism that flags potential bearish divergence—when the price makes a new swing high but the MACD fails to confirm the move. This divergence can serve as an early warning that the bullish momentum is waning.
Bollinger Bands:
A 20-period simple moving average (SMA) is used as the basis, with upper and lower bands drawn at 2 standard deviations. These bands help visualize overbought and oversold conditions. For example, a close at or above the upper band suggests the market may be overextended (overbought), while a close at or below the lower band may indicate oversold conditions.
Visual Alerts:
The indicator plots the Bollinger Bands on the chart along with labels marking overbought and oversold conditions. Additionally, it marks potential bearish divergence with a downward triangle, providing a quick visual cue to traders.
Usage Suggestions:
Confluence with Other Signals:
Use the divergence signals and Bollinger Band conditions as filters. For example, even if another indicator suggests a long entry, you might avoid it if the price is overbought or if MACD divergence warns of weakening momentum.
Customization:
All key parameters, such as the MACD lengths, Bollinger Band period, and multiplier, are fully configurable. This flexibility allows you to adjust the indicator to suit different markets or trading styles.
Disclaimer:
This script is provided for educational purposes only. Always perform your own analysis and backtesting before trading with live capital.
Alex JMA RSX Clone with Price & Divergence [LazyBear]Indicator Description:
RSX Indicator (RSXC_LB): This script is based on a clone of the JMA RSX (Relative Strength Index clone by LazyBear). It is a momentum-based indicator that helps identify overbought and oversold levels, as well as potential trend reversals.
Functional Changes:
Convergence is now marked with a white line on the RSX plot.
Bullish Divergence is marked with a green line, indicating potential upward movement.
Bearish Divergence is marked with a red line, indicating potential downward movement.
The default state is marked with a blue line.
Strong Divergences (both bullish and bearish) are highlighted with triangle markers on the chart.
Updated Features:
The script now visualizes convergence and divergence more clearly using distinct colors:
White: Convergence (indicates potential trend strength).
Green: Bullish divergence (possible price increase).
Red: Bearish divergence (possible price decrease).
Blue: Neutral/default state.
Triangle markers indicate strong divergences, making it easier for the user to spot critical moments.
This visual enhancement aims to provide clearer and more intuitive signals for traders using the RSX indicator, helping them identify trend changes and reversals more effectively.
Multi-Spectral RSI Deviations [AlgoAlpha]🌌 Multi-Spectral RSI Deviations by AlgoAlpha - Dive into Market Dynamics! 🌠
Dive deep into the essence of market trends with our 🚀 Multi-Spectral RSI Deviations indicator, a comprehensive tool designed by AlgoAlpha to enhance your trading strategy. By harnessing the power of multiple RSI lengths and innovative smoothing techniques, this indicator offers a unique perspective on market momentum and potential reversals.
🔍 Key Features:
🎨 Customizable up and down colors for immediate trend recognition.
🔢 Three RSI lengths for multi-layered market analysis.
🔄 Various Moving Average (MA) types including SMA, EMA, and more for tailored smoothing.
✅ Bullish and Bearish divergence plotting for spotting potential reversals.
🕵️♂️ Adjustable divergence sensitivity settings to fine-tune signal detection.
🔔 Built-in alerts for trend shifts and reversal conditions, ensuring you never miss a trading opportunity.
🚀 Quick Guide to Using the Multi-Spectral RSI Deviations Indicator
🛠 Add the Indicator: Search for "Multi-Spectral RSI Deviations" in TradingView's Indicators & Strategies. Adjust the RSI lengths and MA settings to suit your trading strategy.
🔍 Market Analysis: Keep an eye on the color changes for trend direction and use divergence plots to anticipate potential market reversals.
🔔 Alerts Setup: Activate the built-in alerts for trend shifts and reversals to stay ahead of the game without having to constantly monitor the charts.
🧠 How It Works:
At the core of the Multi-Spectral RSI Deviations indicator is its ability to analyze the market through various RSI lengths, providing a comprehensive view of momentum. The indicator calculates the Relative Strength Index (RSI) over three different periods, creating a spectrum of momentum insights. These RSI values are then compared to each other to identify the momentum shifts within the market.
To refine these insights, the differences between these RSI values are smoothed using a selected Moving Average type, such as SMA, EMA, etc., based on user preference. This smoothing process helps in highlighting the overall trend direction and potential reversal points with greater clarity.
Furthermore, the indicator employs a color-coding system, where the plotted line changes color based on the momentum's direction—shifting to an up color for positive momentum and a down color for negative momentum. This visual cue enables traders to quickly discern the market trend at a glance.
Divergences between the price action and the indicator's values are another cornerstone of this tool. By plotting potential bullish and bearish divergences, the indicator provides early signals of possible trend reversals, offering traders a strategic advantage.
Embrace the power of our 🌌 Multi-Spectral RSI Deviations and elevate your trading to stellar heights! 🌠✨
Fusion Traders - RSI Overbought/Oversold + Divergence IndicatorFusion Traders - RSI Overbought/Oversold + Divergence Indicator - new version
This indicator has lots of various add ons.
RSI overbought / oversold with changeable inputs
Divergence indicator
DESCRIPTION:
This script combines the Relative Strength Index ( RSI ), Moving Average and Divergence indicator to make a better decision when to enter or exit a trade.
- The Moving Average line (MA) has been made hidden by default but enhanced with an RSIMA cloud.
- When the RSI is above the selected MA it turns into green and when the RSI is below the select MA it turns into red.
- When the RSI is moving into the Overbought or Oversold area, some highlighted areas will appear.
- When some divergences or hidden divergences are detected an extra indication will be highlighted.
- When the divergence appear in the Overbought or Oversold area the more weight it give to make a decision.
- The same colour pallet has been used as the default candlestick colours so it looks familiar.
HOW TO USE:
The prerequisite is that we have some knowledge about the Elliot Wave Theory, the Fibonacci Retracement and the Fibonacci Extension tools.
We are hoping you like this indicator and added to your favourite indicators. If you have any question then comment below, and I'll do my best to help.
FEATURES:
• You can show/hide the RSI .
• You can show/hide the MA.
• You can show/hide the lRSIMA cloud.
• You can show/hide the Stoch RSI cloud.
• You can show/hide and adjust the Overbought and Oversold zones.
• You can show/hide and adjust the Overbought Extended and Oversold Extended zones.
• You can show/hide the Overbought and Oversold highlighted zones.
HOW TO GET ACCESS TO THE SCRIPT:
• Favorite the script and add it to your chart.
Devs Cumulative Delta candles with Moving Average and DivergenceDELTA = BUY Volume – SELL Volumes
Delta = Positive => Aggressiveness on the Buy side
Delta = Negative => Aggressiveness on the Sell side
If delta is greater than 0 you have more buying than selling pressure. If delta is less than 0, you have more selling than buying pressure.
When there is more Buying than Selling (Delta=Positive), the price candle is Green and when there is more Selling than Buying (Delta=Negative), the price candle is Red. We use delta to understand the relationship between buying or selling pressure and price.
Let’s imagine a price bar that reached the low for the day but delta was actually positive and the bar closed higher than it opened.
In simple terms we can describe this as:
Price made a new low
The bar closed higher
Delta demonstrated more buying than selling : Volume delta is a key metric to understand when making trading decisions based on volume and order flow. However, on its own it can be too much information to interpret quickly when trading in a volatile market.
What are Delta Bars?
Delta Bars is a candlestick representation of Delta. In other words, it has an Open, High (also called Delta Max), Low (also called Delta Min) and Close point in every candle (1min, 5min, 30min etc.)
The Delta Open in every candle is always 0
The Delta Close is the cumulative BUY less cumulative SELL at the close if the candle
The Delta Max is the maximum value of Delta during the candle session (lowest Delta Max possible = 0)
The Delta Min is the minimum value of Delta during the candle session (highest Delta Min possible = 0) The Delta bars are uncorrelated to the Tick Multiplier of the symbol.
Generally you would expect Price to move UP when Delta is positive and Price to move DOWN when Delta is negative. So what happens when the above rule is not followed. We have Divergence
Divergence:
Any two parameters that should be in sync (Price and Delta in this case) towards supporting a particular move (Up or Down) but are in reality not (in sync) form a Divergence
Cumulative volume delta takes the delta values for every bar and successively adds them together to visually provide as seen in the chart.
While volume delta is great for comparing delta bar to bar, cumulative volume delta is useful when determining buying or selling pressure at different price levels such as swing highs or lows. I just gave you a details regarding delta and delta bars.
What details would you see in the indicator??
When you apply this indicator on the chart, you will find the CD(Cumulative delta) candles, which move up and down the way price moves in a chart. Moreover, in case of a divergence, you will find a change in colour of delta candles. If the price is still green but the delta is negative, you will find a bullish divergence, marked with Yellow colour and if the price is red and you have a positive delta, you will have a bearish divergence, marked with blue coloured delta candle. Usually it has been seen that a repeated divergence generally depicts end of a trend or slow down of a trend.
Moreover, I have placed 2 moving averages in the script which you can customize as per your needs. I prefer 20 and 50 day MA for better accuracy as most reversals happen at 20 and 50 day MA.
This indicator works in almost all index, stocks, currencies excepting few where the volume past is invisible. This indicator purely works taking the buying and selling volume into consideration. Sometimes when you change the timeframe in chart, you may have to manually adjust for the display in chart.
Volume Accumulation Oscillator (VAO)The Volume Accumulation Oscillator (VAO) is a powerful momentum-based indicator designed to assess the strength of volume accumulation in a given asset. It helps traders identify periods of intense buying or selling pressure and potential trend reversals.
The VAO calculates the Net Volume Accumulation (NVA) by considering the volume, open, close, high, and low prices. It then applies exponential moving averages (EMAs) to smooth the NVA and calculates the VAO by comparing the smoothed NVA with its EMA over a specified signal period.
The VAO is plotted as a line chart, providing a clear visual representation of its values. Positive VAO values indicate strong bullish volume accumulation, suggesting potential upward price movement. Conversely, negative VAO values indicate significant selling pressure and the possibility of a downtrend.
To enhance the analysis, the indicator includes reference levels such as the zero line and +/-1 levels. These levels serve as important reference points for interpreting the VAO values and identifying key turning points in the market.
Additionally, the VAO histogram is included, which further illustrates the strength and direction of volume accumulation. The histogram bars are color-coded, with green bars representing positive VAO values and red bars representing negative VAO values.
The Volume Accumulation Oscillator is a versatile tool that can be used in various trading strategies. Traders can look for divergences between the VAO and the price chart to identify potential trend reversals. Combining the VAO with other technical analysis techniques can provide valuable insights into market dynamics and help traders make informed trading decisions.
Note: It is recommended to customize the indicator's parameters and conduct thorough backtesting to align it with your specific trading strategy and preferences before using it for live trading.
Disclaimer: This indicator is provided for educational and informational purposes only. Trading involves risks, and it is important to exercise caution and conduct your own analysis before making any investment decisions.
Overlay - HARSI + Divergences // All credit to © //@author=JayRogers & VuManChu Cipher B for their original Scripts (Open Source)
/ ====== ABOUT THIS INDICATOR
// I've combined some part of the code of the following indicators to get some alerts based on the Idea and Use section below :
// - RSI based Heikin Ashi candle oscillator
// - Divergence based on the VuManChu Cipher B
// -- This is the OVERLAY Version
//
// ====== ARTICLES and FURTHER READING
//
// - www.investopedia.com
//
// "Heikin-Ashi is a candlestick pattern technique that aims to reduce
// some of the market noise, creating a chart that highlights trend
// direction better than typical candlestick charts"
//
// ====== IDEA AND USE
// - The use of the HA RSI indicator when in the OverSold and OverBought
// area combined to a Divergence & a OB/OS buy/sell
// on the Cipher B by VuManChu.
// Can be useful as a confluence at S/R levels.
// *** Tip = 1 minute timeframe seems to work the best on FOREX
//
// *** Alerts :
// - The Divergence alert needs 2 bar to calculate,
// so alerts and dots as well, it will be placed on the right spot on
// the chart as per the offset added.
// - Use "Once Per Bar" for the alert, not per bar close, or you would
// have 1 extra bar delay
//
// ** Contributions : Remodel some part of the original script in order to get :
// --> Total conditions for an alert and a dot to display, resumed :
// - Buy/Sell in OB/OS
// - Divergence Buy/Sell
// - RSI Overlay is in OB/OS on current bar (or was the bar before)
// when both Buy/Sell dots from VMC appears.
//
// ====== DISCLAIMER
// For Tradingview & Pinescript moderators =
// This follow a strategy where RSI Overlay from @JayRogers script shall be
// in OB/OS zone, while combining it with the VuManChu Cipher B Divergences
// Buy&Sell + Buy/sell alerts In OB/OS areas.
// Any trade decisions you make are entirely your own responsibility.
//
// Thanks to dynausmaux for the code
// Thanks to falconCoin for inspired me to start this.
// Thanks to LazyBear for WaveTrend Oscillator
// Thanks to RicardoSantos for
HARSI + Divergences// All credit to © //@author=JayRogers & VuManChu Cipher B for their original Scripts (Open Source)
/ ====== ABOUT THIS INDICATOR
// I've combined some part of the code of the following indicators to get some alerts based on the Idea and Use section below :
// - RSI based Heikin Ashi candle oscillator
// - Divergence based on the VuManChu Cipher B
//
// ====== ARTICLES and FURTHER READING
//
// - www.investopedia.com
//
// "Heikin-Ashi is a candlestick pattern technique that aims to reduce
// some of the market noise, creating a chart that highlights trend
// direction better than typical candlestick charts"
//
// ====== IDEA AND USE
// - The use of the HA RSI indicator when in the OverSold and OverBought
// area combined to a Divergence & a OB/OS buy/sell
// on the Cipher B by VuManChu.
// Can be useful as a confluence at S/R levels.
// *** Tip = 1 minute timeframe seems to work the best on FOREX
//
// *** Alerts :
// - The Divergence alert needs 2 bar to calculate,
// so alerts and dots as well, it will be placed on the right spot on
// the chart as per the offset added.
// - Use "Once Per Bar" for the alert, not per bar close, or you would
// have 1 extra bar delay
//
// ** Contributions : Remodel some part of the original script in order to get :
// --> Total conditions for an alert and a dot to display, resumed :
// - Buy/Sell in OB/OS
// - Divergence Buy/Sell
// - RSI Overlay is in OB/OS on current bar (or was the bar before)
// when both Buy/Sell dots from VMC appears.
//
// ====== DISCLAIMER
// For Tradingview & Pinescript moderators =
// This follow a strategy where RSI Overlay from @JayRogers script shall be
// in OB/OS zone, while combining it with the VuManChu Cipher B Divergences
// Buy&Sell + Buy/sell alerts In OB/OS areas.
// Any trade decisions you make are entirely your own responsibility.
//
// Thanks to dynausmaux for the code
// Thanks to falconCoin for inspired me to start this.
// Thanks to LazyBear for WaveTrend Oscillator
// Thanks to RicardoSantos for
KDJ [JoseMetal]============
ENGLISH
============
- Description:
This indicator is a modification of the common KDJ, as you may know the KDJ is just a Stochastic (K+D) with an extra line which is J, the J line can be used as "movement strength" filter and also for overbought and oversold conditions anticipating the K and D.
In this particular modification I've tested many different settings to find the best possible ones, it also has customizable MA type for the calculation and a histogram calculated with the difference between J and D, this is useful to spot divergences and determine trend strength easily, the histogram has a smooth option to make it even more clearer.
- Visual:
So you have K and D from the Stochastic (green and red lines) as well as the J line (white).
Then you have the histogram to show the difference between J and D, the histogram has a similar color scale as a MACD to determine the strength of the trend easily, lighter = stronger, darker = weaker, there are 2 default customizable color setups by the way.
Crossovers between lines (which generates LONG and SHORT entries) are presented with a DOT (green for long and red for short).
Background color also changes, green for bullish, red for bearish, crossovers also marks the background color even more.
- Customization:
As usual in my indicators, everything is customizable, you can pick yours, settings, colors, figures etc.
- Usage and recommendations:
I've tested many different setting setups, for now, the best are the default (14, 21, 21) for the KDJ and (7) for the histogram smooth, 20 and 80 for oversold and overbought levels.
Histogram is great to spot divergences, I recommend to wait for a divergence on a 4H timeframe and wait for the LONG or SHORT signal to appear to enter a trade in the divergence direction.
Enjoy!
============
ESPAÑOL
============
- Descripción:
Éste indicador es una modificación del KDJ común, como sabrás el KDJ es solo un estocástico (K+D) con una línea extra que es la J, la línea J puede ser usada como filtro de "fuerza de movimiento" y también para condiciones de sobrecompra y sobreventa anticipando la K y la D.
En esta modificación en particular he probado muchas configuraciones diferentes para encontrar las mejores posibles, también tiene un tipo de MA personalizable para el cálculo y un histograma calculado con la diferencia entre J y D, esto es útil para detectar divergencias y determinar la fuerza de la tendencia fácilmente, el histograma tiene una opción suave para hacerlo aún más claro.
- Visual:
Por lo tanto, tenemos por un lado la K y D del estocástico (líneas verde y roja), así como la línea J (blanco).
Luego tenemos el histograma para mostrar la diferencia entre J y D, el histograma tiene una escala de colores similar a la del MACD para determinar la fuerza de la tendencia fácilmente, más claro = más fuerte, más oscuro = más débil, hay 2 escalas de color personalizables por defecto.
Los cruces entre líneas (que generan entradas LARGAS y CORTAS) se presentan con un PUNTO (verde para LARGO y rojo para CORTO).
El color de fondo también cambia, verde para alcista, rojo para bajista, los cruces también resaltan el color de fondo aún más.
- Personalización:
Como es habitual en mis indicadores, todo es personalizable, puedes elegir los tuyos, ajustes, colores, figuras, etc.
- Uso y recomendaciones:
He probado muchas configuraciones diferentes, por ahora, las mejores son las predeterminadas (14, 21, 21) para el KDJ y (7) para el histograma suave, 20 y 80 para los niveles de sobreventa y sobrecompra.
El histograma es excelente para detectar divergencias, recomiendo esperar una divergencia en un marco de tiempo de 4H y esperar a que aparezca la señal de LARGO o CORTO para entrar en una operación en la dirección de la divergencia.
¡Que lo disfrutéis!
Cryptogrithm's Secret Momentum and Volatility IndicatorThis indicator is hard-coded for Bitcoin, but you may try it on other asset classes/coins. I have not updated this indicator in over 3 years, but it seems to still work very well for Bitcoin.
This indicator is NOT for beginners and is directed towards intermediate/advanced traders with a sensibility to agree/disagree with what this indicator is signalling (common sense).
This indicator was developed back in 2018 and I has not been maintained since, which is the reason why I am releasing it. (It still works great though! At the time of this writing of May 2022).
How to use:
Terms:
PA (Price Action): Literally the candlestick formations on your chart (and the trend formation). If you don't know how to read and understand price action, I will make a fast-track video/guide on this later (but in the meanwhile, you need to begin by learning Order-Flow Analysis, please google it first before asking).
CG Level (Cryptogrithm Level/Yellow Line): PA level above = bullish, PA level below = bearish
CG Bands (Cryptogrithm Bands): This is similar to how bollingers work, you can use this the same was as bollinger bands. The only difference is that the CG bands are more strict with the upper and lower levels as it uses different calculations to hug the price tighter allowing it to be more reactive to drastic price changes (earlier signals for oversold/overbought).
CG Upper Band (Red Upper Line): Above this upper bound line means overbought.
CG Middle Band (Light Blue Line): If PA trades above this line, the current PA trend is bullish continuing in the uptrend. If PA trades below this line, the current PA trend is bearish continuing in the downtrend. This band should only be used for short-term trends.
CG Lower Band (Green Lower Line): Below this lower bound line means oversold.
What the CG Level (yellow line) tells you:
PA is trading above CG Level = Bullish
PA is trading below CG Level = Bearish
Distance between CG Level and price = Momentum
What this means is that the further away the price is from the CG Level, the greater the momentum of the current PA trend. An increasing gap between the CG Level and PA indicates the price's strength (momentum) towards the current upward/downward trend. Basically when the PA and CG Level diverge, it means that the momentum is increasing in the current trend and when they converge, the current trend is losing momentum and the direction of the PA trend may flip towards the other direction (momentum flip).
PA+CG Level Momentum:
To use the CG Level as a momentum indicator, you need to pay attention to how the price and the CG level are moving away/closer from each other:
PA + CG Level Diverges = Momentum Increasing
PA + CG Level Converges = Momentum Decreasing
Examples (kind of common sense, but just for clarity):
Case 1: Bullish Divergence (Bullish): The PA is ABOVE and trending AWAY above from the CG Level = very bullish, this means that momentum is increasing towards the upside and larger moves will come (increasing gap between the price and CG Level)
Case 2: Bearish Convergence (Bearish): - The PA is ABOVE the CG Level and trending TOWARDS the CG Level = bearish, there is a possibility that the upward trend is ending. Look to start closing off long positions until case 1 (divergence) occurs again.
Case 3: Neutral - The PA is trading on the CG Level (no clear divergence or convergence between the PA and CG Level) = Indicates a back and forth (tug of war) between bears and bulls. Beware of choppy price patterns as the trend is undecisive until either supply/liquidity is dried out and a winner between bull/bear is chosen. This is a no trade zone, but do as you wish.
Case 4: Bearish Divergence (Bearish): The PA is BELOW and trending AWAY BELOW from the CG Level = very bearish, this means that momentum is increasing towards the downside and larger downward moves will come (increasing gap between the price and CG Level).
Case 5: Bullish Convergence (Bullish): - The PA is BELOW the CG Level and trending TOWARDS the CG Level = bullish, there is a possibility that the downward trend is ending and a trend flip is occuring. Look to start closing off short positions until case 4 (divergence) occurs again.
CG Bands + CG Level: You can use the CG bands instead of the PA candles to get a cleaner interpretation of reading the momentum. I won't go into detail as this is pretty self-explanatory. It is the same explanation as PA+CG Level Momentum, but you are replacing the PA candles with the CG Bands for interpretation. So instead of the PA converging/diverging from the CG Level, the Upper and Lower Bound levels are converging/diverging from the CG level instead.
Convergence: CG Level (yellow line) trades inside the CG bands
Divergence: CG Level (yellow line) trades outside the CG bands
Bullish/Bearish depends on whether the CG Band is trading below or above the CG level. If CG Band is above the CG Level, this is bullish. If CG Band is below the CG level, this is bearish.
Crosses (PA or CG Band crosses with CG level): This typically indicates volatility is incoming.
There are MANY MANY MANY other ways to use this indicator that is not explained here and even other undiscovered methods. Use some common sense as to how this indicator works (it is a momentum indicator and volatility predictor). You can get pretty creative and apply your own methods / knowledge to it and look for patterns that occur. Feel free to comment and share what you came up with!
KINSKI RSI/RSX DivergenceThe Relative Strength Index (RSI) is a momentum indicator that measures the magnitude of recent price changes to analyse overbought or oversold conditions. RSI values range from 0 to 100.
The Relative Strength Index (RSI) is calculated using the following formula: RSI = 100 - 100 / (1 + RS) Where RS = average gain of upward phases during the specified time frame / average loss of downward phases during the specified time frame.
An asset price is considered overbought (due for a correction) if the RSI is above 70 and oversold (due for a recovery) if it is below 30. More extreme values (80/20) are also used to avoid false readings.
In a strong uptrend, the RSI often reaches 70 and above for long periods, and downtrends can remain at 30 or below for long periods.
Divergence detection in RSI is one of the important functions of this indicator. The reason is that an RSI divergence is a more reliable signal than the overbought and oversold indicators themselves. You will get overbought and oversold signals all the time. However, the divergence is a rare event.
In general, RSI divergence means that the RSI indicator is moving in the opposite direction compared to the price. So while the price is moving, the RSI is telling us in advance to expect a change in direction.
Positive RSI divergence
A positive RSI divergence is when the price trend has lower lows and lower highs, while the RSI indicator does the opposite - higher highs and higher lows. The price continues to fall while the RSI indicator begins to rise.
Negative RSI divergence
Negative RSI divergence is the opposite of positive divergence. It applies to uptrends where the price reaches higher highs and higher lows. However, the RSI shows lower highs and lower lows - the price goes up but the RSI goes down. The price closes with higher highs and higher lows, while the RSI indicator does the opposite - lower lows and lower highs, confirming a negative divergence. As a result, there is a sharp decline in the price.
RSX Indicator - Base script: SharkCIA by Jaggedsoft (Linked in the source code)
The RSX is the noise-free variant of the more popular RSI oscillator. Typically, any indicator can be smoothed by applying a moving average. However, a major disadvantage of such a method is that there is a time lag between the indicator and the price. RSX Indicator attempts to do this without signal delay.
What distinguishes this indicator from others of this type?
Display of RSI indicator together/alone with RSX and RSI smoothed
display of the RSI indicator (option: "RSI: On/Off")
display of the RSX indicator (option: "RSX: On/Off")
display of the RSI indicator as smoothed version (option: "RSI Smoothed: On/Off")
offers the possibility to choose between different view variants
many settings for additional information, layout and divergence identification
enables completely new comparison possibilities and insights with the additional RSI variants
MACD including 6-period Forecast and Divergences█ OVERVIEW
This is my personal interpretation of the classic MACD Indicator. I am using the MACD as part of my analysis, and often I was wondering when I can expect the next signal (e.g. a Histogram cross). As I had come across some EMA forecast logics on tradingview, my goal was to use the EMA forecast calculation as basis to come to a complete MACD forecast. Here is the result.
Starting point is the classic MACD which is then plotted with MACD-Line, Signal Line and Histogram. In addition to the classic MACD, a 6 period Forecast for MACD, Signal and Histogram is available and divergences can be displayed on either the Histogram or the MACD Line.
Important:
As I am considering the closing price of the current candle as the basis for the calculation, the forecast values will REPAINT. But in my opinion this is fine as this indicator will not provide direct trading signals, but more an outlook into a potential future.
█ CALCULATION LOGIC
Below some details regarding the additional functionalities:
MACD Forecast:
The MACD Forecast is mainly based on a combination of EMA Forecasts. The inspiration for this basic forecast calculation is taken from the below tradingview members:
--> EMA Forecast input taken from "Triple MA Forecast" by yatrader2
--> Forecast Bias input taken from "Fancy Bollinger Bands" by BigBitsIO
When showing the forecast, the following options are available:
- Forecast Type: Determines if the Forecast is assuming a Flat price (last values of the MA calculation are replaced by current value) or if a Linear Regression is taken
- Number of candles taken for Linear Regression Calculation
- Bias of Forecast (Based on the recent Average True Range, the forecast values are either more bullish or more bearish calculated. "Neutral" turns off this function)
- Number of ATR Periods used to calculate Bias adjustment value
- Possibility to weight the Bias via a Multiplier - Default value is 1
Based on the above inputs, the forecasted values for MACD, Signal Line and Histogram are calculated and plotted for the next 6 periods.
Divergence Detection:
Based on the default tradingview divergence script with some adjustments:
- User can select to use either Histogram or MACD Line as basis for Divergence detection (Histogram by default)
- User can select if Divergence detection should be based on the candles including Wicks or only the Candle Bodies (Wicks by default)
█ DISCLAIMER
This is an experimental indicator and I do not know if my theory works in real life. So treat this not as financial advise, but purely for entertainment and educational purposes.
I publish this code open so that everyone can re-use it or hopefully even improve it.
Let me know if you have any ideas for improvement and if it is within my coding capabilities (which to be honest are quite limited), I will try to accomodate it.
Have fun.
[Sisyphe] rsi divergences [RSI side]This indicator must be completed by rsi divergences
It plots rsi regular divergences until five levels back and prioritize the largest divergence.
[Sisyphe] rsi divergences [chart side]This indicator must be completed by rsi divergences
It plots rsi regular divergences until five levels back and prioritize the largest divergence.
RSI Divergence (Pine v4)Summary
Script highlights the divergences in RSI worth taking notice of. By comparing current envionment to relative sample we can see more than
the standard divergences that many catch through analysis. This framework aims to remove the bias or noise many see when looking for any supporting
evidence to their given emotion on a market.
Step-by-Step Walkthrough
Calculates RSI
Sets Divergence Framework
-------> a. Defining variable values, mandatory in Pine 4)
-------> b. Identify Divergences --> "If bar with lowest / highest is current bar, use it's value"
Compare high of current bar being examined with previous bar's high --> "If curr bar high is higher than the max bar high in the lookback window range"
Finds pivot point with at least 2 right candles with lower value
Finds pivot point with at least 2 right candles with lower value
Plot
Set Alerts
This RSI Script is intended for public use and can be shared / implemented as needed
Questions? I do not monitor my TradingView inbox. See email address in signature at the bottom of this page for contact information.
Momentum Divergence OscillatorMomentum Divergence Oscillator is a customizable oscillator that measures the percentage distance between price and a user-defined moving average (SMA, EMA, WMA, or RMA) to gauge momentum strength. The script includes two smoothed oscillator lines (Momentum and Signal) and automatically detects both bullish and bearish regular divergences based on momentum vs. price action pivots.
🔧 Features:
Selectable price basis: Close, HL2, HLC3, or OHLC4
Selectable momentum baseline type: SMA, EMA, WMA, RMA
Custom smoothing options for momentum and signal lines
Bullish and Bearish Divergence detection, with labeled plot points
Built-in alerts for regular divergences
Compatible with any timeframe or asset
RSX Divergence ProRSX Divergence Pro detects regular and hidden divergences using a smoothed Relative Strength Xtra (RSX) oscillator. It helps traders identify trend reversals and trend continuation signals with clear visual labels. Users can enable/disable divergences, adjust RSX length, customize label colors/sizes, and choose different price types. The indicator also includes dynamic RSX coloration and adjustable overbought/oversold levels for better market insights. Perfect for traders seeking precision in divergence detection and smoother signals than traditional RSI. 🚀
TICK Charting & DivergencesOverview
The TICK index measures the number of NYSE stocks making an uptick versus a downtick. This indicator identifies divergences between price action and TICK readings, potentially signaling trend reversals.
Key Features
Real-time TICK monitoring during market hours (9:30 AM - 4:00 PM ET)
Customizable smoothing factor for TICK values
Regular and hidden divergences detection
Reference lines at ±500 and ±1000 levels
Current TICK value display
TICK Internals Interpretation
Above +1000: Strong buying pressure, potential exhaustion
Above +500: Moderate buying pressure
Below -500: Moderate selling pressure
Below -1000: Strong selling pressure, potential exhaustion
Best Practices
Use in conjunction with support/resistance levels, market trend direction, and time of day.
Higher probability setups with multiple timeframe confirmation, divergence at key price levels, and extreme TICK readings (±1000).
Settings Optimization
Smoothing Factor: 1-3 (lower for faster signals)
Pivot Lookback: 5-10 bars (adjust based on timeframe)
Range: 5-60 bars (wider for longer-term signals)
Warning Signs
Multiple failed divergences
Choppy price action
Low volume periods
Major news events pending
Remember: TICK divergences are not guaranteed signals. Always use proper risk management and combine with other technical analysis tools.
ATR Adaptive RSI OscillatorThe " ATR Adaptive RSI Oscillator " is a versatile technical analysis tool designed to help traders make informed decisions in dynamic market conditions. It combines the Relative Strength Index (RSI) with the Average True Range (ATR) to provide adaptive and responsive insights into price trends.
Key Features :
Adaptive RSI Periods : The indicator introduces the concept of adaptive RSI periods based on the ATR (Average True Range) of the market. When enabled, it dynamically adjusts the RSI calculation period, offering longer periods during high volatility and shorter periods during low volatility. This adaptability enhances the accuracy of RSI signals across varying market conditions.
Volume-Based Smoothing : The indicator includes a smoothing feature that computes a time-decayed weighted moving average of RSI values over the last two bars, using volume-based weights. This approach offers a time-sensitive smoothing effect, reducing noise for a clearer view of trend strength compared to the standard RSI.
Divergence Detection : Traders can enable divergence detection to identify potential reversal points in the market. The indicator highlights regular bullish and bearish divergences, providing valuable insights into market sentiment shifts.
Customizable Parameters : Traders have the flexibility to customize various parameters, including RSI length, adaptive mode, ATR length, and divergence settings, to tailor the indicator to their trading strategy.
Overbought and Oversold Levels : The indicator includes overbought (OB) and oversold (OS) boundary lines that can be adjusted to suit individual preferences. These levels help traders identify potential reversal zones.
The "ATR Adaptive RSI Oscillator" is a powerful tool for traders seeking to adapt their trading strategies to changing market dynamics. Whether you're a trend follower or a contrarian trader, this indicator provides valuable insights to support your decision-making process.
Dark Energy Divergence OscillatorThe Dark Energy Divergence Oscillator (DEDO)
What makes The Universe grow at an accelerating pace?
Dark Energy.
What makes The Economy grow at an accelerating pace?
Debt.
Debt is the Dark Energy of The Economy.
I pronounce DEDO "Deed-oh", but variations are fine with me.
Note: The Pine Script version of DEDO is improved from the original formula, which used a constant all-time high calculation in the normalization factor. This was technically not as accurate for calculating liquidity pressure in historical data because it meant that historical prices were being tested against future liquidity factors. Now using Pine, the functions can be normalized for the bar at the time of calculation, so the liquidity factors are normalized per candle, not across the entire series, which feels like an improvement to me.
Thought Process:
It's all about the liquidity. What I started with is a correlation between major stock indices such as SPX and WRESBAL , a balance sheet metric on FRED
After September 2008, when QE was initiated, many asset valuations started to follow more closely with liquidity factors. This led me to create a function that could combine asset prices and liquidity in WRESBAL , in order to calculate their divergence and chart the signal in TradingView.
The original formula:
First, we don't want "non-QE" data. we only want data for the market affected by QE .
So, find SPX on the day of pre-QE: 1255.08 and subtract that from the 2022 top 4818.62 = 3563.54
With this post-QE SPX range, now you can normalize the price level simply by dividing by the range = ( SPX -1255.08)/3563.54)
Normalization produces values from 0 to 1 so that they can be compared with other normalized figures.
In order to test the 0 to 1 normalized SPX range measure against the liquidity number, WRESBAL , it's the same idea: normalize it using the max as the denominator and you get a 0 to 1 liquidity index:
( WRESBAL /4276000000000)
Subtract one from the other to get the divergence:
(( WRESBAL /4276000000000)-(( SPX -1255.08)/3563.54))*10
x10 to reduce decimal places, but this option is configurable in DEDO's input settings tab.
Positive values indicate there's ample liquidity to hold up price or even create bullish momentum in some cases. Negative values mean price levels are potentially extended beyond what liquidity levels can support.
Note: many viewers of the charts on social media wanted the values to go down in alignment with price moving down, so inverting the chart is what I do with Option + I. I like the fact that negative values represent a deficit in liquidity to hold up price but that's just me.
Now with Pine Script and some help from other liquidity focused accounts on TradingView , I was able to derive a script that includes central bank liquidity and Reverse Repo liquidity drain, all in one algorithm, with adjustable settings.
Central bank assets included in this version:
-JPY (Japan)
-CNY (China)
-UK (British Pound)
-SNB (Swiss National Bank)
-ECB (European Central Bank )
Central Bank assets can be adjusted to an allocation % so that the formula is adjusted for the market cap of the asset.
A handy table in the lower right corner displays useful information about the asset market cap, and percentage it represents in the liquidity pool.
Reverse repo soak is also an optional addition in the Input settings using the RRPONTSYD value from FRED. This value is subtracted from global liquidity used to determine divergence since it is swept away from markets when residing in the Fed's reverse repo facility.
There is an option to draw a line at the Zero bound. This provides a convenience so that the line doesn't keep having to be redrawn on every chart. The normalized equation produces a value that should oscillate around zero, as price/valuation grows past liquidity support, falls under it, and repeats in cycles.