PROTECTED SOURCE SCRIPT
更新済 GTI - Overbought and Oversold indicator

For this indicator I've merged 6 indicators (RSI, Stochastic, CCI, MFI, UO and William %R) that are decent to spot overbought and oversold conditions into one indicator.
The idea is the more indicators that agree on overbought and oversold conditions, the better chance that the condition is correct.
Possible input settings
Style settings
Explanations
The scale goes from 100 to -100, where outliners above 85 or below -85 is expected to be extremely rare. The overbought and oversold bands are calculated from the typical values from each indicator used in the calculation.
The noise suppression is a percentile calculation from the last X bars back, where X is the length you set in the settings. 100 is the default value. This is very good to use in strong trends as an asset in a strong bullish trend tend to not touch/breach the oversold band and vise versa. The percentile calculation might still be able to catch the overbought/oversold condition in a strong opposite trending asset. 85 is a default value, but keep in mind that every asset moves differently due to their liquidity pool. The default is only a guide line.
The divergence settings only plots normal divergences. Hidden divergences are not calculated.
If you want the possibility to plot/see hidden divergences too, let me know in the comments. If enough people wants it I'll consider adding them.
when it comes to the style, you might be a bit confused at first. The reversal value is enabled, but not showing. That's because it's enabled with 100% transparency as I like using the fill more than just a line.
If you want to use a line instead of the fill, Disable the fill -> edit reversal value color -> set your chosen color and make sure to remove the transparency to make it visible.
Exmaple, ticker NOVO_B
In the example ticker I've enabled "Noise suppression", using the default 100 length and set noise suppression for both OB and OS to 90.
The green and red circles are plotted when the "reversal value" falls below the percentile set, indicating that a possible top was just formed.
Keep in mind that strong bullish or bearish trends tend to stay overbought/oversold for a longer time and are likely to print several false signals before the eventual reversal. If a divergences is printed, normally that is either the bottom or close to the bottom before a stronger reversal.
Suggestion
As all other indicators, don't use this indicator alone to spot reversals. Use it together with 1-3 other indicators like MACD, ADX and OBV. I like to use MACD as a confirmation tool after this tool starts indicating overbought/oversold conditions.
For an overbought condition, wait for MACD to cross below the signal line.
For an oversold condition, wait for the MACD to cross above the signal line.
This way you don't act on false signal.
Another way would be to use a DCA strategy, where you buy on each signal. In such a situation I suggest starting small enough to be able to double the total for each time, example below.
First signal: $100, then another $100 on second signal, $200 on third signal, $400 on fourth signal and so on. The amounts are an example, find what works for you.
The idea is the more indicators that agree on overbought and oversold conditions, the better chance that the condition is correct.
Possible input settings
- Set your own values for the overbought and oversold bands.
- Noise suppression (On/Off)
- Length for noise suppression calculations
- Overbought noise suppression
- Oversold noise suppression
- Plot divergences (On/Off)
- Left/Right lookback settings for finding pivot highs/lows
- Min/Max lookback range to compare pivots for divergences
Style settings
- Enabled/Disable the line for reversal value
- Set the color for the line (default is 100% transparent value)
- Enable/Disable fill color between reversal value and the 0 line
- Set the fill color
- Precision for reversal value, default is 2
Explanations
The scale goes from 100 to -100, where outliners above 85 or below -85 is expected to be extremely rare. The overbought and oversold bands are calculated from the typical values from each indicator used in the calculation.
The noise suppression is a percentile calculation from the last X bars back, where X is the length you set in the settings. 100 is the default value. This is very good to use in strong trends as an asset in a strong bullish trend tend to not touch/breach the oversold band and vise versa. The percentile calculation might still be able to catch the overbought/oversold condition in a strong opposite trending asset. 85 is a default value, but keep in mind that every asset moves differently due to their liquidity pool. The default is only a guide line.
The divergence settings only plots normal divergences. Hidden divergences are not calculated.
If you want the possibility to plot/see hidden divergences too, let me know in the comments. If enough people wants it I'll consider adding them.
when it comes to the style, you might be a bit confused at first. The reversal value is enabled, but not showing. That's because it's enabled with 100% transparency as I like using the fill more than just a line.
If you want to use a line instead of the fill, Disable the fill -> edit reversal value color -> set your chosen color and make sure to remove the transparency to make it visible.
Exmaple, ticker NOVO_B
In the example ticker I've enabled "Noise suppression", using the default 100 length and set noise suppression for both OB and OS to 90.
The green and red circles are plotted when the "reversal value" falls below the percentile set, indicating that a possible top was just formed.
Keep in mind that strong bullish or bearish trends tend to stay overbought/oversold for a longer time and are likely to print several false signals before the eventual reversal. If a divergences is printed, normally that is either the bottom or close to the bottom before a stronger reversal.
Suggestion
As all other indicators, don't use this indicator alone to spot reversals. Use it together with 1-3 other indicators like MACD, ADX and OBV. I like to use MACD as a confirmation tool after this tool starts indicating overbought/oversold conditions.
For an overbought condition, wait for MACD to cross below the signal line.
For an oversold condition, wait for the MACD to cross above the signal line.
This way you don't act on false signal.
Another way would be to use a DCA strategy, where you buy on each signal. In such a situation I suggest starting small enough to be able to double the total for each time, example below.
First signal: $100, then another $100 on second signal, $200 on third signal, $400 on fourth signal and so on. The amounts are an example, find what works for you.
リリースノート
Made a small adjustment to the "Noise reduction" bands when enabled.Before change
The percentile band for overbought was only visible if the "reversal value" was above 0
The percentile band for oversold was only visible if the "reversal value" was below 0
After change
When "Noise reduction" enabled, both bands are always visible, which makes it easier to adjust the noise settings on higher timeframes.
保護スクリプト
このスクリプトのソースコードは非公開で投稿されています。 ただし、制限なく自由に使用できます – 詳細はこちらでご確認ください。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
保護スクリプト
このスクリプトのソースコードは非公開で投稿されています。 ただし、制限なく自由に使用できます – 詳細はこちらでご確認ください。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。