OPEN-SOURCE SCRIPT
BTC Average Daily Returns by Day

Average Daily Returns by Day
A clean weekday performance dashboard that shows the average daily return for each day of the week using a selectable lookback period.
The script uses daily data internally, so it stays consistent across chart timeframes while letting you view the stats directly on your chart as either a table or a centered top bar.
Features
How to use
Use it to quickly see whether a market has recently shown stronger or weaker performance on specific weekdays. It works best as a context tool alongside price action, structure, volatility, and broader market conditions.
Important
This indicator is descriptive, not predictive. Weekday tendencies can shift, especially on shorter lookbacks, so it should not be used as a standalone signal.

A clean weekday performance dashboard that shows the average daily return for each day of the week using a selectable lookback period.
The script uses daily data internally, so it stays consistent across chart timeframes while letting you view the stats directly on your chart as either a table or a centered top bar.
Features
- Weekday average returns
- 1W, 2W, 1M, 3M, 6M, 1Y lookbacks
- Table or top bar display
- Current-day bias signal built into the UI
- Optional heatmap, best/worst day highlight, and sample count
- Custom colors and preset themes
How to use
Use it to quickly see whether a market has recently shown stronger or weaker performance on specific weekdays. It works best as a context tool alongside price action, structure, volatility, and broader market conditions.
Important
This indicator is descriptive, not predictive. Weekday tendencies can shift, especially on shorter lookbacks, so it should not be used as a standalone signal.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.