OPEN-SOURCE SCRIPT

Apex Edge - Session Sweep Pro

1 316
Apex Edge Session Sweep Pro
By Apex Edge | 2025 Edition

🔍 What is it?
The Apex Session Sweep Pro is a precision trading tool designed for identifying high-probability liquidity sweep entries during key global market sessions. It combines powerful sweep detection logic with dynamic candle colouring, session visualization, TP projections, and real-time alerts — all within a clean, performance-optimized Pine Script engine.

This is not your average session box indicator. This is Apex-grade.

⚙️ How it Works
The indicator detects session liquidity sweeps by tracking price action relative to previous session highs and lows. When a session high/low is swept (i.e., price breaches it and then closes in the opposite direction), it generates a signal:

Buy Signal → Price sweeps previous low and closes back above it

Sell Signal → Price sweeps previous high and closes back below it

Each session is boxed on the chart (Tokyo, London, New York, Sydney), color-coded, and dynamically labelled.

Upon detecting a valid sweep, the script:

Plots a small entry label (toggleable)

Projects up to 5 customizable TP levels

Coloured candles for visual trade direction

Alerts for Buy or Sell sweep signals (optional)

All elements are memory-managed and customizable to suit your trading style.

🧠 Key Features
✅ Smart Sweep Detection Logic
✅ Global Market Session Boxes (Custom Times)
✅ Toggleable Entry Labels + TP Levels
✅ Candle Colouring by Signal
✅ Manual TP input + TP toggles
✅ Real-time Alerts for Apex entries


🕒 Why Are My Sessions Offset?
Your chart’s time zone may be different from UTC. This script is UTC-based by design, so if your chart is set to UTC+1, for example, the sessions will appear one hour later. Either:

Adjust your chart to UTC or or Exchange for perfect alignment,

Or tweak the session input times manually.

🧰 Who is this for?
This tool is made for:

Intraday traders looking for sweeps into liquidity

SMC (Smart Money Concept) strategists

Forex, crypto, and indices traders

Anyone who uses session-based levels to define entries

Whether you scalp London or ride NY swings, this tool frames each session cleanly — and shows you where the traps are laid.

🚨 Disclaimer
This indicator is a technical tool, not financial advice. Use proper risk management. Past performance ≠ future results.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.