OPEN-SOURCE SCRIPT

[Asian Range + Sweeps]

83
Main Features

Asian Range (S2) — fully configurable session band (start/end, hour:minute) with automatic detection and visual high/low markers.

HOD/LOD (S1) — adaptive cutoff logic for Forex vs Indices, with optional manual override.

Gap Correction — optional true HOD/LOD detection using a 1-minute base with overnight gap adjustment.

Sweep Detection — real-time alerts for S1 and S2 sweeps, with independent cooldown control to avoid duplicate signals.

Visual Controls — customizable colors, line thickness, and transparency.

KeepDays Setting — allows you to manage how many past session drawings are preserved on the chart

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.