OPEN-SOURCE SCRIPT
🚦 Divergence Indicator for The Saty PO by TenAMTrader

TenAM’s Traffic Light Divergence Indicator for The Saty Phase Oscillator
Overview:
This tool is designed to automatically detect regular and hidden divergences on price using data sourced from The Saty Phase Oscillator. Divergences are displayed directly on the chart using a simple traffic-light visual system:
🟢 Bullish Divergence
🔴 Bearish Divergence
🟡 Hidden Divergence
These markers highlight potential points of interest—not trade signals—based on the momentum behavior of the underlying oscillator relative to price.
How to Use:
Add The Saty Phase Oscillator to your chart.
Then load “TenAM’s Traffic Light Divergence Indicator for The Saty Phase Oscillator.”
IMPORTANT, In the indicator settings → Indicator Source, make sure you select:
Saty Phase Oscillator → Phase Oscillator
Set the indicator to plot on price (Settings → Style → "Overlay/Price").
Adjust detection preferences:
Enable Regular, Hidden, or both divergence types.
Configure Left and Right Pivot Lookbacks.
Recommended starting point: Right = 3, Left = 1.
Optimal values vary by timeframe and market—backtesting is encouraged.
Modify the Max Lookback Range (default: 60) and Min Lookback Range (default: 0) to refine how far back divergence scanning occurs.
Interpretation:
These are not buy or sell signals. They simply highlight areas where momentum and price behavior diverge, helping you evaluate potential entry opportunities or exhaustion zones.
Legal Disclaimer:
This indicator is for informational and educational purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any security. Trading involves significant risk, and past performance does not guarantee future results. Users are fully responsible for their own trading decisions and outcomes. The creator of this script assumes no liability for any losses or damages arising from its use.
Overview:
This tool is designed to automatically detect regular and hidden divergences on price using data sourced from The Saty Phase Oscillator. Divergences are displayed directly on the chart using a simple traffic-light visual system:
🟢 Bullish Divergence
🔴 Bearish Divergence
🟡 Hidden Divergence
These markers highlight potential points of interest—not trade signals—based on the momentum behavior of the underlying oscillator relative to price.
How to Use:
Add The Saty Phase Oscillator to your chart.
Then load “TenAM’s Traffic Light Divergence Indicator for The Saty Phase Oscillator.”
IMPORTANT, In the indicator settings → Indicator Source, make sure you select:
Saty Phase Oscillator → Phase Oscillator
Set the indicator to plot on price (Settings → Style → "Overlay/Price").
Adjust detection preferences:
Enable Regular, Hidden, or both divergence types.
Configure Left and Right Pivot Lookbacks.
Recommended starting point: Right = 3, Left = 1.
Optimal values vary by timeframe and market—backtesting is encouraged.
Modify the Max Lookback Range (default: 60) and Min Lookback Range (default: 0) to refine how far back divergence scanning occurs.
Interpretation:
These are not buy or sell signals. They simply highlight areas where momentum and price behavior diverge, helping you evaluate potential entry opportunities or exhaustion zones.
Legal Disclaimer:
This indicator is for informational and educational purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any security. Trading involves significant risk, and past performance does not guarantee future results. Users are fully responsible for their own trading decisions and outcomes. The creator of this script assumes no liability for any losses or damages arising from its use.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。