Momentum Oscillator, Divergences & Signals [TrendAlpha]The "Momentum, Real Time Divergences & Signals " indicator is designed to provide traders with insights into market momentum, identify potential divergences, and generate buy and sell signals. It offers a comprehensive set of features to assist traders in making informed trading decisions.
The indicator starts by calculating the momentum oscillator based on user-defined parameters.
- Traders can adjust the "Length" parameter to customize the sensitivity of the oscillator. The default value is set to 7, but it can be modified according to individual preferences.
- The "Source" parameter allows traders to select the input source for the oscillator calculation, with the default being the closing price of the asset.
- Traders have the option to display divergence lines by switching on the "Show Lines" parameter. This feature helps identify potential divergences between the oscillator and the price.
The oscillator is calculated using a two-step process. First, a smoothing function is applied to the source data using the "sma" (simple moving average) function. Then, the rate of change is computed over the specified length using the "mom" (momentum) function. Positive oscillator values indicate upward momentum, while negative values indicate downward momentum.
The indicator also generates buy and sell signals by identifying bullish and bearish divergences. A bullish divergence occurs when the oscillator is negative and crosses above zero, while a bearish divergence occurs when the oscillator is positive and crosses below zero. The indicator checks for specific conditions to confirm the divergences, such as comparing the current oscillator value with the previous value and validating the corresponding price action.
When a bullish or bearish divergence is detected, the indicator plots circles to highlight these signals on the chart. A green circle indicates a bullish signal, suggesting a potential buying opportunity, while a red circle indicates a bearish signal, suggesting a potential selling opportunity. In addition to circles, the indicator also displays labels to provide further clarity on the signals. A "Buy" label is shown for bullish signals, and a "Sell" label is shown for bearish signals.
To visually represent the divergences, the indicator plots lines connecting the corresponding points on the oscillator. A green line is drawn for bullish divergences, while a red line is drawn for bearish divergences. Traders can easily observe the divergence patterns and their relationships with the price action, aiding them in making trading decisions.
- The indicator also includes alert conditions for both bullish and bearish divergences. Traders can set up alerts to receive notifications when potential divergences occur, allowing them to take timely action.
Divergences
Correlation index and liquidityAn indicator with which you can easily compare any ticker with the ones offered.
You can choose any of the tags that are offered in the options
You can also create your own ticker if you select the Custom in Mode option.
If the comparison mode is enabled, the current ticker you are viewing is divided by the ticker selected in the indicator.
For example, if you have the EURUSD ticker open. And the EURUSD indicator is selected in the option in the indicator. Then you will get the EURUSD correlation index with other currency pairs that are correlated, for example GBPUSD+NZDUSD+AUDUSD. This means that you can now see the common index of those three pairs in relation to the EURUSD.
Custom index for major currency, example GBP have index of GBPUSD+GBPAUD+GBPJPY+GBPNZD+GBPCHF. This means that you can now see the common index of those pairs in relation to the GBP.
This script is unique because it requires the optimal combination of pairs needed for each pair specifically, which I came to during many years of studying the forex market so the source code of the script have to remain hidden.
If you are a beginerr, you can just apply simple trend-breakout strategy after you spot the divergence.
For advanced traders, you can use this together with ICT's and SMC concepts as a confirmation upon your entry.
Please comment if you like it!
Divergence IndicatorDescription:
The Divergence Indicator (DI) is a powerful technical analysis tool designed to identify potential bullish and bearish signals based on multiple indicators, including RSI, Stochastic Oscillator, MACD, and EMA. It helps traders spot divergences between price and these indicators, indicating potential trend reversals or continuations.
How it Works:
The Divergence Indicator compares various indicators and their relationships with price to identify bullish and bearish signals. It considers conditions such as rising or falling values of the Stochastic Oscillator (%K), RSI, and MACD lines, as well as the crossover and crossunder of the MACD Line and Signal Line. Additionally, it evaluates the relationship between fast and slow Exponential Moving Averages (EMA) to detect divergences. When a bullish or bearish condition is met, circles are plotted on the chart to highlight the signals.
Usage:
To effectively utilize the Divergence Indicator, follow these steps:
1. Apply the DI indicator to your chart by adding it from the available indicators.
2. Customize the color settings to suit your preferences. The bullish and bearish colors determine the colors of the plotted circles.
3. Observe the circles plotted on the chart:
- Bullish circles indicate potential bullish signals.
- Bearish circles indicate potential bearish signals.
4. Interpret the signals provided by the indicator:
- A bullish signal may occur when there is price divergence accompanied by rising values of the Stochastic Oscillator (%K), RSI, and MACD lines, or when the MACD Line crosses above the Signal Line. Additionally, a histogram value close to zero may strengthen the signal.
- A bearish signal may occur when there is price divergence accompanied by falling values of the Stochastic Oscillator (%K), RSI, and MACD lines, or when the MACD Line crosses below the Signal Line. A histogram value close to zero may also strengthen the signal.
5. Be cautious of false signals by considering additional factors such as the relationship between the fast and slow Exponential Moving Averages (EMA). If the EMAs or MACD values do not support the identified divergence, the signal may be less reliable.
6. Combine the signals from the Divergence Indicator with other technical analysis tools, such as support and resistance levels, trend lines, or candlestick patterns, to confirm potential trade setups.
7. Implement appropriate risk management strategies, including setting stop-loss orders and position sizing, to manage your trades effectively and protect your capital.
Note: The Divergence Indicator provides valuable insights into potential trend reversals or continuations based on divergences between price and multiple indicators. However, it is recommended to use this indicator in conjunction with other technical analysis tools and perform thorough analysis before making trading decisions.
Triple RSI Indicator with ToggleThis script combines three relative strength index (RSI) indicators with different periods, and allows the user to toggle between them to generate overbought and oversold signals. The indicator is named "Triple RSI Indicator with Toggle" and has the short title "TRSI-T."
The input parameters for the RSI periods are set by the user and include a short RSI with a period of 5, a main RSI with a period of 14, and a long RSI with a period of 28. The overbought and oversold levels for each RSI can also be set by the user.
The script plots the three RSI lines on the chart and calculates a bar color based on the enabled RSI values. If all three RSI values are overbought, the bar color is set to fuchsia, if all three RSI values are oversold, the bar color is set to aqua, and if neither of these conditions is met, the bar color is set to not available.
The script also includes a fast RSI and an RSI exponential moving average (EMA) with adjustable periods. The RSI fast line is plotted along with the RSI EMA line, and a cloud fill is generated between the two lines. The fill color is based on whether the fast RSI line is above or below the RSI EMA line, with a blue color used for long signals and a pink color used for short signals.
This indicator can be used as part of a trading strategy in a number of ways. Here are a few examples:
Overbought and Oversold Signals: When the bar color of the indicator is fuchsia, it indicates that all three RSIs are overbought, and when the bar color is aqua, it indicates that all three RSIs are oversold. These signals can be used to enter a trade in the opposite direction, anticipating a reversal in price.
RSI Divergence: Traders can also look for divergences between the price and the RSI values. For example, if the price is making higher highs but the RSI values are making lower highs, it could indicate that the price trend is weakening and a reversal may be imminent. Conversely, if the price is making lower lows but the RSI values are making higher lows, it could indicate that the price trend is about to reverse.
RSI Cloud Signals: The cloud fill generated between the fast RSI and RSI EMA lines can be used to generate trading signals. When the fast RSI line is above the RSI EMA line and the fill color is blue, it can be a signal to go long. When the fast RSI line is below the RSI EMA line and the fill color is pink, it can be a signal to go short.
If anybody has some interesting thoughts on how to improve it, let me know!!
Multiple Divergences - Candle Edition - Libertus█ OVERVIEW
This script will help you track multiple indicator divergences in an easy, clean, and very visible way. Currently supported indicators at the time of script publishing are the Relative strength index (RSI) and On balance volume (OBV). If you have suggestions on which other popular indicators to add, leave them in the comments or message me directly.
You can track divergences manually, but it's time-consuming, you can easily miss them and if you want to track it on more than one indicator it will consume a lot of your screen space.
The script is using my time-tested divergences code, loved by a lot of TradingView users. If you want to use RSI divergences code in your scripts, you can find it in my Relative Strength Index - Divergences - Libertus indicator .
This script continues to improve on my popular RSI Divergences - Candle Edition - Libertus .
█ USAGE
In short, divergences occur between price and indicator. When the price makes a new high or low, but the indicator doesn't make a new high or low. Please check Investopedia for a more detailed explanation of RSI and OBV divergences.
BULL marks bullish divergence, which means the price made a new low, but the indicator value still hasn't made a new low. It can indicate a bullish trend change.
BEAR marks bearish divergences, which means the price made a new high, but the indicator value still hasn't made a new high. It can indicate a bearish trend change.
PIVOT is the highest or lowest price (candle) in the lookback period.
ALERTS are available for all PIVOTS and divergences, including candles with multiple divergences.
█ SETTINGS
HIDE PIVOT - ON by default, hides pivots.
SHORTER LABELS - OFF by default, removes text from BEAR / BULL labels.
HIDE LABELS AND COLOR BACKGROUND - OFF by default, hides labels completely and colors chart background.
LOOKBACK PERIODS - number of candles script will check in history for the pivot.
Hopefully, this indicator will help you in your trading. Good luck!
Divergence for Many [Dimkud - v5]Strategy is based on "Divergence for Many Indicators v4 ST" strategy by CannyTolany01
which is based on "Divergence for Many Indicator" indicator by LonesomeTheBlue
This strategy is searching for divergences on 18 indicators which you can select and optimise one by one.
Additionally you can connect any other External Indicator value. (just add this indicator the the chart and select option in settings)
To the original indicator/strategy I have added 9 additional indicators:
( Money Flow Index, Williams_Vix, Stochastic RSI , SMI Ergodic Oscillator, Volume Weighted MACD , Bull Bear Power, Balance of Power , Relative Volatility Index , Logistic Settings).
Converted strategy to v5 of Pine Script.
Added Static SL/TP in percents (%).
Added filters to filter enters:
1. Volume Weighted MACD - Multi-TimeFrame Filter
(It checks for histogram to falling or rising for a set periods of bars)
2. Money Flow Index - Multi-TimeFrame Filter
(It checks if MFI Oscillator is in the set diapason.
Also It checks if MFI is falling or rising for a set periods of bars )
3. ATR filter
(check changes in fast ATR to slow ATR )
Strategy shows good backtest results on many crypto tokens on 45m - 1h periods. (with parameters optimisation for every indicator)
To find best parameters - you can enable indicators one-by one, and optimise best parameters for each of them.
Then enable all indicators with successful results.
Optimise SL/TP.
Then try to enable and optimise filters (channels etc.)
The better is to optimise parameters separately for Short and Long trading. And run two separate bots (in settings enable only Long or only Short.)
Updates:
- Added visualisation for open trades (SL/TP)
- Added Volatility filter by ATR with many options for tests.
- Fixed some small bugs.
- Added second RSI filter (you can use two RSIs with different TF or settings)
- Updated ATR volatility and MFI filter. Removed non-effective options
- Added CCI filter
- Added option to Enable/Disable visualisation of TP/SL on chart
- Fixed one small quick bug. ("ATR filter short" was not working)
- Added Super Trend filter
- Added Momentum filter
- Added Volume Filter
- All "request.security" MultiTimeFrame calls changed to 100% non-repait function "f_security()"
Signals and pivot divergencesScript that shows buy and sell signals for multiple indicators and divergences when there's a pivot in the price chart. The defaults are from my own laboration and don't hesitate to share your settings!
Best of trading luck!
TWA - SurgeWith the TWA Surge indicator we make price and volume impulses easy to read.
Ideally if you are looking to go long look for a red surge and if your looking to go short look for a green surge.
Volume traders out there always wonder if its a bull rush or a falling knife and not sure when that push of volume and momentum will slow down. That's where the borders of the surge come in when a green surge gets a red border forming or a red surge gets a green border forming that means it's show time.
Lastly the surge has exhausted volume built in as well so when you see a different color in your red or green surges you will be able to get further confirmation that the team you are trading against needs to take a break and your team is at full strength ready to take them down.
Under the hood the surge impulses are calculated using a proprietary algorithm involving the amount of standard deviations price deviates from an average, and accumulations of volume for both above and below average volume .
Similarly the exhausted volume looks for strong deviations from the average amount of volume . Standard deviations of price measure the amount of variation or dispersion among price values. Looking at price and volume through the lens of standard deviations it can be seen when price and/or volume are outside of their statistical norm, hence as outliers or extremes they become more likely to reverse and return to a statistical norm.
This increased tendency for a reversal makes the surges on the TWA Surge a useful tool for finding trade opportunities.
The indicator provides many elements to create confluence for trade set-ups. The border of the surge histogram changes color to visually signal when momentum is changing direction. A trade set-up of this would be seeing a red surge form followed by the border turning green. Other elements include horizontal line meters that change colors to show the story of price and momentum.
The uppermost horizontal line meter uses an algorithm to compare price to its recent ranges over multiple times to determine trend direction.
The 2nd horizontal line meter measures the directional efficiency of the movement of price to determine direction in the market.
The 3rd horizontal line meter calculates buying and selling pressure by separating volume that moves price up from volume that moves price down, and comparing that to the total volume .
The 4th horizontal line meter uses an algorithm combining the volatility of recent candles with the statistical likeliness of price to return to its mean in order to determine direction, and if that direction is strengthening or weakening.
SMT Divergence [promuckaj]SMT Divergence indicator will track your main symbol on the chart against other one you set, for example you can use it on S&P 500 chart while you set there to track and compare it with Nasdaq, it will search for divergence between them, according to swing points, and print it on the chart for you.
There is option to set custom swing points period, colors, lines, debug info panel that will show you in real time values and times of last two swing highs and lows points that is formed on second symbol you want to track.
You can activate also alerts for bullish and bearish divergences separately, as you wish.
There is option to setup divergence types you want to get:
#1
100% aligned divergences only - means both swing points are aligned at the same bar and time between two assets.
#2
all divergences - means you will get also the rest potential divergences that is not 100% aligned between two assets according to swing points. This means that, while swing points is formed on main symbol, indicator will compare their bars and times to the second symbol and if it looks like divergence you will get it on the chart.
Just to clarify "divergence" between two symbols, it means that for bearish one symbol need to form higher low while the other need to form higher high, and vice versa for bullish, lower low / lower high.
Everyone enjoy !
Black MACDBlack MACD is combination of MACD / Awesome Oscillator / Wavetrend Oscillator / BB Squeeze (Multi Oscillator) with many features like Multi Symbol support, Dual Divergence, MACD Cross over/under and completely customizable.
MACD Oscillator
Awesome Oscillator
Wavetrend Oscillator
Bollinger Bands Squeeze
Multi Symbol
Dual Divergence
MACD Cross over/under
Full Customization
Multi Symbol
Bollinger Bands Squeeze
Dual Divergence
MACD Cross
Awesome Oscillator
Wavetrend Oscillator
What is Moving Average Convergence Divergence – MACD?
The most popular indicator used in technical analysis, Moving average convergence divergence ( MACD ) reveal changes in the strength, direction, momentum, and duration of a trend in a financial instrument’s price. It's a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price. The MACD is calculated by subtracting the 26-period exponential moving average ( EMA ) from the 12-period EMA.
The MACD indicator is typically good for identifying three types of basic signals;
Signal Line Crossovers
A Signal Line Crossover is the most common signal produced by the MACD . On the occasions where the MACD Line crosses above or below the Signal Line, that can signify a potentially strong move. The standard interpretation of such an event is a recommendation to buy if the MACD line crosses up through the Signal Line (a "bullish" crossover), or to sell if it crosses down through the Signal Line (a "bearish" crossover). These events are taken as indications that the trend in the financial instrument is about to accelerate in the direction of the crossover.
Zero Line Crossovers
Zero Line Crossovers occur when the MACD Line crossed the Zero Line and either becomes positive (above 0) or negative (below 0). A change from positive to negative MACD is interpreted as "bearish", and from negative to positive as "bullish". Zero crossovers provide evidence of a change in the direction of a trend but less confirmation of its momentum than a signal line crossover
Divergence
Divergence is another signal created by the MACD . Simply, divergence occurs when the MACD and actual price are not in agreement. A "positive divergence" or "bullish divergence" occurs when the price makes a new low but the MACD does not confirm with a new low of its own. A "negative divergence" or "bearish divergence" occurs when the price makes a new high but the MACD does not confirm with a new high of its own. A divergence with respect to price may occur on the MACD line and/or the MACD Histogram
Moving Average Crossovers, another hidden signal that MACD Indicator identifies
Many traders will watch for a short-term moving average to cross above a longer-term moving average and use this to signal increasing upward momentum. This bullish crossover suggests that the price has recently been rising at a faster rate than it has in the past, so it is a common technical buy sign. Conversely, a short-term moving average crossing below a longer-term average is used to illustrate that the asset's price has been moving downward at a faster rate and that it may be a good time to sell.
Moving Average Crossovers in reality is Zero Line Crossovers, the value of the MACD indicator is equal to zero each time the two moving averages cross over each other. For easy interpretation by trades, Zero Line Crossovers are simply described as positive or negative MACD
False signals
Like any forecasting algorithm, the MACD can generate false signals. A false positive, for example, would be a bullish crossover followed by a sudden decline in a financial instrument. A false negative would be a situation where there is bearish crossover, yet the financial instrument accelerated suddenly upwards
What is Awesome Oscillator?
The Awesome Oscillator is an indicator used to measure market momentum. AO calculates the difference of a 34 Period and 5 Period Simple Moving Averages. The Simple Moving Averages that are used are not calculated using closing price but rather each bar's midpoints. AO is generally used to affirm trends or to anticipate possible reversals.
Disclaimer: DYOR. Not financial advice. Not a trading system. I am not affiliated with TradingView or any authors mentioned here; You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely. Always trade with confluence and Risk Management.
Feedback & Bug report
if you found any bug in this indicator or any suggestion, please let me know. Please give feedback & appreciate if you like to see more future updates and indicators. Thank you
Check out Black RSI indicator:
[@btc_charlie] Trader XO Macro Trend ScannerWhat is this script?
This script has two main functions focusing on EMAs (Exponential Moving Average) and Stochastic RSI.
EMAs
EMAs are typically used to give a view of bullish / bearish momentum. When the shorter EMA (calculated off more recent price action) crosses, or is above, the slower moving EMA (calculated off a longer period of price action), it suggests that the market is in an uptrend. This can be an indication to either go long on said asset, or that it is more preferable to take long setups over short setups. Invalidation on long setups is usually found via price action (e.g. previous lows) or simply waiting for an EMA cross in the opposite direction (i.e. shorter EMA crosses under longer term EMA).
This is not a perfect system for trade entry or exit, but it does give a good indication of market trends. The settings for the EMAs can be changed based on user inputs, and by default the candles are coloured based on the crosses to make it more visual. The default settings are based on “Trader XO’s” settings who is an exceptional swing trader.
RSI
Stochastic RSI is a separate indicator that has been added to this script. RSI measures Relative Strength (RSI = Relative Strength Index). When RSI is <20 it is considered oversold, and when >80 it is overbought. These conditions suggests that momentum is very strong in the direction of the trend.
If there is a divergence between the price (e.g. price is creating higher highs, and stoch RSI is creating lower highs) it suggests the strength of the trend is weakening. Whilst this script does not highlight divergences, what it does highlight is when the shorter term RSI (K) crosses over D (the average of last 3 periods). This can give an indication that the trend is losing strength.
Combination
The EMAs indicate when trend shifts (bullish or bearish).
The RSI indicates when the trend is losing momentum.
The combination of the two can be used to suggest when to prefer a directional bias, and subsequently shift in anticipation of a trend reversal.
Note that no signal is 100% accurate and an interpretation of market conditions and price action will need to be overlayed to
Why is it different to others?
I have not found other scripts that are available in this way visually including alerts when Stoch RSI crosses over/under the extremes; or the mid points.
Whilst these indicators are default, the combination of them and how they are presented is not and makes use of the TradingView colouring functionalities.
What are the features?
Customise the variables (averages) used in the script.
Display as one EMA or two EMAs (the crossing ones).
Alerts on EMA crosses.
Alerts on Stoch RSI crosses - slow/fast, upper, lower areas.
- Currently set on the chart to show alerts when Stoch RSI is above 80, then falls below 80 (and colours it red).
Customisable colours.
What are the best conditions for this?
It is designed for high timeframe charts and analysis in crypto, since crypto tends to trend.
It can however be used for lower timeframes.
Disclaimer/Notes:
I have noticed several videos appearing suggesting that this is a "100% win rate indicator" .
NO indicator has 100% win rate.
An indicator is an *indicator* that is all.
Please use responsibly and let me know if there are any mods or updates you would like to see.
True Momentum OscillatorThe True Momentum Oscillator (TMO) calculates the delta of the price using the open and close. We have taken the true momentum oscillator a step further and have added the momentum of the main signal (TMO) and the smooth signal line. We believe this helps give a clearer picture of price momentum and helps verify crossovers of the TMO and the smooth signal line. The momentum lines can also help confirm a divergence of the TMO. We have also added multiple moving average options so the user can customize the TMO to suit their needs.
TMO- Green when above Smooth Signal Line, red when below Smooth Signal Line
Smooth Signal- Gray Line
Histogram- TMO-Smooth Signal
TMO Momentum- Orange line
Smooth Signal Momentum- Yellow line
Overbought/Oversold regions- Gray highlighted boundaries
The TMO has defined overbought and oversold regions where either a crossover signal or divergence in the oscillator itself can be taken as a signal. Similar to the MACD, a crossover of the zero line by the TMO can also be utilized as a signal.
RSI DivergenceWhat is "RSI Divergence"?
"RSI Divergence" is a indicator that find RSI divergence automatically.
What it does?
When it finds an RSI divergence, it draws a line on the indicator.
How it does it?
The lines are found using the least squares method. If the signs of the linear regression on the graph and the linear regression plotted on the RSI are different, this is considered divergence.
How to use it?
RSI lenght = RSI lenght
source = source of RSI
RSI Divergence Lenght = lenght of lines that draws on indicator
zoom = zoom
examples:
Wavetrend in Dynamic Zones with Kumo Implied VolatilityI was asked to do one of those, so here we go...
As always free and open source as it should be. Do not pay for such indicators!
A WaveTrend Indicator or also widely known as "Market Cipher" is an Indicator that is based on Moving Averages, therefore its an "lagging indicator". Lagging indicators are best used in combination with leading indicators. In this script the "leading indicator" component are Daily, Weekly or Monthly Pivots . These Pivots can be used as dynamic Support and Resistance , Stoploss, Take Profit etc.
This indicator combination is best used in larger timeframes. For lower timeframes you might need to change settings to your liking.
The general Wavetrend settings are the same that are used in Market Cipher, Market Liberator and such popular indicators.
What are these circles?
-These are the WaveTrend Divergences. Red for Regular-Bearish. Orange for Hidden-Bearish. Green for Regular-Bullish. Aqua for Hidden-Bullish.
What are these white, orange and aqua triangles?
-These are the WaveTrend Pivots. A Pivot counter was added. Every time a pivot is lower than the previous one, an orange triangle is printed, every time a pivot is higher than the previous one an aqua triangle is printed. That mimics a very common way Wavetrend is being used for trading when using those other paid Wavetrend indicators.
What are these Orange and Aqua Zones?
-These are Dynamic Zones based on the indicator itself, they offer more information than static zones. Of course static lines are also included and can be adjusted.
What are the lines between the waves?
-This is a Kumo Cloud Implied Volatility indicator. It is color coded and can be used to indicate if a major market move/bottom/top happened.
What are those numbers on the right?
-The first number is a Bollinger Band indicator that shows if said Bollinger Band is in a state of Oversold/Overbought, the second number is the actual Bollinger Band Width that indicates if the Bollinger Band squeezes, normally that happens right before the market makes an explosive move.
Please keep in mind that this indicator is a tool and not a strategy, do not blindly trade signals, do your own research first! Use this indicator in conjunction with other indicators to get multiple confirmations.
Adaptive Fisherized CMFIntroduction
Heyo, here I made a normalized Chaikin Money Flow (CMF) indicator with Inverse Fisher Transform (IFT) and some smoothing techniques.
I had to normalize the indicator in order to fit it to the IFT range (-1 -> 1).
Moreover, the good old adaptive mode is also included in this indicator. It uses Ehlers superb dominant cycle techniques.
It also has divergence detection, several options for individualisation and doesn't repaint.
Usage
www.investopedia.com
Signals
CMF above 0 => bullish market
CMF below 0 => bearish market
(You can also use the inner bands instead of the zero line, to make these signals more precise)
Bullish regular/hidden divergence => long
Bearish regular/hidden divergence => short
Enjoy guys!
PS: I really would like to hear some feedback of you.
Divergence Finder [Multigrain]█ OVERVIEW
This indicator is a divergence finder, designed to be overlayed on top of any oscillator. By utilizing an Exponential Moving Average, rather than built-in pivot functions, this allows for insignificant pivots of the oscillator to be filtered out. Additionally, by sampling more than just the previous oscillator pivot, this allows for divergences to be found that would otherwise be overlooked through other methods.
█ CONCEPTS
Interim Price Threshold
A new metric used when determining valid divergences is the Interim Price Threshold (IPT). The IPT is the maximum percent delta the price is allowed to "poke-through" the divergent line at any given time.
Interim Oscillator Threshold
Similar to the Interim Price Threshold, the Interim Oscillator Threshold (IOT) is the maximum percent delta the oscillator is allowed to "poke-through" the divergent line at any given time.
Dynamic Midline
Commonly a static midline is utilized when determining whether a divergence may be bullish or bearish. By utilizing the built-in percentile nearest rank function, the midline is automatically and dynamically determined based on the previous 250 bars. As a result certain divergences which may otherwise be overlooked will be discovered.
█ SETTINGS
Oscillator Source: The oscillator in which you want find divergences from. Default to a MACD oscillator when unchanged.
Price Source: The price source in which you want to find divergences from.
Moving Average Length: The length of the exponential moving average used when determining the pivot points of the selected oscillator.
█ USAGES
Divergence in technical analysis can indicate a significant bullish or bearish price move. A bullish divergence occurs when an asset's price makes a new low while an indicator begins to rise. A bearish divergence occurs when the price makes a new high but the indicator under consideration makes a lower high.
Relative Strength Index (RSI) + Realtime DivergencesRelative Strength Index (RSI) + Realtime Divergences
This version of the RSI indicator includes the following features:
- Optional divergence lines drawn directly onto the oscillator in realtime.
- Configurable alerts to notify you when divergences occur.
- Configurable lookback periods to fine tune the divergences drawn in order to suit different trading styles and timeframes.
- Background colouring option to indicate when the RSI oscillator has crossed above or below its centerline.
- Alternate timeframe feature allows you to configure the oscillator to use data from a different timeframe than the chart it is loaded on.
- Fadeout oscillator feature will fade out all but the most recent history, leaving your chart free of visual noise.
- Flip oscillator feature can be used with the Tradingview 'Flip chart' feature (Alt+i) in order to flip both the chart and the oscillator, too. This feature is to help traders manually spot divergences that may have a strong natural bias in one direction.
- Optional centerline and range bands.
- Various optional moving average types, bollinger bands etc.
This indicator adds additional features onto the standard RSI whose core calculations remain unchanged. Namely, the configurable option to automatically, quickly and clearly draw divergence lines onto the oscillator for you as they occur in realtime. It also has the addition of unique alerts, so you can be notified when divergences occur without spending all day watching the charts. Furthermore, this version of the RSI comes with configurable lookback periods, which can be configured in order to adjust the sensitivity of the divergences, in order to suit shorter or higher timeframe trading approaches.
What is the Relative Strength Index ( RSI )?
Investopedia describes the Relative Strength Index as follows:
“The relative strength index (RSI) is a momentum indicator used in technical analysis. RSI measures the speed and magnitude of a security's recent price changes to evaluate overvalued or undervalued conditions in the price of that security. The RSI is displayed as an oscillator (a line graph) on a scale of zero to 100. The indicator was developed by J. Welles Wilder Jr. and introduced in his seminal 1978 book, New Concepts in Technical Trading Systems.
The RSI can do more than point to overbought and oversold securities. It can also indicate securities that may be primed for a trend reversal or corrective pullback in price. It can signal when to buy and sell. Traditionally, an RSI reading of 70 or above indicates an overbought situation. A reading of 30 or below indicates an oversold condition.”
The RSI is also commonly used to spot divergences.
You can read more about the RSI and its calculations here
What are divergences?
Divergence is when the price of an asset is moving in the opposite direction of a technical indicator, such as an oscillator, or is moving contrary to other data. Divergence warns that the current price trend may be weakening, and in some cases may lead to the price changing direction.
There are 4 main types of divergence, which are split into 2 categories;
regular divergences and hidden divergences. Regular divergences indicate possible trend reversals, and hidden divergences indicate possible trend continuation.
Regular bullish divergence: An indication of a potential trend reversal, from the current downtrend, to an uptrend.
Regular bearish divergence: An indication of a potential trend reversal, from the current uptrend, to a downtrend.
Hidden bullish divergence: An indication of a potential uptrend continuation.
Hidden bearish divergence: An indication of a potential downtrend continuation.
How do traders use divergences in their trading?
A divergence is considered a leading indicator in technical analysis , meaning it has the ability to indicate a potential price move in the short term future.
Hidden bullish and hidden bearish divergences, which indicate a potential continuation of the current trend are sometimes considered a good place for traders to begin, since trend continuation occurs more frequently than reversals, or trend changes.
When trading regular bullish divergences and regular bearish divergences, which are indications of a trend reversal, the probability of it doing so may increase when these occur at a strong support or resistance level . A common mistake new traders make is to get into a regular divergence trade too early, assuming it will immediately reverse, but these can continue to form for some time before the trend eventually changes, by using forms of support or resistance as an added confluence, such as when price reaches a moving average, the success rate when trading these patterns may increase.
Typically, traders will manually draw lines across the swing highs and swing lows of both the price chart and the oscillator to see whether they appear to present a divergence, this indicator will draw them for you, quickly and clearly, and can notify you when they occur.
Setting alerts.
With this indicator you can set alerts to notify you when any/all of the above types of divergences occur, on any chart timeframe you choose.
Configurable pivot periods.
You can adjust the default pivot periods to suit your prefered trading style and timeframe. If you like to trade a shorter time frame, lowering the default lookback values will make the divergences drawn more sensitive to short term price action.
Disclaimer: This script includes code from the stock RSI by Tradingview as well as the Divergence for Many Indicators v4 by LonesomeTheBlue.
Cheat Code's RedemptionWELCOME TO THE CHEAT CODE REDEMPTION PACK!!!!
I want to take a deep dive into what this indicator consists of and how you can use it to improve your trading strategy.
-What does the CCR consist of?
The Oscillator:
The oscillator is a combination of a true strength index sampled from on-balance volume and a regular RSI at default settings. The reason I added the on-balance volume is that it does not tend to remain at overbought or oversold conditions as traditional momentum oscillators do.
The Histogram:
The histogram is copied to a tee from the MACD histogram, the only difference here is that I extended the moving averages to depict a special pairing; the ema55 slow and ema21 fast. I then converted it into another true strength index, as the calculations fit all time frames.
The Divergences:
The divergences of an indicator can be extremely useful in catching scalp opportunities, a DARK RED/GREEN represents a REGULAR divergence, while a SALMON/LIGHT GREEN color represents a HIDDEN divergence.
The moving average:
The moving average built into this indicator is depicted as an aqua or yellow line, when the oscillator is moving in an uptrend, the moving average will appear aqua, when the oscillator is in a downtrend it will appear yellow. Use this as confirmation bias or as the third derivative of market position.
Oscillator Colors:
The Oscillator color is an important thesis of this indicator. When the line is green, it means the market is effectively in an uptrend, when it is red, it means the market is in a downtrend. Use this to prevent longing in a serious downtrend and vice versa.
If you have any questions regarding the indicator(s), feel free to reach out to me in the comments or through Direct Message!!!
Safe Trading, Don't get Rekt
- CheatCode1 <3
(mab) DivergencesThis overlay indicator detects divergences between price movement and a number of price, volume and combined price-volume indicators.
In contrast to other scripts which can detect divergences, this indicator re-evaluates the status of each divergence at every confirmed candle. Divergences are potential when they are first detected. They can later be confirmed if the indicator value crosses the confirmation level. They can be invalidated before or after confirmation if the indicator value crosses the invalidation level.
Potential divergences are good bullish or bearish signals. However, confirmed divergences are much more significant and powerful. Invalidated divergences on the other hand shouldn't be considered as any signal anymore, that's why the are removed from the display by default.
The chart below illustrates confirmation and invalidation levels.
Bullish divergences:
- Potential bullish divergence: Price in downtrend making a lower low (pivot point D lower than pivot point B) while the indicator makes a higher low (pivot point D higher than pivot point B)
- Confirmed bullish divergence: The indicator value moves above the previous high (indicator value E higher than confirmation level C)
- Invalidated bullish divergence: The indicator value moves below the previous low (indicator value lower than invalidation level D). Divergences can be invalidated at any point, before or after
confirmation.
Bearish divergences:
- Potential bearish divergence: Price in uptrend making a higher high (pivot point D higher than pivot point B) while the indicator makes a lower high (pivot point D lower than pivot point B)
- Confirmed bearish divergence: The indicator value moves below the previous low (indicator value E lower than confirmation level C)
- Invalidated bearish divergence: The indicator value moves above the previous high (indicator value higher than invalidation level D). Divergences can be invalidated at any point, before or after
confirmation.
Divergences for the following price and volume indicators are implemented:
- MACD , Moving Averages Convergence Divergence, modified default configuration
- RSI , Relative Strength Index
- MMF, (mab) Money Flow , my proprietary money flow index using price and volume data and a formula similar to RSI
- MVI , (mab) Volume Index, my proprietary volume index using a formula similar to RSI
- Willy, a Williams %R, modified default configuration
- SqzMom, Squeeze Momentum, the momentum indicator of Squeeze Pro (John Carter)
- CMF , Chaikin Money Flow
- MFI , Money Flow Index
- OBV, On-balance Volume
V 0.9
© happymab
MTF TMOTMO - (T)rue (M)omentum (O)scillator) MTF (Higher Aggregation) Version
TMO calculates momentum using the DELTA of price. Giving a much better picture of the trend, reversals & divergences than most momentum oscillators using price. Aside from the regular TMO, this study combines four different TMO aggregations into one indicator for an even better picture of the trend. Once you look deeper into this study you will realize how complex this tool is. This version also produce much more information like crosses, divergences, overbought / oversold signals, higher aggregation fades etc. It is probably not even possible to explain them all, there could easily be an entire e-book about this study.
I have been using this tool for a couple of years now, and this is what i have learned so far:
Favorite Time Frame Variations:
1. 1m / 5m / 30m - Great for intraday futures or options scalps. 30m TMO serves as the overall trend gauge for the day. 5min dictates the longer term intraday moves as well as direction of the 1min. 1min is for the scalps. When the 5min TMO is sloping higher focus should be on 1min buy signals (red to green cross) and vice versa for the 5min agg. sloping down.
2. 5m / 30m / 60m - Also an interesting variation for day trading the 3-5 min charts. Producing more cleaner & beginner-friendly signals that lasts couple of minutes instead of seconds.
3. 120m / Day / 2 Day - For the 30m to 1H or 2H timeframes. Daily & 2 Day dictates the overall trend. 120 min for the signals. Great for a multi-day swings.
4. Day / 2 Day / Week - Good for the daily charts, swing trading analysis as the weekly dictates the overall trend, daily dictates the signals and the 2 day cleans out the daily signals. If the daily & 2 day are not aligned togather, daily signal means nothing. Weekly dictates 2 day - 2 day dictates daily.
5. Week / Month / 3 Month - Same thing as the previous variation but for the weekly charts.
TMO Length:
The default vanilla settings are 14,5,3. Some traders prefer 21,5,3 as the TMO length is litle higher = TMO will potenially last little longer which could teoretically produce less false signals but slower crosses which means signals will lag more behind price. The lower the length, the faster the oscillator oscillates. It is the noice vs. the lag debate. The Length can be changed, but i would not personally touch the other two. Few points up or down on length will not drastically change much. But changes on Calc Length and Smooth Length can produce totally different signals from the original.
Tips & Tricks:
1. Observe
- This is the best tip & trick I can give you. The #1 best way to learn how any study operates is to just observe how it works in certain situations from the past. MTF TMO is not
an exception.
2. The Power of the Higher Aggregation
- The higher aggregation ALWAYS dictates the lower one. Best way to see this? Just 2x the current timeframe aggregation = so on daily chart, plot the daily & two day TMOs and you will notice how the higher agg. smooths out the current agg. The higher the aggregation is, the smoother (but slower) will the TMO turn. The real power kicks in when the 3 or 4 aggregations are aligned togather in one direction.
3. Position of the Higher Aggregation in Relation to the Extremes
- Overbought / oversold signals might not really work on the current aggregation. But pay attention to the higher aggregations in relation to the extremes. Ex: on the daily chart - daily TMO inside the OB / OS extremes might not mean much. But once the higher aggregations such as 3 day or Weekly TMO enters OB/OS zone togather with the daily, this can be a very powerful signal for a TMO reversion to the zeroline.
4. Crosses
- Yes, crosses do work. Personally, I never really focused on them. The thing about the crosses is that it is crucial to pick the right higher aggregation to the combination of the current one that would be reliable but also print enough signals. The closer the cross is to the OB / OS extremes, the more bigger move can occur. Crosses around the zero line can be considered as less quality crosses.
5. Divergences
- TMO can print awesome divergences. The best divergences are on the current aggregation (TMO agg. same as the chart) since the current agg. oscillates fast, it can usually produce lower lows & higher highs faster then any higher aggregations. Easy setup: wait for the higher aggregation to reach the OB / OS extremes and watch the current (chart) aggregation to print a divergence.
6. Three is Enough
- I personally find more than three aggregations messy and hard to read. But there is always the option to turn on the 4th one. Just switch the TMO 4 Main, TMO 4 Signal and TMO 4 Fill in the style settings.
Hope it helps.
Strength of Divergence Across Multiple IndicatorsOverview:
One-stop shop for all your divergence needs, including:
(1) A single metric for divergence strength across multiple indicators.
(2) Labels that make it easy to spot where the truly strong divergence is by showing the overall divergence strength value along with the number of divergent indicators. Hovering over the label shows a breakdown of each divergent indicator and its individual divergence strength value.
(3) Fully customizable, including inputs for pivot lengths, divergence types, and weights for every component of the divergence strength calculation. This allows you to quickly and easily optimize the output for any chart. Don't worry, the default settings will have you covered if you're not interested in what's going on under the hood.
The Divergence Strength Calculation:
The total divergence strength value is the sum of the divergence strengths of all indicators for which divergence was detected at a given bar. Each indicator's individual divergence strength is comprised of two basic components: (1) |ΔPrice| - the magnitude of the change in price over the divergence period (pivot-to-pivot), and (2) |ΔIndicator| - the magnitude of the change in indicator value over the divergence period.
Because different indicators' scales and volatility can vary greatly, the Δ values are expressed in terms of standard deviation to ensure that the values are meaningful and equitable across all indicators and assets/instruments/currency pairs, etc:
|ΔIndicator| = |indicator_value_1 - indicator_value_2| / 2 * StDev(indicator_series,100)
Calculation Weights:
All components of the calculation are weighted and can be modified on the Inputs page in settings (weights are simply multipliers). For example, if you think hidden divergence should carry less weight than regular divergence, you can assign it a lesser weight. Or if you think RSI divergence is worth more than OBV divergence, you can adjust their weights accordingly. List of weights:
Regular divergence weight - default = 1
Hidden divergence weight - default = 1
ΔPrice weight - default = 0.5 (multiplied by the ΔPrice component)
ΔIndicator weight - default = 1.5 (multiplied by the ΔIndicator component)
RSI weight - default = 1.1
OBV weight - default = 0.8
MACD weight - default = 0.9
STOCH weight - default = 0.9
Development for additional indicators is ongoing, as is research into the optimal weight configuration(s).
Other Inputs:
Pivot lengths - specify the number of bars before and after each pivot high/low to consider it a valid candidate for divergence.
Lookback bars and Lookback pivots - specify the number of bars or the number of pivots to look back across.
Price sources - specify separate price sources for bullish and bearish divergence
Display settings - specify how lines and labels should display, including which divergence strength values should show the largest labels. Include/exclude specific divergence types and indicators.
Please report any bugs, or let me know if you have any enhancement suggestions or requests for additional indicators.
@reees
BB%Bx4This is just a script that combines 4 BB%B oscillators in one. It is useful for seeing multiple divergences on one graphic.
The default setting is the 1m time frame but, you can change it to 5m time frame and it will still work. You can see it on any CHART time frame and that was my goal when I made it. So, I don't have to switch back and forth.
I made this tool for my trading style and it may not work for you.
Wolfpack Divergences [multigrain]█ OVERVIEW
A fast and improved divergence finding algorithm that aims to be better than the built-in TradingView divergence algorithm.
█ CONCEPTS
Wolfpack
Wolfpack is an oscillator made popular by darrellfischer1 all the way back in 2017. Since then the Wolfpack oscillator has been utilized by a number of notable strategy/indicator creators. At some point it was realized that the oscillator was simply the Moving Average Crossover Divergence oscillator with the fast and slow length of 3 and 8, respectively. The true significance and reasoning behind these lengths are unknown, however one may surmise that they are chosen due to their relevance as Fibonacci numbers.
Divergences
Divergence is when the price of an asset is moving in the opposite direction of a technical indicator, such as an oscillator, or is moving contrary to other data. Divergence warns that the current price trend may be weakening, and in some cases may lead to the price changing direction.
█ USAGE
Wolfpack
Similar to many other oscillators, when the Wolfpack oscillator reports a value above the zero-line, this indicates a bullish trend in the price. Subsequently, a value below the zero-line indicate a bearish trend in the price.
Divergences
Divergence in technical analysis may signal a major positive or negative price move. A positive divergence occurs when the price of an asset makes a new low while an indicator, such as money flow, starts to climb. Conversely, a negative divergence is when the price makes a new high but the indicator being analyzed makes a lower high.