OPEN-SOURCE SCRIPT
Average Top / Bottom Channels

This script is designed to simplify price action by creating an average top and average bottom channel around the market. Instead of focusing on every candle, wick, and short-term price fluctuation, the indicator calculates recent swing highs and swing lows, averages them, and displays a clean visual range where price is moving over time.
The upper line represents the average of recent price tops, while the lower line represents the average of recent price bottoms. The area between them acts like a simplified trend channel, helping identify whether price is moving higher, lower, sideways, or stretching outside its normal range.
My preferred way to use this script is to hide the regular price chart after adding the indicator. This removes visual noise from the candles and makes it easier to focus on the overall direction, structure, and trend behavior. After that, I adjust the settings to fit the market and timeframe I am viewing.
Lower sensitivity settings make the channel react faster to recent price movement, while higher sensitivity settings create a smoother channel for broader trend analysis. The goal is not to predict every candle, but to simplify the chart so the larger trend and average price range become easier to see.
The upper line represents the average of recent price tops, while the lower line represents the average of recent price bottoms. The area between them acts like a simplified trend channel, helping identify whether price is moving higher, lower, sideways, or stretching outside its normal range.
My preferred way to use this script is to hide the regular price chart after adding the indicator. This removes visual noise from the candles and makes it easier to focus on the overall direction, structure, and trend behavior. After that, I adjust the settings to fit the market and timeframe I am viewing.
Lower sensitivity settings make the channel react faster to recent price movement, while higher sensitivity settings create a smoother channel for broader trend analysis. The goal is not to predict every candle, but to simplify the chart so the larger trend and average price range become easier to see.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.