OPEN-SOURCE SCRIPT
Adaptive Support & Resistance Pro + Signals

Overview
Adaptive Support & Resistance Pro is a dynamic technical analysis tool designed to automatically identify, calculate, and plot key Support and Resistance (S/R) levels on your chart. Unlike traditional pivot-based indicators, this script uses a hybrid approach combining Momentum, Relative Strength, and Volatility filters to pinpoint institutional supply and demand zones.
To ensure professional-grade execution, the script is fully optimized to prevent repainting. It operates strictly in real-time, aligning historical signals with the exact moments these key levels were formed.
How It Works (The Engine)
The indicator calculates its levels based on three core components:
Chande Momentum Oscillator (CMO) via HMA: It analyzes the rate of change between two Hull Moving Averages (HMA) of different periods to detect strong shifts in market momentum.
Relative Strength Index (RSI): A 9-period RSI filters out minor market noise, ensuring that support levels are only tracked in oversold conditions (
RSI < 25$) and resistance levels in overbought conditions (
RSI > 75$).
Legacy Close Pivots: The script analyzes extreme high/low deviations over a specific lookback period to establish the structural price floor or ceiling.
When all three conditions align, a new Support or Resistance price level is established.
Key Features & Settings
Multi-Timeframe (S/R Timeframe): You can plot S/R levels from higher timeframes (e.g., Daily or 4-Hour) directly onto your lower timeframe execution chart (e.g., 15-minute) for top-down analysis.
Signal Trigger Modes: Under the settings, you can choose how signals are displayed:
On Candle Close: Displays a BUY or SELL label immediately on the candle that confirmed the new level.
After Candle Close: Waits for the confirmation candle to close and prints the signal on the next candle, providing an extra layer of validation.
Strict One Signal Per Level Rule: The script features built-in logic that guarantees only one signal will ever be triggered per new structural level, completely eliminating label clutter and overlapping signals.
How to Use It (Trading Strategy)
Support & BUY Signals: Look for green BUY labels after the market prints a fresh support line. This indicates that momentum has shifted upwards from an oversold structural area.
Resistance & SELL Signals: Look for red SELL labels when price prints a fresh resistance line. This indicates institutional selling pressure in an overbought area.
Breakouts & Re-tests: The drawn lines stay on the chart, allowing you to monitor future re-tests of these adaptive zones.
Disclaimer
Past performance does not guarantee future results. This indicator is meant to be used as a supportive tool alongside your own risk management and trading plan.
Adaptive Support & Resistance Pro is a dynamic technical analysis tool designed to automatically identify, calculate, and plot key Support and Resistance (S/R) levels on your chart. Unlike traditional pivot-based indicators, this script uses a hybrid approach combining Momentum, Relative Strength, and Volatility filters to pinpoint institutional supply and demand zones.
To ensure professional-grade execution, the script is fully optimized to prevent repainting. It operates strictly in real-time, aligning historical signals with the exact moments these key levels were formed.
How It Works (The Engine)
The indicator calculates its levels based on three core components:
Chande Momentum Oscillator (CMO) via HMA: It analyzes the rate of change between two Hull Moving Averages (HMA) of different periods to detect strong shifts in market momentum.
Relative Strength Index (RSI): A 9-period RSI filters out minor market noise, ensuring that support levels are only tracked in oversold conditions (
Legacy Close Pivots: The script analyzes extreme high/low deviations over a specific lookback period to establish the structural price floor or ceiling.
When all three conditions align, a new Support or Resistance price level is established.
Key Features & Settings
Multi-Timeframe (S/R Timeframe): You can plot S/R levels from higher timeframes (e.g., Daily or 4-Hour) directly onto your lower timeframe execution chart (e.g., 15-minute) for top-down analysis.
Signal Trigger Modes: Under the settings, you can choose how signals are displayed:
On Candle Close: Displays a BUY or SELL label immediately on the candle that confirmed the new level.
After Candle Close: Waits for the confirmation candle to close and prints the signal on the next candle, providing an extra layer of validation.
Strict One Signal Per Level Rule: The script features built-in logic that guarantees only one signal will ever be triggered per new structural level, completely eliminating label clutter and overlapping signals.
How to Use It (Trading Strategy)
Support & BUY Signals: Look for green BUY labels after the market prints a fresh support line. This indicates that momentum has shifted upwards from an oversold structural area.
Resistance & SELL Signals: Look for red SELL labels when price prints a fresh resistance line. This indicates institutional selling pressure in an overbought area.
Breakouts & Re-tests: The drawn lines stay on the chart, allowing you to monitor future re-tests of these adaptive zones.
Disclaimer
Past performance does not guarantee future results. This indicator is meant to be used as a supportive tool alongside your own risk management and trading plan.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
Free telegram channel t.me/alexmasterforex
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
Free telegram channel t.me/alexmasterforex
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。