OPEN-SOURCE SCRIPT
STRONG S/R Lines/Zones MTF Only[EXPERIMENTAL] by Chaitu50c

STRONG S/R Lines / Zones (MTF Only) — EXPERIMENTAL by Chaitu50c
Overview
This indicator is a higher-timeframe based Support and Resistance detection system designed to project strong structural levels onto lower-timeframe charts without repainting. All calculations are performed exclusively on a selected higher timeframe (30-minute, 45-minute, or 1-hour), while the plotted levels adapt smoothly to the active chart timeframe. The main objective is to highlight price areas where strong institutional buying or selling pressure has already been confirmed on the higher timeframe.
Higher Timeframe Logic
The indicator operates strictly on confirmed higher-timeframe candles. It tracks completed higher-timeframe bars and evaluates their open, high, low, and close values only after the candle is fully closed. This ensures that every detected support or resistance level is final and will not shift or repaint during live market conditions.
Resistance Detection
Resistance levels are identified when bearish price action appears after bullish structure on the higher timeframe. The logic looks for either a two-candle or three-candle sequence where selling pressure becomes dominant and price closes below important prior lows. Once such a sequence is confirmed, the resistance area is constructed using a combination of wick highs and candle body highs from the triggering higher-timeframe candles. This defines a realistic supply zone rather than a thin, arbitrary line.
Support Detection
Support levels are detected using the opposite logic. When bullish price action emerges after bearish structure and the higher-timeframe candle closes above key prior highs, the indicator interprets this as strong buying acceptance. The support area is formed using wick lows and candle body lows from the relevant higher-timeframe candles, capturing the price region where demand clearly outweighed supply.
Strength and Overlap Handling
When newly detected support or resistance levels overlap with existing ones, the indicator does not create additional zones. Instead, it strengthens the existing level internally. Each overlap increases the strength count of that level, which is visually represented through increased line thickness or adjusted opacity. This allows strong, repeatedly respected levels to stand out naturally while keeping the chart uncluttered.
Line Mode vs Zone Mode
Users can choose whether levels are plotted as single horizontal lines or as full price zones. Line mode provides precise levels suitable for scalping and exact reaction entries. Zone mode displays the complete price range where rejection or acceptance occurred, which is useful for managing volatility and broader structure analysis. Both modes use identical detection logic; only the visual representation changes.
Zone and Line Extension Control
The “Number of Past Zones to Extend” option controls how many previously detected support and resistance levels remain visible and extended into the future. A value of zero extends only the most recent support and resistance, keeping the chart minimal. Higher values preserve additional historical higher-timeframe levels that may still influence current price action.
Visual Customization
Line appearance can be customized using user-defined colors, styles, and base widths. These settings define how new levels initially appear on the chart. As levels gain strength through repeated confirmations, the indicator automatically adjusts visual properties to reflect their growing importance, without requiring manual changes.
Non-Repainting Behavior
All higher-timeframe data is requested with lookahead disabled. This guarantees that every level is drawn only after the higher-timeframe candle has fully closed. Once a support or resistance level appears, it remains fixed and reliable for live trading, backtesting, and replay analysis.
Practical Usage
This indicator is intended to be used as a structural reference rather than a standalone buy or sell signal. It is most effective when combined with price action confirmation, volume analysis, or lower-timeframe entry techniques. The tool excels at identifying high-probability reaction zones, pullback areas, and major breakout levels derived from higher-timeframe structure.
Final Notes
This indicator is marked as experimental and is designed for traders who understand higher-timeframe structure and contextual analysis. When used correctly, it provides a clean, non-repainting view of strong support and resistance levels that align lower-timeframe decisions with higher-timeframe intent.
Overview
This indicator is a higher-timeframe based Support and Resistance detection system designed to project strong structural levels onto lower-timeframe charts without repainting. All calculations are performed exclusively on a selected higher timeframe (30-minute, 45-minute, or 1-hour), while the plotted levels adapt smoothly to the active chart timeframe. The main objective is to highlight price areas where strong institutional buying or selling pressure has already been confirmed on the higher timeframe.
Higher Timeframe Logic
The indicator operates strictly on confirmed higher-timeframe candles. It tracks completed higher-timeframe bars and evaluates their open, high, low, and close values only after the candle is fully closed. This ensures that every detected support or resistance level is final and will not shift or repaint during live market conditions.
Resistance Detection
Resistance levels are identified when bearish price action appears after bullish structure on the higher timeframe. The logic looks for either a two-candle or three-candle sequence where selling pressure becomes dominant and price closes below important prior lows. Once such a sequence is confirmed, the resistance area is constructed using a combination of wick highs and candle body highs from the triggering higher-timeframe candles. This defines a realistic supply zone rather than a thin, arbitrary line.
Support Detection
Support levels are detected using the opposite logic. When bullish price action emerges after bearish structure and the higher-timeframe candle closes above key prior highs, the indicator interprets this as strong buying acceptance. The support area is formed using wick lows and candle body lows from the relevant higher-timeframe candles, capturing the price region where demand clearly outweighed supply.
Strength and Overlap Handling
When newly detected support or resistance levels overlap with existing ones, the indicator does not create additional zones. Instead, it strengthens the existing level internally. Each overlap increases the strength count of that level, which is visually represented through increased line thickness or adjusted opacity. This allows strong, repeatedly respected levels to stand out naturally while keeping the chart uncluttered.
Line Mode vs Zone Mode
Users can choose whether levels are plotted as single horizontal lines or as full price zones. Line mode provides precise levels suitable for scalping and exact reaction entries. Zone mode displays the complete price range where rejection or acceptance occurred, which is useful for managing volatility and broader structure analysis. Both modes use identical detection logic; only the visual representation changes.
Zone and Line Extension Control
The “Number of Past Zones to Extend” option controls how many previously detected support and resistance levels remain visible and extended into the future. A value of zero extends only the most recent support and resistance, keeping the chart minimal. Higher values preserve additional historical higher-timeframe levels that may still influence current price action.
Visual Customization
Line appearance can be customized using user-defined colors, styles, and base widths. These settings define how new levels initially appear on the chart. As levels gain strength through repeated confirmations, the indicator automatically adjusts visual properties to reflect their growing importance, without requiring manual changes.
Non-Repainting Behavior
All higher-timeframe data is requested with lookahead disabled. This guarantees that every level is drawn only after the higher-timeframe candle has fully closed. Once a support or resistance level appears, it remains fixed and reliable for live trading, backtesting, and replay analysis.
Practical Usage
This indicator is intended to be used as a structural reference rather than a standalone buy or sell signal. It is most effective when combined with price action confirmation, volume analysis, or lower-timeframe entry techniques. The tool excels at identifying high-probability reaction zones, pullback areas, and major breakout levels derived from higher-timeframe structure.
Final Notes
This indicator is marked as experimental and is designed for traders who understand higher-timeframe structure and contextual analysis. When used correctly, it provides a clean, non-repainting view of strong support and resistance levels that align lower-timeframe decisions with higher-timeframe intent.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.