OPEN-SOURCE SCRIPT
Green Day or Red Day?

What it is:
This simple indicator provides immediate visual context by tinting the background of your chart Green or Red based on the asset's daily performance.
Who's it for?
It is designed for day traders and scalpers who operate on lower timeframes (1m, 5m, 15m) but need to remain aware of the overall daily direction without switching charts. It can be used in combination with the ORB strategy as a helpful tool to "feel" the trend when you're way out of the ORB range. But this indicator can be used by anyone regardless of trading style.
How it works:
This script pulls data from the daily timeframe regardless of the chart interval you are currently viewing. It compares the current price to a user-selectable reference point (either Yesterday's Close or Today's Open) to determine the background color.
Good Luck. May you make good trades!
This simple indicator provides immediate visual context by tinting the background of your chart Green or Red based on the asset's daily performance.
Who's it for?
It is designed for day traders and scalpers who operate on lower timeframes (1m, 5m, 15m) but need to remain aware of the overall daily direction without switching charts. It can be used in combination with the ORB strategy as a helpful tool to "feel" the trend when you're way out of the ORB range. But this indicator can be used by anyone regardless of trading style.
How it works:
This script pulls data from the daily timeframe regardless of the chart interval you are currently viewing. It compares the current price to a user-selectable reference point (either Yesterday's Close or Today's Open) to determine the background color.
Good Luck. May you make good trades!
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.