OPEN-SOURCE SCRIPT
HTF Flip Close Levels, Daily Weekly Monthly TAS

HTF Flip Close Levels (D/W/M) — Support & Resistance Tool
This indicator automatically plots Daily, Weekly, and Monthly support & resistance levels based on higher-timeframe candle close behaviour.
🔹 What this tool does
The script detects HTF momentum flips using closed candles only:
Support is created when:
A red candle is followed by a green candle
The level is drawn at the close of the red candle
Resistance is created when:
A green candle is followed by a red candle
The level is drawn at the close of the green candle
This creates objective, rule-based horizontal levels derived purely from price behavior, not indicators.
🔹 Features
✅ Plots Daily, Weekly, and Monthly levels simultaneously
✅ Works on any timeframe (1m, 5m, 1H, Daily, Weekly, etc.)
✅ Keeps full historical levels, not just the most recent ones
✅ Optional auto-hide tapped levels (when price touches them)
✅ Tap detection:
Wick touch
or Close cross/touch
✅ Levels are always based on HTF candle closes, never wicks
✅ Designed to stay consistent across timeframe changes
🔹 How to use it (IMPORTANT)
This indicator:
❌ Does NOT predict market direction
❌ Does NOT generate buy/sell signals
❌ Does NOT tell you when to enter or exit
It is a context & confluence tool.
You should use these levels together with:
Market structure
Trend analysis
Volume / orderflow / CVD
Your own entry model
Your own risk management
Think of these levels as areas of interest, not automatic trade signals.
🔹 Best use cases
Confluence with:
Local support/resistance
VWAP / Anchored VWAP
Range highs/lows
Liquidity zones
Reversal or continuation patterns
Identifying:
HTF reaction zones
Decision points
Areas where other traders are likely watching
⚠️ Disclaimer
This indicator is a technical analysis tool only.
It is NOT financial advice.
It does NOT guarantee profits.
All trading decisions and risk are your responsibility.
Use it as part of a complete trading system, not as a standalone strategy.
This indicator automatically plots Daily, Weekly, and Monthly support & resistance levels based on higher-timeframe candle close behaviour.
🔹 What this tool does
The script detects HTF momentum flips using closed candles only:
Support is created when:
A red candle is followed by a green candle
The level is drawn at the close of the red candle
Resistance is created when:
A green candle is followed by a red candle
The level is drawn at the close of the green candle
This creates objective, rule-based horizontal levels derived purely from price behavior, not indicators.
🔹 Features
✅ Plots Daily, Weekly, and Monthly levels simultaneously
✅ Works on any timeframe (1m, 5m, 1H, Daily, Weekly, etc.)
✅ Keeps full historical levels, not just the most recent ones
✅ Optional auto-hide tapped levels (when price touches them)
✅ Tap detection:
Wick touch
or Close cross/touch
✅ Levels are always based on HTF candle closes, never wicks
✅ Designed to stay consistent across timeframe changes
🔹 How to use it (IMPORTANT)
This indicator:
❌ Does NOT predict market direction
❌ Does NOT generate buy/sell signals
❌ Does NOT tell you when to enter or exit
It is a context & confluence tool.
You should use these levels together with:
Market structure
Trend analysis
Volume / orderflow / CVD
Your own entry model
Your own risk management
Think of these levels as areas of interest, not automatic trade signals.
🔹 Best use cases
Confluence with:
Local support/resistance
VWAP / Anchored VWAP
Range highs/lows
Liquidity zones
Reversal or continuation patterns
Identifying:
HTF reaction zones
Decision points
Areas where other traders are likely watching
⚠️ Disclaimer
This indicator is a technical analysis tool only.
It is NOT financial advice.
It does NOT guarantee profits.
All trading decisions and risk are your responsibility.
Use it as part of a complete trading system, not as a standalone strategy.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.