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. اقرأ المزيد في شروط الاستخدام.