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. קרא עוד ב־תנאי השימוש.