OPEN-SOURCE SCRIPT
SMC Pro: Institutional Bias & Liquidity Sweep Engine

Overview This script is a high-confluence technical analysis tool designed for traders following Smart Money Concepts (SMC) and Price Action methodologies. Its primary objective is to filter trend-based signals (EMA 9/21 crossovers) by integrating two critical institutional filters: HTF Bias (Higher Timeframe Sentiment) and Directional Liquidity Sweeps.
Key Features & Technical Originality Unlike standard crossover indicators, this script introduces a multi-layered institutional validation logic:
Real-Time HTF Bias Dashboard: The indicator automatically calculates the Daily Bias based on the previous close's position relative to the "Equilibrium" (the 50% mark of the previous day's range). This sentiment is displayed via a clean UI dashboard in the top-right corner, ensuring traders stay aligned with the higher timeframe flow.
Directional Liquidity Sweeps: The engine identifies local highs and lows within a dynamic lookback period. A "BUY" signal is only triggered if the price has first performed a "Sweep Low" (raiding sell-side liquidity), and a "SELL" signal only follows a "Sweep High" (raiding buy-side liquidity). This effectively filters out "Bull/Bear Traps."
Adaptive Memory Logic: The signal engine "remembers" a liquidity raid for a configurable number of bars. This allows for natural price development before confirming the entry with the EMA cross, capturing the expansion phase of the move.
Weekly NWOG Anchor: Includes an automated New Week Opening Gap (NWOG) tracker. Following institutional liquidity principles, this box anchors from Friday’s close to the new week’s open. Per user-defined constraints, the projection is limited strictly to the current trading week to maintain chart clarity and relevance.
How to Use
Confluence: Look for "BUY" signals when the Dashboard displays a "BULLISH" Bias and a recent sweep of lows has occurred.
Context: Use the NWOG levels as institutional magnets; price often gravitates toward or rebalances these gaps before continuing its expansion.
Optimized Timeframes: Best suited for M1, M5, and M15 intraday scalping.
Disclaimer This indicator is a visual aid for technical analysis and does not constitute financial advice. Past performance does not guarantee future results.
Key Features & Technical Originality Unlike standard crossover indicators, this script introduces a multi-layered institutional validation logic:
Real-Time HTF Bias Dashboard: The indicator automatically calculates the Daily Bias based on the previous close's position relative to the "Equilibrium" (the 50% mark of the previous day's range). This sentiment is displayed via a clean UI dashboard in the top-right corner, ensuring traders stay aligned with the higher timeframe flow.
Directional Liquidity Sweeps: The engine identifies local highs and lows within a dynamic lookback period. A "BUY" signal is only triggered if the price has first performed a "Sweep Low" (raiding sell-side liquidity), and a "SELL" signal only follows a "Sweep High" (raiding buy-side liquidity). This effectively filters out "Bull/Bear Traps."
Adaptive Memory Logic: The signal engine "remembers" a liquidity raid for a configurable number of bars. This allows for natural price development before confirming the entry with the EMA cross, capturing the expansion phase of the move.
Weekly NWOG Anchor: Includes an automated New Week Opening Gap (NWOG) tracker. Following institutional liquidity principles, this box anchors from Friday’s close to the new week’s open. Per user-defined constraints, the projection is limited strictly to the current trading week to maintain chart clarity and relevance.
How to Use
Confluence: Look for "BUY" signals when the Dashboard displays a "BULLISH" Bias and a recent sweep of lows has occurred.
Context: Use the NWOG levels as institutional magnets; price often gravitates toward or rebalances these gaps before continuing its expansion.
Optimized Timeframes: Best suited for M1, M5, and M15 intraday scalping.
Disclaimer This indicator is a visual aid for technical analysis and does not constitute financial advice. Past performance does not guarantee future results.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.