MACD 4C with DivergenceMACD 4C Indicator with Divergence
This indicator, named MACD 4C, enhances the traditional MACD (Moving Average Convergence Divergence) by providing a visually intuitive representation with four distinct colors for the histogram bars. It offers a clear interpretation of market momentum and potential trend reversals.
Key Features:
Customizable Parameters: Users can adjust the fast and slow moving average periods along with the signal smoothing parameter to tailor the indicator to their preferred trading style and market conditions.
Four-color Histogram: The histogram bars are color-coded for easy interpretation. Lime and green bars indicate increasing bullish momentum, while maroon and red bars signify increasing bearish momentum.
Bullish and Bearish Divergence Detection: The indicator identifies bullish and bearish divergences between the MACD histogram and price action. Bullish divergence occurs when the price makes a lower low while the MACD histogram forms a higher low, indicating potential bullish reversal. Conversely, bearish divergence occurs when the price makes a higher high while the MACD histogram forms a lower high, suggesting a potential bearish reversal.
How to Use:
Trend Confirmation: Monitor the color of the histogram bars. A series of green (or lime) bars suggests a strengthening bullish trend, while a series of red (or maroon) bars indicates a strengthening bearish trend.
Divergence Identification: Watch for divergences between the MACD histogram and price action. Bullish divergence may signal a potential bullish reversal, while bearish divergence may indicate a potential bearish reversal. These signals can be used in conjunction with other technical analysis tools to confirm trade entries and exits.
The MACD 4C indicator was developed by user vkno422 You can find the original author and their work on their TradingView profile: www.tradingview.com
Dywergencja
[GYTS-Pro] Signal Provider | WaveTrend 4D with GDM + QMCWaveTrend 4D with GDM + QMC (Professional Edition)
🌸 " 📡 Signal Provider" in GoemonYae Trading System (GYTS) 🌸
WaveTrend 4D (WT4D) is an extension of the incredible WaveTrend 3D (2022, Justin Dehorty) . This oscillator elevates the classic WaveTrend by integrating advanced mathematical models for a multi-dimensional view of market momentum, capturing subtle shifts and trends that traditional indicators might miss. Each oscillator layer uses a combination of normalised derivatives, hyperbolic tangent transformations, and dual-pole filtering (John Ehlers' SuperSmoother), providing a normalised and smooth signals.
WT4D strives to help discriminating high-quality signals from the indicator by introducing the Gradient Divergence Measure (GDM) and Quantile Median Crosses (QMC) -- see below for more information.
WaveTrend 4D is a "📡 Signal Provider" in the 🌸 GoemonYae Trading System (GYTS) 🌸. Multiple 📡 Signal Providers connect to a GYTS "🧬 Flux Composer" to find confluence. On its turn, the Flux Composer can be connected to the GYTS "🎼 Order Orchestrator" for backtesting and trade automation. However, WaveTrend 4D is a wonderful indicator on its own as well.
🌸 --- MAIN FEATURES --- 🌸
- The focus is on two type of signals: divergences between the overall trend and the waves (GDM) and the weakening of strong trends (QMC)
- The name "WaveTrend 4D" is derived from the usage of 4 dimensions, representing different frequencies or timeframes. This gives the opportunity to use 2 sets of 3 frequencies to find divergences. Next to the "fast", "normal" and "slow" frequency, the fourth frequency is called "lethargic" (very slow).
- High probability trading involves diligently determining the significance of signals. For this purpose, a novel "Gradient Divergence Measure" (GDM) is developed to signify the strength of divergence signals and are drawn as triangles next to the divergence circles.
- Another and powerful approach is to use the frequencies' crossing of the median (zero) line. We seek to only signal reversals after a significant trend, and call this the "Quantile Median Crosses" (QMC).
More information the GDM and QMC and details of all features are described below.
🌸 --- GRADIENT DIVERGENCE MEASURE (GDM) --- 🌸
💮 Introduction
--
The GDM dynamically calculates a composite measure based on multiple factors. Unlike traditional binary divergence indicators, GDM employs a continuous value system to capture the nuanced dynamics of market behaviour. This methodology allows traders and analysts to assess the potency of divergence signals with greater precision, facilitating more informed decision-making processes.
💮 Methodology
--
The GDM is calculated using a composite formula that integrates various market dynamics. At its core, it consists of six components listed below, each weighted to optimize the indicator's responsiveness to market conditions:
The magnitude of relative change between waves -- A larger difference between the waves, i.e. lower high or higher low could signify a stronger divergence.
The absolute value of the latest wave -- The strength of the latest wave provides insight into the extremity of the market conditions.
Slope of the divergence -- The slope between the two points of divergence essentially measures the rate of change in the frequency\'s value over time. It captures both the direction and the steepness of the indicator’s move between two waves.
The magnitude of relative change of the price -- A divergence means that the oscillator shows an opposite pattern than price action. Thus, if the price makes a significantly higher high or lower low, but the indicator does not, this discrepancy can be used to measure the divergence strength. This components measures the price's extrema during the crosses of the indicator's waves.
Higher timeframe's frequency trend -- Similarly, instead of looking at the price directly, this component measures the more general trend of the price by using the higher timeframe frequency (i.e. the slow frequency when looking at divergences of the normal frequency).
Time duration -- Lastly, the time duration between the two points of a divergence can also be a factor. A divergence that spans over a longer period might indicate a more significant market sentiment shift.
Note that these 6 components are not independent, e.g. the slope is actually the result of the magnitude between waves, the absolute value and time duration. However, the default GDM is carefully tuned to include all these features without being too sensitive to outliers.
💮 Tuning the GDM
--
At the same time, different people have different ideas of what factors are important to denote a "strong" divergence. For this reason, in the 🧰 Professional Edition of this indicator, as opposed to the 🤲 Community Edition, the user can select between different "GDM profiles" that resemble a certain approach:
Upon initiating the GDM indicator, users are prompted to select one of six distinct profiles. Each profile adjusts the indicator’s parameters to optimize performance under different market scenarios:
balanced : Offers a general approach, with a balanced assessment of market conditions without specific focus on any one aspect.
regular divergence : Emphasises price action, ideal for identifying classical divergence patterns where price and momentum diverge.
wavetrend focus : Minimises the influence of price action, concentrating on the WaveTrend oscillator’s behaviour for trend analysis.
short-term waves : Prioritises the slope of the waves, targeting traders interested in short-term market movements and potential inflection points.
long-term waves : Extends the analysis period, focusing on longer-term market trends and wave duration for strategic positioning.
overbought/oversold : Highlights extreme conditions in market valuation, useful for identifying potential reversal points from overbought or oversold levels.
The 🎩 Ultimate Edition takes it a step further and gives full freedom to dial in weights for each of the 6 components. The GDM formula is set up in such way to accommodate ease of use and react logically to these parameters. Having said that, the default GDM calculation should be more than sufficient for most cases.
Another way of tuning the GDM is to dial in the "sensitivity". This controls the extent of normalisation between signals, and essentially affects how often strong GDMs appear. At the conservative end (higher sensitivity), the strong GDMs are less frequent but are relatively significant, while with a lower sensitivity the strong GDMs appear more frequent.
💮 GDM on the Oscillator
--
Coming back to the indicator, the GDMs are represented by triangles and their value represents the strength. A value close to `1` signifies a strong bearish divergence and thus a possible reversal of continuation of a downtrend. Similarly, a value close to `-1` signifies a strong bullish divergence.
Note that there are two colour sets which can be enabled and disabled. One uses crosses between the fast and normal frequencies (with the slow frequency acting as the price trend with which there should be an opposite interaction -- "divergence"). Similarly, crosses between the normal and slow frequencies (with the lethargic (the most slow) frequency acting as the price trend) are used to find divergences on a higher timeframe.
🌸 --- QUANTILE MEDIAN CROSSES (QMC) --- 🌸
💮 Introduction
--
A different and powerful approach is to use the frequencies' crossing of the median (zero) line. This would signify a continuation of the reversal. However, also here, not all of those crossings would be trades with a high probability of success. For this reason, we seek to only consider reversals after the most strong trends start to show weakness. We call these reversals the "Quantile Median Crosses" (QMC), derived from the methodology.
💮 Methodology
--
To find this "most strong trends", we calculate the integral ("the area") of a frequency between all historical median crosses, and take an upper quantile of those integrals. This means that when the series is crossing the median in often (consolidation), the ares between those crosses would be small. But if there was a strong momentum, and the series would separate itself significantly from the median and would do so for a long time, its area would be large.
So after considering all the past integrals, we take the upper quantile of those (i.e. sort all integral and for example take the top 5%) and if the latest trend's integral was in this upper quantile, it is considered "significant". Hence, the name "quantile" in the name "Quantile Median Cross"
💮 Tuning the QMC
--
The QMC is easily tuned by its "sensitivity". This basically represents a set of quantile bounds for the normal, slow and lethargic series. We have set these 3 parameters for each sensitivity profile after careful testing. The 🎩 Ultimate Edition gives full control for each quantile bound.
💮 QMC on the Oscillator
--
The QMC is shown as a label "🔴" above the median or with "🟢" below the median. In the 🎩 Ultimate Edition, the user instead sees the exact quantile and the number of samples. The normal frequency has a "bronze" colour, the slow frequency "silver" and the lethargic is "gold". In addition to the labels, there are also diamond shapes in the same colour drawn on the median in the oscillator. This represents the previous median crossing, and helps the user to see between which two points the integral is calculated.
🌸 --- DETAILED FEATURES --- 🌸
As discussed, at its core, the main signals are the Gradient Divergence Signals (GDM) and Quantile Median Crosses (QMC). However, there are more very powerful features that this 📡 Signal Provider can include. Below is a list of all features and we differentiate the availability of a feature per 📡 Signal Provider version by using these icons: 🤲 Community Edition; 🧰 Professional Edition; 🎩 Ultimate Edition.
Before going into the features, there are two important aspects to note: As this is a 📡 Signal Provider, it can be connected to the GYTS 🧬 Flux Composer and this is possible for each edition (i.e. the 🤲 Community Edition 📡 Signal Composer works with the 🤲 Community Edition 🧬 Flux Composer, and the same holds for the 🧰 Professional and 🎩 Ultimate Editions). Contrary to most other indicators that connect with each other, the signals that are passed are not just binary signals ("buy" or "sell") but pass the actual GDM and QMC values. This gives the opportunity in the 🧬 Flux Composer to more accurately use multiple signals with different strengths to finally give an overall signal.
The second important aspect is that for the 🤲 Community Edition, there are two versions of this 📡 Signal Provider: one that has the GDM feature and another the QMC feature. Besides that, the list below depicts a fairly complete overview of all the features across different versions:
( 🤲 🧰 🎩 ) Four Dimensions -- All four dimensions are available for each edition. The input data can also be transformed with an EMA or CoG as in the original WaveTrend 3D.
( -- 🧰 🎩 ) Both GDM and QMC -- Only the Pro and Ult versions include both the GDM and QMC in one indicator
( 🤲 🧰 🎩 ) Custom indicator name -- There's an option to give a name to the indicator which will be displayed on the chart. On its own, it might not be helpful, but in the GoemonYae Trading System (GYTS) suite, it helps to identify the different Signal Providers.
( 🤲 🧰 🎩 ) Visual improvements -- As in the original WaveTrend 3D, there are various ways the indicator can be displayed, including emphasising a certain frequency, a "mirror mode" and separating each frequency. We have expanded on some of these options. For example, the divergences, GDMs and QMCs are also displayed when the frequencies are separated, the mirror mode works with the emphasised frequency, there are more options to control the width of the emphasised frequency and each frequency can be enabled or disabled.
( 🤲 🧰 🎩 ) Support for HTF -- The indicator works on higher timeframes than the current chart and all parameters and calculations are scaled accordingly.
( __ 🧰 🎩 ) Support for other tickers -- There is also an option to select another ticker than the current chart. This especially makes sense in the 🌸 GYTS suite 🌸, where multiple Signal Providers are combined to find confluence. For example, a common approach is to use a certain ETF (or BTC in crypto) on a higher timeframe as filter to determine overall market direction.
( __ __ 🎩 ) Disable "only true divergences" -- In the Ultimate Edition, less signals can be filtered out when disabling looking at the third frequency. In general, this is not the best idea but it can be helpful when filtering signals with other means.
( __ 🧰 __ ) GDM profiles -- As mentioned, the GDM is carefully tuned and we consider it an excellent method to signify the strength of a divergence. Therefore, the standard calculation in the Community Edition is sufficient. Nevertheless, the Pro Edition has profiles (as previously described) so the user can select how (s)he feels a "strong divergence" should be.
( __ __ 🎩 ) GDM weights -- Full control over the weights of the 6 components of the GDM instead of using the profiles. The GDM algorithm is set up in such way that this is possible in an intuitive way.
( __ __ 🎩 ) Disable asymmetric GDM calculation -- Calculate the bullish and bearish GDMs independently (asymmetric calculation) or normalise them altogether (symmetric calculation). This can sometimes be helpful to filter out weaker GDMs depending on market conditions.
( 🤲 🧰 🎩 ) QMC calculation -- Using the QMC is possible in all versions, and each of the Normal, Slow and Lethargic frequencies can be toggled on and off.
( __ 🧰 __ ) QMC sensitivity -- Similar to the GDM profiles, in the Pro version there are presets to make the sensitivity higher (and thus get more signals) or lower.
( __ __ 🎩 ) QMC quantile threshold -- Instead of the sensitivity presets, in the Ult Edition the quantile threshold for each frequency is set. The user also sees the actual quantile and number of samples in the label
( 🤲 🧰 🎩 ) WaveTrend 4D settings -- Possibility to adjust the core WaveTrend settings
( 🤲 🧰 🎩 ) Alerts -- When alerts are enabled, TradingView will notify when there is a bullish/bearish strong GDM (i.e. within the zone) and a bullish/bearish QMC.
Divergence Scaner 3D Dynamic_tHello MY friend
divergence scanner 3D dynamic
It is a dynamic 3D scanner for identifying positive and negative divergences in 10 indicators.
This indicator can identify the types of Regular_Hidden_Exaggerated divergences for bullish and bearish states in the following indicators.
(MACD_L, MACD_H, RSI, Stochastic, Volume, CCI, MFI, Momentum, OBV, ADX)
This indicator is able to identify the mentioned divergences in the desired price source and in the desired settings for each indicator.
This can be done in up to 3 scans with different sensitivities at the same time. Therefore, the chances of identifying different price points are increased.
Also, the price point for each scan is determined and drawn separately.
This is a dynamic indicator.
That is, the divergence is not misdiagnosed at any moment, and it expresses the presence or absence of divergence for each indicator, and at the first moment of divergence in each sweep, it informs the user of its existence. And if the divergence disappears at the first instant, the label text is corrected.
That is why we say it is dynamic.
This indicator can calculate and identify the divergence with the percentage of allowed deviation both in the price and in the indicator if the user needs.
This indicator has an alert function to inform about the formation of divergence in one scan with desired settings for all divergence modes and for all 10 indicators.
This indicator can label the last 5 divergences for positive and negative divergences and for all three scans. Also display the Fibonacci level for the last divergence.
According to your needs, you can activate only a number of scans that you want or activate only a number of indicators that you want.
The logic of calculation and identification of divergence in the indicator:
As you know, divergences are more valid if they occur between two consecutive peaks and valleys.
In this indicator, three scans are considered, and the user can identify tiny and small pivots according to his needs and strategy by entering different degrees of sensitivity for each scan.
The indicator identifies the desired divergences for 2 consecutive valleys and 2 consecutive peaks in each scan separately and displays them to the user.
Important note:
This indicator is not limited to identifying the indicator points only in line with the price points, that is, the price points and the indicator may not be in the same line.
The higher the sensitivity of your scan, the smaller waves will be detected, and the lower the selection number, the larger waves will be detected.
By enabling pints you can see detected pivots and also by enabling Fibonacci you can see the value of the Fibonacci number for the last detected divergence.
You can see the deviations with the allowed deviation rate if needed and You can also get midpoint error and midline error.(More details are given in the clip.)
This indicator can be customized according to your needs and will identify the divergences of your choice for active scans.
For better display in label printing, the indicator tries to print the output of all active scans in one label, provided that the label printing location is the same.
Note that divergence label printing is done only with the lowest and highest price.
However, drawing the divergence line and printing the point labels depends on the price source you select in each scan.
You can see the scan number written in front of the marker name on the printed label to identify which scan this divergence is for.
Also, before the name of the indicator, an abbreviation related to the type of divergence is also written so that you can understand the type of divergence. For example, H stands for HD divergence.
It is better to consider a color for each scan so that it remains easily in your mind and you can easily recognize the points of each scan.
It is better to adjust the detection sensitivity in scans so that small and large spots are detected simultaneously to increase the performance of the marker.
last word :
Due to the capability of three simultaneous scans as well as dynamics at any moment, we think that the error in detecting the divergence in this indicator is below 1% and also the error in finding the divergence is below 3%. Also, the chances of identifying different price points are increased.
This can be said. It is a very good implementation. You can experience it in back test and forward test.
I tried to show you the full explanation with details in the form of a few clips. You can refer to my YouTube channel for a better introduction of the indicator and to know how to set the settings correctly.
Be careful to experience better execution speed ,Run the indicator when the market is open.
thank you
RSI Overbought/Oversold [Overlay Highlighter]Indicator to show when the RSI is in oversold(Below 30) or overbought (Above 70) conditions. The background color of the chart changes colors in the areas where the above conditions are met.
Price can often reverse in these areas. However, this depends on the strength of the trend and price may continue higher or lower in the direction of the overall trend.
Divergence has been added to aid the user in timing reversals. Divergences are plotted by circles above or below the candles. Divergence is confirmed so there is a delay of one candle before the signal is given on the previous candle. Again, everything depends on the strength of the trend so use proper risk management.
Once the RSI has entered into oversold/overbought conditions, it is recommended to wait for divergence before entering into the trade near areas of support or resistance. It is recommended to utilize this strategy on the H4 timeframe, however, this particular strategy works on all timeframes.
This indicator is a modified version of seoco's RSI Overbought/Oversold + Divergence Indicator . The user interface has been refined, is now overlayed on the chart, and my own divergence code has been inserted.
Squeeze Momentum Oscillator [AlgoAlpha]🎉📈 Introducing the Squeeze Momentum Oscillator by AlgoAlpha 📉🎊
Unlock the secrets of market dynamics with our innovative Squeeze Momentum Oscillator! Crafted for those who seek to stay ahead in the fast-paced trading environment, this tool amalgamates critical market momentum and volatility indicators to offer a multifaceted view of potential market movements. Here's why it's an indispensable part of your trading toolkit:
Key Features:
🌈 Customizable Color Schemes: Easily distinguish between bullish (green) and bearish (red) momentum phases for intuitive analysis.
🔧 Extensive Input Settings: Tailor the oscillator lengths for both Underlying and Swing Momentum to match your unique trading approach.
📊 Dedicated Squeeze Settings: Leverage precise volatility insights to identify market squeeze scenarios, signaling potential breakouts or consolidations.
🔍 Advanced Divergence Detection: Utilize sophisticated algorithms to detect and visualize both bullish and bearish divergences, pointing towards possible market reversals.
📈 Hyper Squeeze Detection: Stay alert to high-momentum market movements with our hyper squeeze feature, designed to extremely suppressed market volatility.
🔔 Comprehensive Alert System: Never miss a trading opportunity with alerts for momentum changes, squeeze conditions, and more.
Quick Guide to Using the Squeeze Momentum Oscillator:
🛠 Add the Indicator: Add the indicator to your favourites. Adjust the oscillator and squeeze settings to suit your trading preferences.
📊 Market Analysis: Keep an eye on the squeeze value and momentum z-score for insights into volatility and market direction. Hyper Squeeze signals are your cue for high momentum trading opportunities.
🔔 Alerts: Configure alerts for shifts in underlying and swing momentum, as well as entry and exit points for squeeze conditions, to capture market moves efficiently.
How It Works:
The Squeeze Momentum Oscillator by AlgoAlpha synergistically combines the principles of momentum tracking and market squeeze detection. By integrating the core logic of the Squeeze & Release indicator, it calculates the Squeeze Value (SV) through a comparison of the Exponential Moving Average (EMA) of the Average True Range (ATR) against the high-low price EMA. This SV is further analyzed alongside its EMA to pinpoint squeeze conditions, indicative of potential market breakouts or consolidations. In addition to this, the oscillator employs Hyper Squeeze Detection for identifying extremely low volatility. The momentum aspect of the oscillator evaluates the price movement relative to EMAs of significant highs and lows, refining these observations with a z-score normalization for short-term momentum insights. Moreover, the incorporation of divergence detection aids in identifying potential reversals, making this oscillator a comprehensive tool for traders looking to harness the power of volatility and momentum in their market analysis. The combination of the Squeeze & Release and the Momentum Oscillator allows traders to time their trades with more precision by entering when the market is in a squeeze and front running the volatility of a major move.
Elevate your trading strategy with the Squeeze Momentum Oscillator by AlgoAlpha and gain a competitive edge in deciphering market dynamics! 🌟💼 Happy trading!
Divergence Detector [TradingFinder] RSI + MACD + AO Oscillator 🔵 Introduction
🟣 Understanding Divergence
As mentioned, divergence occurs in technical analysis when a stock's price behaves contrary to indicators on the price chart. Divergence can signify either a reversal of the stock's trend or a continuation of the previous trend correction.
Divergences can act as reversal patterns or continuation patterns. Moreover, divergences can be utilized to identify potential support and resistance levels.
For instance, when an indicator is trending upwards and positive, but the price is declining and trending downwards, divergence occurs. Divergence in a stock indicates trader indecision in buying and selling and warns traders to reconsider their decisions regarding buying or holding the stock.
Divergence aids analysts in identifying critical price points. In indicator divergences, it serves as a potent signal in the realm of technical analysis.
🟣 Types of Divergence
1.Regular Divergence
o Positive Regular Divergence (RD+)
o Negative Regular Divergence (RD-)
2.Hidden Divergence
o Positive Hidden Divergence (HD+)
o Negative Hidden Divergence (HD-)
3.Time Divergence
Key Note : This indicator is specifically designed to identify "Regular Divergence" only. Therefore, the following explanation pertains to this type of divergence.
🔵 Regular Divergence/Convergence
Regular Divergence(Convergence) occurs due to conflicting behavior between the indicator and the price chart, typically at the end of a trend. Recognizing Regular Divergence suggests an anticipation of a trend reversal or a pattern resembling a reversal.
🟣 Positive Regular Divergence (RD+)
In contrast to negative divergence, positive Regular Divergence occurs at the end of a downtrend and between two price lows. It manifests when the price forms a new low on the price chart, but the indicator fails to recognize it.
Positive Regular Divergence indicates strong buying pressure and weak selling pressure. Following the identification of positive divergence on the chart, one can anticipate a price increase for the examined stock.
🟣 Negative Regular Divergence (RD-)
This type of Regular Divergence emerges between two price highs during an uptrend. A new high is formed on the price chart, but the indicator fails to acknowledge it. This scenario indicates negative Regular Divergence.
The likelihood of a subsequent market downturn is high. Negative divergence signifies strong selling pressure and weak buying pressure, suggesting an unfavorable future for the stock.
🔵 How to use
By utilizing the "Fractal Period" input, you can specify your desired periods for identifying divergences.
Additionally, through the "Divergence Detect Method" feature, you can choose which oscillators (MACD, RSI, or AO) to base divergence identification on.
Divergence in MACD Oscillator :
Divergence in the MACD indicator occurs when the price chart and the MACD line form a noticeable opposing pattern, meaning the price moves contrary to the MACD line. In this scenario, one expects a reversal in price direction.
Divergence in RSI Oscillator :
If divergence occurs during a downtrend on the price chart (two consecutive lows, with the second low being lower) and on the corresponding RSI point (two consecutive lows, with the second low being higher), it signifies positive Regular Divergence and implies a buying signal.
Conversely, if divergence occurs during an uptrend on the price chart (two consecutive highs, with the second high being higher) and on the corresponding RSI point (two consecutive highs, with the second high being lower), it indicates negative Regular Divergence, signaling a selling opportunity.
Divergence in AO Oscillator :
The AO indicator calculates histograms similar to the AO base. It calculates the difference between the simple moving averages of 5 and 34 periods based on the median of each bar. Then, it plots the bars based on the difference.
It then compares the histograms to detect peaks and troughs in the AO histograms and compares the identified peaks and troughs to the price. Whenever divergence is detected, it plots lines and arrows.
🔵 Table
The table contains information on the functional features of this oscillator that you can utilize. Four categories of information are presented in the table: "Exist," "Consecutive," "Divergence Quality," and "Change Phase Indicator."
Exist :
If divergence exists, you'll see "+" in this row.
Consecutive :
Divergences may occur consecutively. If same-type divergences form within short intervals, you can observe the count in this row.
Divergence Quality : Based on the number of consecutive divergences, their quality can be evaluated. If one divergence exists, its quality is considered "Normal." If two divergences exist, the quality is "Good," and if three or more divergences exist, the quality is considered "Strong."
Change Phase Indicator : If a phase change occurs between two oscillation peaks formed based on divergence, this change is identified and displayed in this row.
Pro Divergence Adaptive [regular + hidden] by TradingClue🔴 Overview 🔴
ProDivergence Adaptive is a versatile tool designed to identify regular and hidden divergences , including regular divergences from higher timeframes , on any given chart.
This indicator combines two major approaches of identifying divergences:
- Using price-action , identification of higher-highs, higher-lows etc.
- Using a statistical model (linear regression) to determine the direction of movements
To be more sensitive to the current market conditions, both were implemented in an adaptive way.
🔴 How the mechanics and calculations work 🔴
✅ short recap on what divergences are
Regular divergences occur when the price moves opposite to a selected oscillator, signaling potential trend reversals. They can be spotted on higher timeframes, providing stronger confirmation for potential reversals when aligned with signals on the current timeframe.
Hidden divergences indicate trend continuation. Combining these on various timeframes provides a more comprehensive analysis for traders to identify entry or exit points in the market
✅ Price Action
A regular bullish divergence happens when the price of an asset is forming lower lows, while the oscillator is forming higher lows.
A regular bearish divergence occurs when the price of an asset is forming higher highs, while the oscillator is forming lower highs
A hidden bullish divergence happens when the price of an asset is making higher lows during an uptrend, but the oscillator is making lower lows.
A hidden bearish divergence occurs when the price of an asset is making lower highs during a downtrend, but the oscillator is making higher highs.
"Lows" are signaled by a minimum value that is surrounded by higher low values.
"Highs" are signaled by a maximum value that is surrounded by lower high values.
Since there is no smoothing involved, there is only minimal lag.
✅ Statistical Model
When using linear regression to identify divergences between the price of an asset and an oscillator, we apply a statistical approach to find trends in the data. This method allows for a more nuanced detection of divergences, as it considers the overall direction of price points and oscillator values rather than individual highs and lows.
Regular Bullish Divergence: Occurs when the linear regression of the asset's price shows a downward trend while the linear regression of the oscillator indicates an upward trend.
Regular Bearish Divergence: Happens when the linear regression of the asset's price is upward but the linear regression of the oscillator is downward.
Hidden Bullish Divergence: Identified when, during an uptrend, the linear regression of the price is upward, but the linear regression of the oscillator trends downward.
Hidden Bearish Divergence: Occurs when, during a downtrend, the linear regression of the price trends downward, but the linear regression of the oscillator is upward.
Using linear regression smooths out fluctuations and focuses on the overall trend direction of both price and oscillator, reducing the impact of short-term volatility and providing a clearer view of the market's momentum.
✅ Adaptive Approach
Traditional oscillator settings do not account for changes in market volatility, leading to potential misalignment with current market conditions. This can result in either too many false signals during high volatility periods or missed opportunities in lower volatility settings due to the oscillator's static nature.
The adaptive approach adjusts the oscillator's settings based on the Average True Range (ATR), a measure of market volatility. By dynamically altering the oscillator length in relation to the current ATR value compared to its historical range, the settings become responsive to the market's volatility.
This adaptive method enhances the detection of meaningful divergences between price and oscillator movements by ensuring the oscillator is finely tuned to the current market environment. It results in a more accurate identification of potential reversal points, crucial for the success of divergence-based trading strategies.
🔴 Key Features 🔴
Identifies regular and hidden divergences
Multi-Timeframe Analysis
Adaptive Oscillator Configuration, level of adaptiveness can be adjusted
Supported Oscillators: CCI, Momentum, RSI
Boundaries for the dynamic length of the oscillator can be applied
Works for all kinds of assets (Forex, Stocks, Crypto, Commodities, Futures, ...)
Works on all timeframes
🔴 Examples 🔴
✅ Canadian Dollar / Japanese Yen, 4H Chart, FX:CADJPY
Divergences of Price vs CCI. The adaptive/ dynamic length of the CCI can range between 5 and 12.
✅ Bitcoin / U.S. Dollar, 2H Chart BITSTAMP:BTCUSD
Divergences of Price vs Momentum. The adaptive/ dynamic length of the Momentum can range between 4 and 13.
Caution: Trading carries a significant risk of financial loss, and past performance does not guarantee future results. Signals may be conflicting or ambiguous. Employ risk reduction techniques, such as setting stop losses, to mitigate potential losses.
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! 🌠✨
Divergence Signal [TradingFinder] RSI & MACD Reversal On Swing🔵 Introduction
Sometimes in analyzing price charts using indicators, you may observe a discrepancy. For instance, while the price of stocks, currencies, or commodities is increasing, the indicator shows a decrease. Such a phenomenon in technical analysis is termed "divergence." Divergences are categorized into three types based on their formation and the prediction they make about the continuation of the price trend: "Regular Divergence," "Hidden Divergence," and "Time Divergence."
🟣 Important :
• This indicator exclusively identifies regular divergences since its primary function is to detect reversal points.
• This indicator identifies divergences using three indicators: "Moving Average Convergence Divergence" (MACD), "Relative Strength Index" (RSI), and "Awesome Oscillator" (AO). The user can choose each of these indicators in the settings using the "Divergence Detection Method" dropdown menu for identifying divergences. These settings are by default set to the MACD mode.
🔵Types of Divergence
Divergences, as mentioned, offer different predictions about the continuation of price trends. Hence, they have various types. We will focus on explaining regular divergences based on this indicator.
🟣 Regular Divergence(RD) :
Regular divergence is a situation arising from contradictory behavior between the indicator and the price chart at the end of a trend. By identifying regular divergences, we anticipate a change in trend direction resembling a reversal pattern.
Regular divergence has two types based on the trend and prediction:
Negative Regular Divergence (RD-) :
This type occurs between two price peaks at the end of an uptrend. Despite forming a new high, the indicator fails to recognize it, indicating a negative regular divergence. The likelihood of a subsequent downtrend is high. Negative divergence suggests strong selling pressure and weak buying power, portraying an unfavorable future for the stock.
Positive Regular Divergence (RD+) :
In contrast, positive regular divergence happens at the end of a downtrend and between two price troughs. As depicted in the chart, although the price forms a new low, the indicator doesn't acknowledge it. Positive regular divergence indicates robust buying pressure and weak selling power. Upon identifying positive divergence in the chart, we expect a price increase for the stock under review
🔵 How to Use
Information from the indicator is displayed in two ways: Table and Label.
🟣 Table : The table displays information about the latest divergence. This includes the type of divergence, existence or absence of divergence, consecutive divergences, divergence quality, and change in indicator phase.
Type Divergence : Indicates the type of divergence, which can be either "Bullish Divergence" or "Bearish Divergence."
Exist : Indicates the presence of divergence with a "+" sign and absence with a "-" sign. A green color is used for bullish divergence and red for bearish divergence.
Consecutive : Shows the number of consecutive divergences. For example, if there are 3 consecutive divergences, the number 3 is displayed.
Divergence Quality : Displays the quality of the divergence based on the number of consecutive divergences. If there is 1 divergence, the quality is "Normal"; for 2 divergences, it's "Good"; and for 3 or more divergences, it's "Strong."
Change Phase Indicator : Indicates whether a phase change in the indicator has occurred with "+" for yes and "-" for no.
🟣 Label : Unlike the table, which only shows information about the latest divergence, labels display information about each divergence at the point where it occurs. The information includes the type of divergence, detection method, divergence quality, consecutive divergences, and change in phase indicator. The selected method of detection is also displayed. For example, if the chosen method is the "AO" indicator, the label will show "Method: AO."
🔵 Settings
Fractal Period : Determines the period of swings. The minimum and default value is 2.
Divergence Detect Method : Selects the indicator (MACD, RSI, or AO) used for detecting divergences. The default indicator is MACD.
Show Fractal : Chooses whether to display fractals or not. The default is "No."
Show Table : Determines whether to display the table or not. The default is "Yes."
Show Label : Chooses whether to display labels or not. The default is "Yes."
Label Size : Adjusts the size of the labels from "Tiny" to "Large."
U-Oscillator Pro [UAlgo]The U-Oscillator Pro is a comprehensive technical analysis tool designed to assist traders in making informed decisions in financial markets. This indicator integrates various features including oscillator, bands, trend clouds divergences, and confluence signals to provide a comprehensive view of market dynamics.
🔶 Oscillator :
U-Oscillator uses an amalgamation of price, momentum, and volatility elements to provide a comprehensive market view. It provides a common output about the market and is easy to use.
Oscillator Features :
Customizable Oscillator Length : This parameter sets the length of the oscillator.
Use Machine Learning On Oscillator Calculation : By evaluating the output of the oscillator, this data set calculates a weighted average of the data set by taking each point with a certain weight and using these weights. This is often used in situations where some data points are more important or need to have more impact than others. A weight for each point that the oscillator calculates may represent the importance or impact of that point. By including all these calculations in the oscillator, it provides a result.
Reversal Signals : Determines whether to display reversal signals on the chart. When set to true, it enables the plotting of reversal signals based on certain conditions for both long (buy) and short (sell) signals. These signals can be interpreted as "potential" turning points of the market. Signals are represented by small shapes on the chart, with green indicating short (sell) signals and red indicating long (buy) signals.
🔶 Extreme Bands:
These regions can be described as the possible reversal regions of the price and obtained by deviations of oscillator values.
Extreme Bands Features:
Band Length : Determines the length of the bands.
Show Extreme Bands : Option to display the extreme bands.
Show Middle Line : Option to show the middle line.
Transparency Mode : Adjust the transparency level of the bands.
It would not be wrong to consider it as potential overbought and oversold regions.
Example:
🔶 Divergences :
The divergence calculation in this script identifies potential reversals by analyzing pivot points in the oscillator. Here's how it works:
Divergence Features :
Pivot Length: The user specifies the length of the divergence calculation (pivotLength), which determines the number of bars to consider for pivot analysis.
Pivot Identification: The script searches for pivot highs and lows within the specified length. These pivots indicate potential turning points in the oscillator.
Divergence Conditions: Different conditions are evaluated based on the identified pivots to determine the presence of bullish or bearish divergences:
Regular Bullish Divergence: Occurs when the oscillator makes a lower low while the price makes a higher low.
Hidden Bullish Divergence: Occurs when the oscillator makes a higher low while the price makes a lower low.
Regular Bearish Divergence: Occurs when the oscillator makes a higher high while the price makes a lower high.
Hidden Bearish Divergence: Occurs when the oscillator makes a lower high while the price makes a higher high.
Visualization: Detected divergences are plotted on the chart using shapes and lines, indicating potential reversal points. Users can choose which types of divergences to display using input options.
🔶 Trend Cloud :
This section can provide information about the long-term direction of the price and the current status of the trend. The increase in the visibility of the cloud can provide information about the strength of the trend.
Trend Cloud Features :
Show Trend Cloud: This setting allows you to choose whether the trend cloud is displayed on the chart or not.
Fast Trend Cloud Mode: This feature can be used to provide information about the cloud's shorter-term trend and its strength.
Classic Mode of Trend Cloud :
Fast Mode of Trend Cloud :
🔶 Confluence :
This section of the script aims to identify potential reversal confluences based on the deviation between the price and a combination of oscillator values. The confluence signals are categorized into light and heavy, representing different levels of potential reversal strength.
Confluence Features :
Show Light/Heavy Reversal Confluences: This setting allows users to control the visibility of the confluence signals on the chart.
Confluence Term: Users can select the term for calculating the confluence, which in turn affects the sensitivity of the confluence signals. The available options are Short, Medium, and Long.
Confluence Signal Conditions:
Light Bearish Reversal Confluence: This type of confluence occurs when there is a moderate deviation between the price and the oscillator values, indicating a potential shift towards a bearish reversal in the market sentiment.
Heavy Bearish Reversal Confluence: In contrast, a heavy bearish reversal confluence signifies a significant deviation between the price and the oscillator values, suggesting a strong indication of a bearish reversal in the market sentiment.
Light Bullish Reversal Confluence: Similar to light bearish reversal confluence, light bullish reversal confluence occurs with a moderate deviation between the price andthe oscillator values, indicating a potential shift towards a bullish reversal in the market sentiment.
Heavy Bullish Reversal Confluence: On the other hand, heavy bullish reversal confluence indicates a substantial deviation between the price andthe oscillator values, suggesting a strong indication of a bullish reversal in the market sentiment.
Plotting Confluence Signals: Shapes (triangles) are plotted on the chart to indicate the presence of confluence signals. Red triangles denote bearish signals, while green triangles denote bullish signals.
This confluence analysis provides traders with additional insights into potential reversal points or helping them make more informed trading decisions.
Example For Confluence :
🔶 Disclaimer:
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
MUJBOT - Multi-TF RSI Table
The "Multi-TF RSI Table" indicator is a comprehensive tool designed to present traders with a quick visual summary of the Relative Strength Index (RSI) across multiple timeframes, all within a single glance. It is crafted for traders who incorporate multi-timeframe analysis into their trading strategy, aiming to enhance decision-making by identifying overall market sentiment and trend direction. Here's a rundown of its features:
User Inputs: The indicator includes customizable inputs for the RSI and Moving Average (MA) lengths, allowing users to tailor the calculations to their specific trading needs. Additionally, there is an option to display or hide the RSI & MA table as well as to position it in various places on the chart for optimal visibility.
Multi-Timeframe RSI & MA Calculations: It fetches RSI and MA values from different timeframes, such as 1 minute (1m), 5 minutes (5m), 15 minutes (15m), 1 hour (1h), 4 hours (4h), and 1 day (1D). This multi-timeframe approach provides a thorough perspective of the momentum and trend across different market phases.
Trend and Sentiment Analysis: For each timeframe, the script determines whether the average RSI is above or below the MA, categorizing the trend as "Rising", "Falling", or "Neutral". Moreover, it infers market sentiment as "Bullish" or "Bearish", based on the relationship between the RSI and its MA.
Dynamic Color-Coding: The indicator uses color-coding to convey information quickly. It highlights the trend and sentiment cells in the table with green for "Bullish" and red for "Bearish" conditions. It also shades the timeframe cells based on the RSI value, with varying intensities of green for "Oversold" conditions and red for "Overbought" conditions, providing an immediate visual cue of extreme market conditions.
Customization and Adaptability: The script is designed with customization in mind, enabling users to adjust the RSI and MA lengths according to their trading strategy. Its adaptable interface, which offers the option to display or hide the RSI & MA table, ensures that the tool fits into different trading setups without cluttering the chart.
Ease of Use: By consolidating critical information into a simple table, the "Multi-TF RSI Table" indicator saves time and simplifies the analysis process for traders. It eliminates the need to switch between multiple charts or timeframes, thus streamlining the trading workflow.
In essence, the "Multi-TF RSI Table" is a powerful indicator for Pine Script users on TradingView, offering a multi-dimensional view of market dynamics. It is ideal for both novice and experienced traders who seek to enhance their technical analysis with an at-a-glance summary of RSI trends and market sentiment across various timeframes.
ATR Divergences [UAlgo]Divergence is a concept in financial markets that highlights inconsistencies between the price of an asset and a given indicator. This script focuses on identifying divergences using the Average True Range (ATR). Divergence occurs when there is a disparity between the direction of the price and the oscillator, providing valuable insights for traders anticipating potential trend reversals.
This script employs pivot points (with using High-Low values of the candles) to identify potential divergences between the oscillator (ATR) and price movements. Here's how each type of divergence is determined:
Key Features:
Regular Bullish Divergence:
Oscillator registers a higher low.
Price records a lower low.
Indicative of potential upward reversal.
Hidden Bullish Divergence:
Oscillator indicates a lower low.
Price exhibits a higher low.
Signals a concealed bullish continuation pattern.
Regular Bearish Divergence:
Oscillator shows a lower high.
Price marks a higher high.
Suggests a possible downward reversal.
Hidden Bearish Divergence:
Oscillator reflects a higher high.
Price displays a lower high.
Indicates a hidden bearish continuation pattern.
Usage and Customization:
ATR Length: Adjustable parameter for customizing the Average True Range calculation period.
Plot Options: Choose to display Regular Bullish, Hidden Bullish, Regular Bearish, and/or Hidden Bearish divergences.
Wait for Candle Close: Option to wait for candle closure before plotting signals.
How to Interpret:
Regular divergences may indicate potential trend reversals, while hidden divergences suggest a continuation of the current trend. Traders can leverage these signals to make informed decisions in their trading strategies.
Feel free to customize the parameters based on your trading preferences. Happy Trading!
Divergence AnalyzerUnlock the potential of your trading strategy with the Divergence Analyzer, a sophisticated indicator designed to identify divergence patterns between two financial instruments. Whether you're a seasoned trader or just starting, this tool provides valuable insights into market trends and potential trading opportunities.
Key Features:
1. Versatility in Symbol Selection:
- Choose from a wide range of symbols for comparison, including popular indices like XAUUSD and SPX.
- Seamlessly toggle between symbols to analyze divergences and make informed trading decisions.
2. Flexible Calculation Options:
- Customizable options allow you to use a different symbol for calculation instead of the chart symbol.
- Fine-tune your analysis by selecting specific symbols for comparison based on your trading preferences.
3. Logarithmic Scale Analysis:
- Utilizes logarithmic scales for accurate representation of price movements.
- Linear regression coefficients are calculated on the logarithmic scale, providing a comprehensive view of trend strength.
4. Dynamic Length and Smoothing:
- Adjust the length parameter to adapt the indicator to different market conditions.
- Smoothed linear regression with exponential moving averages enhances clarity and reduces noise.
5. Standard Deviation Normalization:
- Normalizes standard deviations over 200 periods, offering a standardized view of price volatility.
- Easily compare volatility levels across different symbols for effective divergence analysis.
6. Color-Coded Divergence Visualization:
- Clearly distinguish positive and negative divergences with customizable color options.
- Visualize divergence deltas with an intuitive color scheme for quick and effective interpretation.
7. Symbol Information Table:
- An included table provides at-a-glance information about the selected symbols.
- Identify Symbol 1 and Symbol 2, along with their corresponding positive and negative divergence colors.
How to Use:
1. Select symbols for analysis using the user-friendly inputs.
2. Customize calculation options based on your preferences.
3. Analyze the divergence delta plot for clear visual indications.
4. Refer to the symbol information table for a quick overview of selected instruments.
Empower your trading strategy with the Divergence Analyzer and gain a competitive edge in the dynamic world of financial markets. Start making more informed decisions today!
TrendPivotsLibrary "TrendPivots"
This library provides functions to search for bullish and bearish divergences between pivots and indicators. Functions search for higher highs and lower lows, automating lines, labels and signals for technical analysis and strategies.
method maxBeforeLast(id)
Method function to get the maximum price before the last, stored in an array pivotPoint.
Namespace types: pivotPoint
Parameters:
id (pivotPoint ) : (array pivotPoint) The pivotPoint array to inspect.
Returns: pivotPoint
method minBeforeLast(id)
Method function to get the minimum price before the last, stored in an array pivotPoint.
Namespace types: pivotPoint
Parameters:
id (pivotPoint ) : (array pivotPoint) The pivotPoint array to inspect.
Returns: pivotPoint
method pivotLine(id, a, b, color)
Sets the coordinates of a given line using two pivotPoint variables.
Namespace types: series line
Parameters:
id (line) : (line) Existing line
a (pivotPoint) : (pivotPoint) First pivotPoint.
b (pivotPoint) : (pivotPoint) Second pivotPoint.
color (color) : (color) The desired color. Default is red.
Returns: void
bearishDivergence(pivotArray)
Look for bearish divergence in a pivotPoint array cointaining pivot highs.
Parameters:
pivotArray (pivotPoint ) : (array pivotPoint) The pivotPoint array to inspect.
Returns: bool True if bearish divergence was found.
bullishDivergence(pivotArray)
Look for bullish divergence in a pivotPoint array cointaining pivot lows.
Parameters:
pivotArray (pivotPoint ) : (array pivotPoint) The pivotPoint array to inspect.
Returns: bool True if bullish divergence was found.
uptrendPivot(leftBars, rightBars, indicator, reset, plotLabel, plotLine)
Detects higher highs, higher lows and bearish divergence in an uptrend. Creates a line when bearish divergence is found, and labels.
Parameters:
leftBars (int) : (int)
rightBars (int) : (int)
indicator (float) : (float) RSI, MACD or other value.
reset (bool) : (bool) A bool variable to reinitiates the pivot computation, such as time changes, crossovers, or another.
plotLabel (bool) : (bool) If true (default), plots labels to higher highs and for each pivot low. Default = true.
plotLine (bool) : (bool) If true (default), plots a line linking the lower lows with divergence. Default = true.
Returns:
downtrendPivot(leftBars, rightBars, indicator, reset, plotLabel, plotLine)
Detects lower lows, lower highs, and bullish divergence in a downtrend. Creates a line when bullish divergence is found, and labels.
Parameters:
leftBars (int) : (int)
rightBars (int) : (int)
indicator (float) : (float) RSI, MACD or other value.
reset (bool) : (bool) A bool variable to reinitiates the pivot computation, such as time changes, crossovers, or another.
plotLabel (bool) : (bool) If true (default), plots labels to lower lows, and for each pivot low.
plotLine (bool) : (bool) If true (default), plots a line linking the lower lows with divergence. Default = true.
Returns:
pivotPoint
The coordinates of a pivot point and corresponding indicator value.
Fields:
x (series int) : (int) Time.
y (series float) : (float) Price.
indicator (series float) : (float) Indicator value.
Divergence Indicator [Trendoscope®]🎲 New Divergence Indicator by Trendoscope
Our latest Divergence Indicator revolutionizes the way traders identify market trends and potential reversals. Built upon the robust foundation of the Zigzag Trend Divergence Detector and inline with our recent implementation of the Divergence Goggles indicator, this tool is designed to be intuitive yet powerful, making it an essential addition to any trader's toolkit.
We received several queries on extending the Divergence Goggles to last N bars instead of using an interactive widget. Though it is possible, we thought the better approach is to enable the indicator to use any oscillator and trend indicator in order to define the divergence.
🎯 Key Features
Flexible Oscillator Integration : Choose from a wide range of built-in oscillators or import your own, including options like the innovative Multiband Oscillator. This versatility extends to using volume indicators like OBV for divergence calculations, broadening the scope of analysis.
Trend Identification Versatility : Utilize built-in methods like Zigzag and MA Difference, or integrate external trend indicators. Our system adapts to various methods, ensuring you have the right tools for precise trend identification.
Customizable Zigzag Sensitivity : Adjust the Zigzag based on your chosen oscillator's sensitivity to ensure divergence lines are accurate and visually coherent.
Repainting vs. Delayed Signals : Tailor the indicator to your strategy by choosing between immediate repainting signals and slightly delayed but more stable signals.
🎯 Understanding Divergence: Key Rules
Bullish Divergence
Happens only in downtrend
Observed on Pivot Lows
Price makes lower low whereas oscillator makes higher low, indicating weakness and possible reversal
Bearish Divergence
Happens only in uptrend
Observed on Pivot Highs
Price makes higher high whereas oscillator makes lower high, indicating weakness and possible reversal
Bullish Hidden Divergence
Happens only in uptrend
Observed on Pivot Lows
Price makes higher low, whereas indicator makes lower low due to price consolidation. In bullish trend, this is considered as bullish as the price gets a breather and get ready to surge further.
Bearish Hidden Divergence
Happens only in downtrend
Observed on Pivot Highs
Price makes lower high whereas oscillator makes higher high due to price consolidation. In bearish trend, this is considered as bearish as the price gets a breather and get ready to fall further.
🎯 Visual Insights: Divergence and Hidden Divergence
For a clearer understanding, refer to our visual guides:
🎲 Using the Divergence Indicator: A Step-by-Step Guide
🎯 Step 1 - Selecting the Oscillator
Customize your analysis by choosing from a variety of oscillators or importing your preferred one. Options are available to select a range of built-in oscillators and the loopback length. However, if the oscillator that user want to use is not in the list, they can simply load the oscillator from the indicator library and use it as an external signal.
In our current example, we are using a custom oscillator called - Multiband Oscillator
This also means, the indicator option is not limited to oscillators. Users can even make use of volume indicators such as OBV for the calculation of divergence.
🎯 Step 2 - Choosing the Trend Identification Method
Select from our built-in methods or integrate an external indicator to accurately identify market trends. Trend is one of the key parameters of divergence type identification. Trend can be identified mathematically by various methods. Some of them are as simple as above or below 200 moving average and some can follow trend based indicators such as supertrend and others can be very complex.
To cater for a wider audience, here too we have provided the option to use an external trend indicator. The simple condition for the external trend indicator is that it should return positive value for uptrend and negative value for downtrend.
Other than that, we also have 2 built in trend identification methods.
Zigzag - The trend is defined by the starting pivot of divergence line. If the starting pivot is Higher High or Higher Low, then it is considered uptrend. And if the starting pivot is either Lower Low or Lower High, then we consider it as downtrend.
MA Difference - In this case, the difference between the moving average of pivots joining the divergence line will determine the trend. It is considered uptrend if the moving average increased from starting pivot to ending pivot of the divergence line, and it is considered downtrend if the moving average decreased from starting pivot to the ending pivot of the divergence line.
🎯 Step 3 - Adjusting Zigzag Sensitivity
Fine-tune the Zigzag to match the oscillator's sensitivity, ensuring divergence lines are accurate and visually coherent.
🎯 Step 4 - Managing Repainting
Understand the implications of repainting in the last pivot of the Zigzag and choose between immediate or delayed signals based on your trading strategy. The last pivot of the zigzag repaint by design. This is not necessarily a bad thing. Users can just choose not to use the last pivot, but instead use the last but one for all the calculations. But, this also means, the signals will be delayed.
Indicator provides option to use repainting signal vs delayed signal. If you select the repaint option, the signals are shown immediately as and when they occur. But, there is a possibility that these signals change when the new price candles change zigzag pivot.
If you chose not to select the repaint option, then the divergence signals may lag by a few bars.
RSI-Divergence Goggles [Trendoscope®]🎲 Introducing the RSI-Divergence Goggle
🎯 Revolutionizing Divergence Analysis in Trading
While the concept of divergence plays a crucial role in technical analysis, existing indicators in the community library have faced limitations, particularly in simultaneously displaying divergence lines on both price and oscillator graphs. This challenge stems from the fact that RSI and other oscillators are typically plotted in a separate pane from the price chart. Traditional Pine Script® indicators are confined to a single pane, thus restricting comprehensive divergence analysis.
🎯 Our Innovative Solution: RSI on the Price Pane
The RSI-Divergence Goggle breaks through these limitations. Our innovative approach involves plotting the RSI directly onto the price pane within a movable and resizable widget. This groundbreaking feature allows for the simultaneous drawing of zigzag patterns on both price and the oscillator, enabling the effective calculation and visualization of divergence lines on both.
🎯 The Foundation: Our Divergence Research and Rules
Our journey into divergence research began three years ago with the launch of the "Zigzag Trend Divergence Detector." The foundational rules established with this script remain pertinent and form the basis of all our subsequent divergence-based indicators.
🎯 Understanding Divergence: Key Concepts
Divergence Varieties : We identify two main types - Bullish Divergence (and its hidden counterpart) occurs at pivot lows, while Bearish Divergence (and its hidden version) appears at pivot highs.
Contextual Occurrence : Bullish divergence is a phenomenon of downtrends, whereas bearish divergence is unique to uptrend. Conversely, hidden bullish divergence arises in uptrends, and hidden bearish divergence in downtrends.
Oscillator Behavior : In standard divergence scenarios, the oscillator lags behind price, signaling potential reversals. In hidden divergence cases, the oscillator leads, suggesting trend continuation.
🎯 Visual Insights: Divergence and Hidden Divergence
For a clearer understanding, refer to our visual guides:
🎯 A Word of Caution
While divergence is a powerful tool, it's not a standalone guarantee of trend reversals or continuations. We recommend using these patterns in conjunction with support and resistance levels, as demonstrated in our "Divergence Based Support Resistance" implementation.
🎯 Using the RSI-Divergence Goggles
Upon applying the indicator to your chart, you'll be prompted to select two corner points, defining the widget's placement and size. This widget is the stage for your RSI plotting and divergence calculations. Choose these points carefully to ensure they encompass your area of interest without overlapping important price bars.
An example as below.
🎯 Innovative Features:
Plotting RSI: RSI values are scaled from 0 to 100 within the widget. This unique plotting may not align with individual bar values, but pivot labels and tooltips provide detailed RSI and retracement ratio information.
Zigzag and Pivots: Our adjusted RSI plots determine the zigzag pivot highs and lows, which may not always correspond with visible price pivots. However, calculations based on close prices ensure minimal deviation.
Divergence Display: Divergence types are identified following our established rules, with a simple moving average employed to discern the prevailing trend.
🎯 Trend Detection Mechanism
A simple moving average is used as base for determining the trend. If the difference between moving averages of the alternate pivots is positive, then the sentiment is considered to be uptrend. Else, we consider the sentiment to be in downtrend.
This is a simple method to identify trend, implemented via this indicator. The indicator does not provide alternative methods to identify trend. This is something that we can explore in the future.
🎯 Interactive and Customizable
The RSI-Divergence Goggle isn't just a static tool; it's an interactive feature on your chart. You can move or resize the widget, allowing for dynamic analysis and focused study on different chart segments.
BUY/SELL RSI FLIUX v1.0The "BUY/SELL RSI FLUX v1.0" indicator is designed to provide buy and sell signals based on the RSI (Relative Strength Index) and price action in relation to support and resistance levels. It overlays directly on the price chart and includes the following components:
- Support and Resistance Levels: Determined over a specified number of bars (lengthSR), these levels represent potential barriers where price action may stall or reverse.
- ATR (Average True Range): Used to measure market volatility. While it's calculated in the script, it's not visualized on the chart as per the latest modification.
- RSI: The RSI is calculated over a defined period (lengthRSI) and is used to identify overbought or oversold conditions. Buy signals are generated when the RSI is below the oversold threshold (rsiOversold) and the price is above the support level. Conversely, sell signals occur when the RSI is above the overbought threshold (rsiOverbought), the price is below the resistance level, and additionally, the price is below a long-term moving average, which acts as a trend filter.
- Long-Term Moving Average: This moving average is plotted to help identify the prevailing market trend. Sell signals are filtered based on the price's position in relation to this moving average.
- Buy/Sell Signals: Visual representations in the form of shapes are plotted below (for buy) or above (for sell) the price bars to indicate potential entry points.
By combining these elements, the indicator aims to provide high-probability trading signals that align with both the market's momentum and trend.
Fisher+ [OSC]The Fisher Transform Indicator is classified as an oscillator, meaning that its value swings above and below a central point. This characteristic allows traders to identify overbought and oversold conditions, providing potential clues about market reversals. As mentioned previously, it is an oscillator so the strength of the move is displayed by how long the fisher line stays above/below zero. Indicator can be used to aid in confluence near supply/demand zones.
White Line = Fisher
Red/Blue Line = Moving Average
--Changes color whether fisher line is above/below the MA
Red/Blue Shaded Line = Moving Average
--Changes color based on a smoothing factor
Red/Blue Shaded Fill = Asset in Overbought/Oversold Conditions
Red/Blue Circles = Asset in Extreme Overbought/Oversold Conditions
Red/Blue Triangles = MACD Signals Below/Above "0"
Divergence Labels = Asset Signaling Divergence
The moving average line will turn red/blue as long as the fisher line is below/above the moving average. The shaded MA line will switch colors based on if it is moving in an up/down trend. The MA can also be used as a signal and treated similar to an oscillator. Market trending conditions will either keep the MA below/above the dashed zero line.
MACD code credited to LazyBear's MACD Leader indicator. It is used to filter out/confirm any signals such as divergences. As long as the MACD Leader line is above both the MACD line and signal lines then it'll signal with with a triangle. MACD divergences will be added at a later time.
MAutoFloorCeiling* MAutoFloorCeiling Indicator *
The MAutoFloorCeiling indicator is a powerful algorithm utilizing Wyckoffian concepts of Supply, Demand, and Volume Climaxes to determine and draw Support / Resistance levels automatically. It is the culmination of over 2 years of research. Drawing Support / Resistance lines automatically is a tremendous benefit to the trader as this provides structure to price and exposes market movement as well as which areas price is likely to respect or break out of.
* WHAT THE SCRIPT DOES *
The MAutoFloorCeiling algorithm draws Floor and Ceiling lines automatically. The price points at which these lines are drawn at are areas of increasing Supply, Demand, or Volume Climax respective to their Price Levels. Areas of Volume Climaxes are often respected by price, since price tends to return to them or break out of them, and hence form powerful Support / Resistance levels.
* HOW TO USE IT *
Floor and Ceiling lines correspond to Support and Resistance lines. When a line is draw consider the following questions
Is it a top / bottom?
Is it support / resistance?
Is it a breakout / breakdown?
Is it a pullback?
* HOW IT WORKS *
1. There are 2 types of lines: Floors and Ceilings
2. A Floor Line is drawn when there is a "Selling Volume Bias" (Volume Climaxes on downward price movement)
More Floor Lines get drawn if market continues to go lower combined with a "Selling Volume Bias"
3. A ceiling line is drawn when there is a "Buying Volume Bias" (Volume Climaxes on upward price movement)
More ceiling lines get drawn if market continues to go higher combined with a "Buying Volume Bias"
4. There is a 1 bar delay to confirm the creation of a new floor / ceiling line.
Once the new floor / ceiling is created, it draws forward with no delay.
* EXAMPLE AND USE CASES *
MAutoFloorCeiling draws lines that can be used as effective Support / Resistance Levels, Breakout Lines, and Pullback areas. Studying the Volume at these levels can provide insight as to where price is likely to go.
You can scan for Trend Like behavior such as
More Demand on Higher High = Increase in Volume on a Higher Ceiling
More Supply on Lower Low = Increase in Volume on a Lower Floor
You can scan for divergences such as
Less Demand on Higher High = Lower volume on a Higher Ceiling
Less Supply on on Lower Low = Lower volume on a Lower Floor
Pullbacks
A lower ceiling is representative of a pullback when price is going down.
A higher floor is representative of a pullback when price is going up.
You can inspect instances where the thrust of price is shortened, which means the distance between Ceiling or Floor lines becomes less as price struggles to continue in the direction it was moving. Or conversely the thrust of price as shown by the Floor / Ceiling lines can expand, which is indicative of a trend forming.
* AUTHOR *
This script is published by MBoxWave LLC
YD_Divergence_RSI+CMFThe ‘YD_Divergence_RSI+CMF’ indicator can find divergence using RSI (Relative Strength Index) and CMF (Chaikin Money Flow) indicators.
📌 Key functions
1. Search pivot high and pivot low points in a certain length of price.
2. Connect pivot high to pivot high , pivot low to pivot low , forming two standards for divergence in result.
The marker then plots only the higher high, lower low lines.
(higher low and lower high in prices are referred to hidden divergence, which are not considered in this indicator)
3. Compare the two standards with RSI and CMF indicators, send an alert if there is a divergence. As a result, the indicator will find four combination of divergence.
A. Higher high price / Lower RSI (Bearish RSI Divergence)
B. Lower low price / Higher RSI (Bullish RSI Divergence)
C. Higher high price / Lower CMF (Bearish CMF Divergence)
D. Lower low price / Higher CMF (Bullish CMF Divergence)
📌 Details
Developing the indicators, we put a lot of effort in making a customizable and user-friendly interface.
#1. Pivot Setting
Users can set the length to find the pivot high / pivot low in ‘Pivot Settings – Pivot Length.’
Increased pivot Length takes more candles to interpret the chart but reduce false signals since the it uses only the most certain pivot high / pivot low values. Obviously, decreased pivot length will act the opposite.
Users can choose whether to use ‘High/Low’ or ‘Close’ in ‘Pivot Reference’ to set the swing point of prices.
Users can also choose whether to display the pivot high / pivot low marker on the chart.
#2 RSI & CMF Settings
Users can adjust the length of RSI & CMF separately. (The default values are set to 14 and 20 each.)
#3 Label Setting
Users can adjust the text displayed on the chart label. (The default values is set to ‘Bullish / Bearish’, ‘RSI/CMF’, ‘Divergence’.)
Users can reduce the length of text label or simply turn the label off. Just click the ‘Bull/Bear’ or ‘None’ button. ‘Divergence’ works the same.
Users can decide whether to display the ‘Divergence Line and Label’, set custom settings for the label and line. (color, thickness, style, etc)
📌 Alert
Alert are provided as a combination of the chart's symbol and the set label text. For example,
‘BINANCE:BTCUSDT.P, Bullish RSI Divergence’
====================================================
"YD_Divergence_RSI+CMF" 지표 는 RSI와 CMF 지표를 이용해서 Divergence 를 찾아낼 수 있습니다.
📌 주요 기능
1. 정해진 가격 움직임 안에서 pivot high와 pivot low 포인트 를 찾아냅니다.
2. Pivot high로만 이어진 라인과, Pivot low로만 이어진 두 라인을 작도한 뒤 divergence의 기준으로 삼습니다.
이 지표에서는 normal divergence만 사용하기 때문에 차트에 higher high와 lower low만 표기 합니다.
(higher low와 lower high는 hidden divergence로 정의되며, 이 지표에서는 다루지 않습니다.
3. 두 기준선과 RSI, CMF 지표를 각각 비교하고, 결과적으로 4개의 조합을 구할 수 있습니다.
A. Higher high price / Lower RSI (Bearish RSI Divergence)
B. Lower low price / Higher RSI (Bullish RSI Divergence)
C. Higher high price / Lower CMF (Bearish CMF Divergence)
D. Lower low price / Higher CMF (Bullish CMF Divergence)
📌 세부 사항
지표를 개발하며 사용자들이 원하는 방향으로 지표를 설정할 수 있게 작업에 많은 공을 들였습니다. 굉장히 다양한 옵션을 선택할 수 있으며, 원하는 방식으로 지표를 사용할 수 있습니다.
#1 Pivot Setting
Pivot setting에서는 Pivot Length를 변경할 수 있습니다.
Pivot Length를 늘릴 경우, 보다 확실한 Swing High와 Swing Low만을 사용하게 되므로, False signal이 줄어들 수 있습니다. 하지만 Swing High/ Low를 판정하는 데에 더 긴 시간이 걸리게 되므로, Signal이 다소 늦게 발생하는 단점이 생기게 됩니다.
Pivot Length를 줄일 경우, 반대로 Swing High/Low의 판정이 더 빨리 일어나기 때문에, Signal을 거래에 이용하기는 좋을 수 있습니다. 다만, Swing High와 Low가 훨씬 더 잦은 빈도로 발생하기 때문에 False Signal을 줄 가능성이 높아집니다.
Pivot Reference에서는 가격의 Swing Point를 설정함에 있어, High/Low(고가/저가)를 이용할 지 Close (종가)를 이용할 지 선택할 수 있습니다.
Pivot High/Low Marker를 선택할 경우 Pivot High/ Low에 Marker가 찍히게 됩니다.
#2 RSI와 CMF Setting
RSI와 CMF Setting에서는 RSI와 CMF의 길이를 각각 설정할 수 있습니다. 기본값은 14와 20으로 설정되어 있습니다.
#3 Label Setting
Label Setting에서는 Label에 표시되는 글자를 선택할 수 있습니다.
기본값은 "Bullish / Bearish", "RSI/CMF", "Divergence"로 선택되어 있으며, 너무 길다고 느껴질 경우 "Bull/Bear" 혹은 "None"을 클릭하여 길이를 줄일 수 있습니다. 마찬가지로 Divergence의 경우도 생략이 가능합니다.
하단에서는 Divergence Line과 Label을 켜고 끌 수 있으며, 선의 색깔, 굵기, 종류, 그리고 Label의 색깔, 크기, 종류를 선택할 수 있습니다. Label의 Text 색 역시 변경이 가능합니다.
📌 얼러트
얼러트는 자신이 설정한 차트의 심볼과 Label의 문구의 조합으로 제공되며 예를 들면 다음과 같습니다.
"BINANCE:BTCUSDT.P, Bullish RSI Divergence"
Unusual Market Volume DetectorIntroduction
Price usually moves in lockstep with the volume trends i.e. price goes higher when there is buying and it goes down when there is selling in the market. But sometimes, the market behaves unusually i.e. Price and volume move in opposite directions. This indicator identifies precisely this divergent behavior in the market!
This script analyses the volume trends by utilizing changes in On Balance Volume (OBV) for the instrument and compares it with the price trend to color the lower panel on your chart window. The color changes as the direction of the OBV trend changes from Up to Down or vice versa. If there is a divergence between the price trend and volume trend, the color will switch to Purple.
Divergence in volume and price trends typically indicate a battle between supply and demand. This may coincide with a change in market direction as well. It is important to know which side won after this battle, as the market will follow that side.
This tool will alert traders of unusual market volume behavior and when both price & volume trends are in sync.
Features
A Purple color in the lower panel indicates that the Volume and Price trends are diverging and are moving in the opposite direction
A Green color in the lower panel indicates that the Volume is trending higher supporting bullish price action
A Red color in the lower panel indicates that the Volume is trending lower supporting bearish price action
How to use the Indicator while Trading?
When the Volume trend matches the price action ( Trend ), you have confirmation of your trade bias. Therefore when you are taking Long trades, you would want to see a Green color in the lower panel and a Red color when you are going Short.
When a Divergence is identified by the tool, as Purple color in the lower panel, Trader can take the following steps:
Take profit or partially close the position if you are in a Trade as this divergence presents
uncertainty
Watch for which color comes up after divergence, that side of the market has a higher
probability of prevailing. For example, a Red color indicates Selling in the market and vice
versa.
Divergence usually precedes a market direction change and therefore Trader can take this
into account when planning Trade bias and position size. Please note a divergence does
not always precede a reversal in the market and can be a temporary phenomenon with no
effect on the price action.
Basic Set-Up
Add the Indicator to the chart
You can change the default colors for Buying Volume, Selling Volume, and Divergence
Use the “Regular Trading Hours” Session in the Chart Settings for the most effective analysis
Please note : On-Balance Volume is a leading indicator but it doesn't provide specific information on exactly what happened or why. Also, a large spike in a single day may throw off the On Balance Volume for a while. Therefore we are focusing on its trend and comparing it with Price Trends for better effectiveness.
Volumetric Toolkit [LuxAlgo]The Volumetric Toolkit is a complete and comprehensive set of tools that display price action-related analysis methods from volume data.
A total of 4 features are included within the toolkit. Symbols that do not include volume data will not be supported by the script.
🔶 USAGE
The volumetric toolkit puts a heavy focus on price action, returning support/resistance levels, ranges, volume divergences...etc.
The main premise between each feature is that volume has a direct relationship with market participants level of interest over a specific symbol, and that this interest is not constant over time.
Each individual feature is detailed below.
🔹 Ranges Of Interest
The Ranges Of Interest construct a range from a surge of high liquidity in the market. This range is constructed from the price high and price low of the candle with the associated significant liquidity.
The returned extremities can be used as support and resistance, with breakouts often being accompanied by significant liquidity as well, suggesting potential trend continuations.
The length setting associated with this feature determines how sensitive the range detection algorithm is to volume, with higher values requiring more significant volume in order to display a new range.
🔹 Impulses
Impulses highlight times when volume makes a new higher high while the price makes a new higher high or lower low, suggesting increased market participation.
When this occurs when the price makes a new higher high the impulse is considered bullish (green), if the price makes a new lower low the impulse is bearish (red).
Impulses occurring within an established trend opposite to it (e.g a bearish impulse on an uptrend) might be indicative of reversals.
The length setting works similarly to the previously described ranges of interest, with higher values requiring longer-term volume higher high and price higher high/lower low, highlighting more significant impulse and potentially longer-term reversals.
🔹 Levels Of Interest
Levels of interest display price levels of significant trading activity, contrary to the range of interest only the closing price is taken into account, also volume peaks are used to detect significant trading activity.
Note that this feature is subject to backpainting, that is lines are set retrospectively.
Users can determine the amount of most recent levels to display on the chart. These can be used as classical support/resistances.
🔹 Volume Divergence
We define volume divergence as a decreased market participation while a trend is still developing.
More precisely volume divergences are highlighted if volume makes a lower high while price is making a new higher high/lower low.
This can be indicative of a lack of further participation in the current trend, indicating a potential reversal.
Using higher length values will return longer-term divergences.
Note that this feature is subject to backpainting, that is lines are set retrospectively.
🔶 SETTINGS
🔹 Ranges Of Interest
Show Ranges Of Interest: Display Ranges Of Interest.
Length: Ranges Of Interest sensitivity to volume.
🔹 Impulses
Show Impulses: Display Ranges Of Interest.
Length: Impulses sensitivity to volume.
🔹 Levels Of Interest
Show: Determine if Levels Of Interest are displayed, and how many from the most recent.
Length: Level detection sensitivity to volume.
🔹 Volume Divergences
Show Divergences: Determine if Volume Divergences are displayed.
Length: Period for the detection of price tops/bottoms and volume peaks.
Bonsai OS (Oscillators)Bonsai OS combines four oscillators (RSI, CCI, Stochastic, MACD) in one interface. Features divergence detection, color-intensity, and insights into divergences. Assists traders in spotting potential pivot points.
═════════════════════════════════════════════════════════════════════════
🌳 Bonsai OS 🌳 Advanced Oscillator Suite
📘 Overview
Bonsai OS is a tool tailored for traders focusing on reversal strategies and those keen on identifying market divergences. Combining multiple oscillators into one unified interface, it aids traders in pinpointing potential pivot reversal points.
📌 Algorithm Logic
• Multi-Oscillator Integration: Bonsai OS calculates and integrates the values from four standard oscillators: RSI, CCI, Stochastic, and MACD. Each oscillator's value is derived from its respective mathematical formula, analyzing historical data points.
• Divergence Detection: The tool runs a series of comparisons between price action and oscillator values. When discrepancies (divergences) are observed, they are highlighted, suggesting potential market reversals.
• Price Strength Visualization: A gradient background that is determined by an average of the oscillator values in relation to their historical norms, thereby providing a visual cue about the current price strength, whether it is strong or weak.
• Alerts: Users can set up notifications based on specific divergence insights. Once set criteria are met, alerts are triggered.
🎯 Purpose
• For Professionals: Bonsai OS offers integrated oscillator readings, allowing a more in-depth market analysis.
• For Beginners: Simplified readings and visual cues make it easier for newcomers to understand oscillator indicators and market conditions.
🛠 Distinctive Elements
• Oscillator Fusion: Bonsai OS goes beyond just grouping oscillators. It looks for matching divergences across them, aiming to find stronger signals for market reversals.
• Divergence Indicators: Bonsai OS identifies divergence patterns between price trends and oscillator readings, highlighting their intensity with color variations.
• Insight into Failed Divergences: Recognizing not all divergences lead to reversals, Bonsai OS provides markers for potential false signals, helping traders exercise caution and fine-tune their strategies.
Getting Bullish/Bearish and Divergences
📊 Features
• Data Source Customization: Users have the flexibility to choose between default data inputs or adjust to their preferred price points (like High & Low).
• Combined Divergence Signals: Beyond individual oscillator divergences, Bonsai OS identifies instances when several oscillators indicate divergence at the same time.
• Adaptable Outputs: Outputs like 'Bullish Divergence ▲', 'Getting Bullish ▲', 'Getting Bearish ▼' and 'Bearish Divergence ▼' are plotted as non-displayable 1 or 0 for seamless integration into other custom indicators, ensuring a harmonious integration.
Here's an example of a custom indicator that can be used for inputting data from external sources:
//@version=5
indicator("My Script Template", overlay = true)
group_name = "External Source"
external = input.source(title = "Source", defval = close, inline = "external", group = group_name)
val = input.int(title = ">", defval = 0, inline = "external", group = group_name)
// Your logic follows here...
Bonsai OS as External Source
🎛 How To Use Bonsai OS
1. Select the desired oscillator.
2. Monitor the color changes for market condition insights.
3. Look out for divergence markers to anticipate potential market shifts.
4. If required, set up alerts for real-time updates.
Indicator Settings Menu
📜 Feedback & Continual Development
We welcome your feedback. It's essential for the continuous improvement of Bonsai OS and to better serve the TradingView community.
❗️ Disclaimer
Trading involves risks. Bonsai OS aims to provide an analytical tool to support traders, but it's essential to complement its insights with other research. Always seek advice from financial professionals and trade responsibly.