OPEN-SOURCE SCRIPT
SMC Confluence Suite

OVERVIEW
SMC Confluence Suite — Structure, OB, FVG & OTE Score maps Smart Money Concepts structure across two timeframes and condenses nine separate confirmations into a single 0-100 score, so you can
tell a high-quality setup from a mediocre one at a glance.
WHAT IT DRAWS
THE CONFLUENCE SCORE
Nine weighted factors, each scored on a gradient rather than pass/fail:
Every weight is adjustable and setting one to zero removes that factor without
distorting the scale. The breakdown table shows exactly where points were lost,
so the number is auditable instead of being a black box. Grades: A+ 85, A 75,
B 60, C 45, D below.
ALERTS
Thirteen named alert conditions plus dynamic "Any alert() function call" messages
containing entry, stop, target, R:R and confluence details. Each event type can be
toggled individually and throttled with a per-type cooldown.
HOW TO USE
NOTES ON REPAINTING
Higher-timeframe pivots are requested with lookahead enabled but referenced with a
one-bar offset, so only closed higher-timeframe values are used. Structure levels
themselves are confirmed on bar close. Live bars will still update until they close,
which is normal behaviour for any structure-based tool.
This script is a visualisation and analysis tool. It does not predict price and it
is not financial advice. Test any settings on your own instruments and timeframes
before risking capital.
SMC Confluence Suite — Structure, OB, FVG & OTE Score maps Smart Money Concepts structure across two timeframes and condenses nine separate confirmations into a single 0-100 score, so you can
tell a high-quality setup from a mediocre one at a glance.
WHAT IT DRAWS
- Market structure - BOS and CHoCH on two independent higher timeframes, with optional "retro" confirmation for breaks that resolve late.
- Order Blocks - anchored to the actual structural break rather than to an arbitrary displacement candle. Configurable mitigation (touch / 50% / full).
- Fair Value Gaps - filtered by absolute size and/or ATR so micro-gaps are ignored.
- Premium / Discount - dealing range from the current TF1 swing pair with an equilibrium line. Zones on the wrong side are dimmed or filtered out.
- Liquidity - sweep detection with a minimum ATR penetration and an optional "close back inside" requirement, plus EQH / EQL clustering.
- OTE - 0.62 / 0.705 / 0.79 retracement zone with entry, stop, TP1, TP2, R:R and a position size derived from your account balance and risk percentage.
THE CONFLUENCE SCORE
Nine weighted factors, each scored on a gradient rather than pass/fail:
- Fresh BOS/CHoCH on TF1 in the bias direction
- TF2 trend alignment
- Order Blocks overlapping the OTE zone
- Fair Value Gaps overlapping the OTE zone
- Depth on the correct side of equilibrium
- A liquidity sweep supporting the bias
- Price located inside the OTE zone
- Reward-to-risk versus your target
- Untouched zones still available
Every weight is adjustable and setting one to zero removes that factor without
distorting the scale. The breakdown table shows exactly where points were lost,
so the number is auditable instead of being a black box. Grades: A+ 85, A 75,
B 60, C 45, D below.
ALERTS
Thirteen named alert conditions plus dynamic "Any alert() function call" messages
containing entry, stop, target, R:R and confluence details. Each event type can be
toggled individually and throttled with a per-type cooldown.
HOW TO USE
- Set TF1 and TF2 to timeframes equal to or higher than your chart.
- Wait for a BOS or CHoCH to project a new OTE zone.
- Check the score panel - B or better means the supporting factors are present.
- Enter inside the OTE zone, ideally where an OB or FVG overlaps it.
- Size the position with the lot value shown on the dashboard.
NOTES ON REPAINTING
Higher-timeframe pivots are requested with lookahead enabled but referenced with a
one-bar offset, so only closed higher-timeframe values are used. Structure levels
themselves are confirmed on bar close. Live bars will still update until they close,
which is normal behaviour for any structure-based tool.
This script is a visualisation and analysis tool. It does not predict price and it
is not financial advice. Test any settings on your own instruments and timeframes
before risking capital.
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.