OPEN-SOURCE SCRIPT
Aggiornato MTF Mirror Candles + SMT

MTF Mirror Candles + SMT displays higher-timeframe mirror candles directly on the chart, allowing traders to monitor broader market structure without changing timeframes.
The indicator includes customizable HTF mirror candles, candle countdown timer, adjustable spacing, candle colors, and automatic mapping between lower and higher timeframes.
It also includes an SMT divergence module designed to compare correlated markets such as MNQ/MES, EURUSD/GBPUSD, NAS100/US500, XAUUSD/XAGUSD, BTC/ETH, or custom pairs.
Main features:
• Higher-timeframe mirror candles
• HTF candle countdown timer
• Adjustable candle quantity, spacing, and visual style
• SMT bullish and bearish divergence detection
• Manual or automatic correlation mode
• Custom correlation pairs
• Clean SMT labels with monitored pair names
• Designed for multi-timeframe and correlation-based analysis
This indicator is intended as a visual analysis tool and does not provide financial advice or buy/sell signals.
The indicator includes customizable HTF mirror candles, candle countdown timer, adjustable spacing, candle colors, and automatic mapping between lower and higher timeframes.
It also includes an SMT divergence module designed to compare correlated markets such as MNQ/MES, EURUSD/GBPUSD, NAS100/US500, XAUUSD/XAGUSD, BTC/ETH, or custom pairs.
Main features:
• Higher-timeframe mirror candles
• HTF candle countdown timer
• Adjustable candle quantity, spacing, and visual style
• SMT bullish and bearish divergence detection
• Manual or automatic correlation mode
• Custom correlation pairs
• Clean SMT labels with monitored pair names
• Designed for multi-timeframe and correlation-based analysis
This indicator is intended as a visual analysis tool and does not provide financial advice or buy/sell signals.
Note di rilascio
Minor visual improvements and SMT display enhancements.Note di rilascio
Minor visual improvements and SMT display enhancements.Note di rilascio
Improved SMT detection logic with pivot tolerance, allowing clearer SMT divergences to be captured even when correlated pivots confirm a few candles apart.Note di rilascio
Updated SMT logic to Pivot Fast detection with improved correlated swing comparison and refined SMT label positioning.Note di rilascio
Improved SMT symbol matching to validate pairs by ticker name only, reducing dependency on broker/feed prefixes while avoiding false matches between similar symbols.Note di rilascio
Refined SMT label positioning with ATR-based offset for more consistent text placement across different symbols and timeframes.Note di rilascio
Refined SMT label positioning with ATR-based offset for more consistent text placement across different symbols and timeframes.Note di rilascio
Added temporary “forming SMT” lines in red.They show potential SMT setups before confirmation, can be limited from 0 to 5, disappear if invalidated, and convert to the regular SMT style once confirmed.
Note di rilascio
Added temporary “forming SMT” lines in red.They show potential SMT setups before confirmation, can be limited from 0 to 5, disappear if invalidated, and convert to the regular SMT style once confirmed.
Note di rilascio
Updated version released.This version includes improvements to the SMT in formation logic and the visual display of the True Day Open and Midnight Open levels.
SMT in formation has been refined to better represent a developing divergence before the original SMT confirmation occurs. The confirmed SMT logic remains unchanged and continues to follow the original pivot-based structure. A new display mode allows the user to choose between real-time SMT formation and SMT formation after candle close.
In real-time mode, the forming SMT line appears as soon as a valid divergence is detected and is displayed as a dashed red line while the current candle is still open. If the divergence remains valid after the candle closes, the line becomes solid. In after-close mode, the forming SMT line only appears once the candle has closed.
The True Day Open and Midnight Open display has also been improved. Both levels can now be shown automatically with separate color settings, adjustable line width, right-side extension, text visibility, and the number of previous days to display. The labels are now positioned in front of the line, creating a cleaner and more readable chart layout.
The confirmed SMT markings remain unchanged from the original version.
Note di rilascio
Improved forming SMT validation to reduce false signals. Confirmed SMT logic unchanged.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.