OPEN-SOURCE SCRIPT
Auto Price Action SR Levels by Chaitu50c

Auto Price Action SR Levels by Chaitu50c:
This is a session-based support and resistance indicator that identifies price levels based on actual candle activity, without relying on traditional indicators. It works by clustering open, high, low, or close values of past candles that frequently occur within a defined price range, making it a reliable price action-based tool for intraday traders.
The indicator calculates these levels at the start of each new trading session (based on NSE 09:15 time) and keeps them static throughout the session. This avoids unnecessary noise or flickering due to live price action, giving traders consistent zones to work with during the day.
FEATURES:
* Automatic detection of support and resistance levels based on candle price hits
* Cluster formation using high/low or open/close logic
* Static levels: calculated once per session and remain unchanged until the next session
* Adjustable settings for:
* Cluster range (in points)
* Number of lookback candles
* Line width
* Line color (default: black)
* Minimalist design for a clean chart experience
HOW IT WORKS:
The indicator looks back over a defined number of candles at the beginning of each session. It clusters prices that fall within a specified range (e.g., 250 points) and counts how many times they appear as open, high, low, or close values. If a price level is hit at least once (default), it is considered significant and a line is plotted.
Because clustering is done once per session, the lines do not shift during the session. This allows traders to base decisions on fixed, stable levels formed by prior market structure.
RECOMMENDED FOR:
* Intraday traders
* Price action traders
* Traders who prefer clean charts with logical SR zones
* Nifty, BankNifty, and stock-based day trading
Created by Chaitu50c for traders who rely on logic and structure, not signals.
Disclaimer:
This indicator is intended for educational and informational purposes only. It does not constitute financial advice or trading recommendations. Use at your own discretion and always manage risk responsibly.
---
Let me know if you’d like to include use-case examples or screenshots before publishing.
This is a session-based support and resistance indicator that identifies price levels based on actual candle activity, without relying on traditional indicators. It works by clustering open, high, low, or close values of past candles that frequently occur within a defined price range, making it a reliable price action-based tool for intraday traders.
The indicator calculates these levels at the start of each new trading session (based on NSE 09:15 time) and keeps them static throughout the session. This avoids unnecessary noise or flickering due to live price action, giving traders consistent zones to work with during the day.
FEATURES:
* Automatic detection of support and resistance levels based on candle price hits
* Cluster formation using high/low or open/close logic
* Static levels: calculated once per session and remain unchanged until the next session
* Adjustable settings for:
* Cluster range (in points)
* Number of lookback candles
* Line width
* Line color (default: black)
* Minimalist design for a clean chart experience
HOW IT WORKS:
The indicator looks back over a defined number of candles at the beginning of each session. It clusters prices that fall within a specified range (e.g., 250 points) and counts how many times they appear as open, high, low, or close values. If a price level is hit at least once (default), it is considered significant and a line is plotted.
Because clustering is done once per session, the lines do not shift during the session. This allows traders to base decisions on fixed, stable levels formed by prior market structure.
RECOMMENDED FOR:
* Intraday traders
* Price action traders
* Traders who prefer clean charts with logical SR zones
* Nifty, BankNifty, and stock-based day trading
Created by Chaitu50c for traders who rely on logic and structure, not signals.
Disclaimer:
This indicator is intended for educational and informational purposes only. It does not constitute financial advice or trading recommendations. Use at your own discretion and always manage risk responsibly.
---
Let me know if you’d like to include use-case examples or screenshots before publishing.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。