OPEN-SOURCE SCRIPT
更新済 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.
https://www.tradingview.com/x/xLEQJE2z
Hidden Bullish Divergence:
Oscillator indicates a lower low.
Price exhibits a higher low.
Signals a concealed bullish continuation pattern.
https://www.tradingview.com/x/9uO7iasN
Regular Bearish Divergence:
Oscillator shows a lower high.
Price marks a higher high.
Suggests a possible downward reversal.
https://www.tradingview.com/x/gEQu4eGy
Hidden Bearish Divergence:
Oscillator reflects a higher high.
Price displays a lower high.
Indicates a hidden bearish continuation pattern.
https://www.tradingview.com/x/patPpoRt
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!
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.
https://www.tradingview.com/x/xLEQJE2z
Hidden Bullish Divergence:
Oscillator indicates a lower low.
Price exhibits a higher low.
Signals a concealed bullish continuation pattern.
https://www.tradingview.com/x/9uO7iasN
Regular Bearish Divergence:
Oscillator shows a lower high.
Price marks a higher high.
Suggests a possible downward reversal.
https://www.tradingview.com/x/gEQu4eGy
Hidden Bearish Divergence:
Oscillator reflects a higher high.
Price displays a lower high.
Indicates a hidden bearish continuation pattern.
https://www.tradingview.com/x/patPpoRt
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!
リリースノート
Pinescript version update.オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
All scripts & Content Provided by UAlgo Are For Informational & Educational Purposes Only.
Visit : pinescriptmarket.com/
Visit : pinescriptmarket.com/
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
All scripts & Content Provided by UAlgo Are For Informational & Educational Purposes Only.
Visit : pinescriptmarket.com/
Visit : pinescriptmarket.com/
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。