OPEN-SOURCE SCRIPT
Auto Parallel Channel

Automatic parallel price channel for the last N bars. The slope follows the trend in the selected window; the upper and lower lines pass through the highest high and lowest low of that range, so price stays inside the channel. Optional right-side extension, midline, fill, and edge price labels.
Features:
Build channel from a custom lookback (bars)
True parallel boundaries (trend slope + window extremes)
Extend right by a set number of bars
Midline, fill, and price labels
Breakout alert conditions
How to use: Set lookback to the swing you want to frame. Enable extend right and choose how many bars to project forward. Use upper/lower touches for mean-reversion ideas, and breaks for continuation signals.
Disclaimer: For educational/analysis use only. Not financial advice.
Features:
Build channel from a custom lookback (bars)
True parallel boundaries (trend slope + window extremes)
Extend right by a set number of bars
Midline, fill, and price labels
Breakout alert conditions
How to use: Set lookback to the swing you want to frame. Enable extend right and choose how many bars to project forward. Use upper/lower touches for mean-reversion ideas, and breaks for continuation signals.
Disclaimer: For educational/analysis use only. Not financial advice.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.