SMC style josh )

What it does
A clean-room Smart-Money–style study that visualizes market structure and liquidity concepts:
Structure: BOS & CHoCH for swing and internal legs (width/style controls, preview of last pivots)
Order Blocks: internal & swing OBs with midline (50%), mitigated/invalid handling, optional auto Breaker creation
Fair Value Gaps (FVG): auto boxes with optional 50% line, ATR filter, extend length, and “after-CHoCH only” window
Equal High/Low (EQH/EQL): ATR-based proximity threshold
Liquidity Grabs: wick-through/close-back tags
Premium/Discount (PD) zones: live boxes + equilibrium line from latest swing range
HTF levels: previous Daily/Weekly/Monthly highs/lows with labels (PDH/PDL, PWH/PWL, PMH/PML)
Trendlines: auto swing-to-swing lines (liquidity)
Confluence Score: column plot summarizing recent events (+/− weighting)
Key options
Safety switch to pause all drawings
Per-module visibility, label sizes/colors, line styles/widths
ATR-based filters for impulses and gaps
Limits for lines/labels/boxes to avoid runtime errors
How to read
BOS = continuation break of the current leg; CHoCH = potential regime shift
OB mitigated when price returns into the block; invalid when price closes beyond; mitigated-then-invalid can form a Breaker
FVG is considered “filled” when price closes through the gap boundary (optional hide/gray-out)
Strong/Weak High/Low tags reflect the active swing bias (potential liquidity/targets)
Good practice
Combine with risk management, multiple timeframes, and your own rules. All drawings are for study/visualization; signals are not trade instructions.
Compliance / Disclaimer
This script is for educational and research purposes only. It is not financial advice or a solicitation to buy/sell any asset. Past performance does not guarantee future results. Always test and manage risk responsibly.
License / Credits
Built with Pine Script® v5. “SMC style josh” is an original, clean-room implementation and does not reuse third-party code.
Script sob convite
Somente usuários aprovados pelo autor podem acessar este script. Você precisará solicitar e obter permissão para usá-lo. Normalmente, essa permissão é concedida após o pagamento. Para obter mais detalhes, siga as instruções do autor abaixo ou entre em contato diretamente com JOSHSniper4569.
O TradingView NÃO recomenda pagar ou usar um script ao não ser que você confie totalmente no seu autor e compreende como isso funciona. Você pode também encontrar alternativas gratuitas e de código aberto em nossa comunidade de scripts.
Instruções do autor
Aviso legal
Script sob convite
Somente usuários aprovados pelo autor podem acessar este script. Você precisará solicitar e obter permissão para usá-lo. Normalmente, essa permissão é concedida após o pagamento. Para obter mais detalhes, siga as instruções do autor abaixo ou entre em contato diretamente com JOSHSniper4569.
O TradingView NÃO recomenda pagar ou usar um script ao não ser que você confie totalmente no seu autor e compreende como isso funciona. Você pode também encontrar alternativas gratuitas e de código aberto em nossa comunidade de scripts.