OPEN-SOURCE SCRIPT
[Asian Range + Sweeps]

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
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
סקריפט קוד פתוח
ברוח TradingView אמיתית, היוצר של הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יכולים לבדוק ולאמת את הפונקציונליות שלו. כל הכבוד למחבר! למרות שאתה יכול להשתמש בו בחינם, זכור שפרסום מחדש של הקוד כפוף לכללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.
סקריפט קוד פתוח
ברוח TradingView אמיתית, היוצר של הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יכולים לבדוק ולאמת את הפונקציונליות שלו. כל הכבוד למחבר! למרות שאתה יכול להשתמש בו בחינם, זכור שפרסום מחדש של הקוד כפוף לכללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.