OPEN-SOURCE SCRIPT
BagenziFX Overbought/Oversold

BagenziFX Overbought/Oversold
BagenziFX Overbought/Oversold is a visual signal indicator that displays manually defined OVERBOUGHT and OVERSOLD levels directly on TradingView charts.
Features
Displays OVERBOUGHT signals with red vertical lines and labels.
Displays OVERSOLD signals with lime vertical lines and labels.
Works on all TradingView timeframes.
Automatically aligns signals to the correct candle regardless of chart timeframe.
Adjustable broker/server time offset.
Optional signal labels.
Optional vertical signal lines.
Supports separate signal input groups for:
Monday Signals
Tuesday Signals
Wednesday Signals
Thursday Signals
Friday Signals
Gold (XAUUSD) Signals
Signal Format
Each signal is entered using the following format:
SYMBOL,YYYY,MM,DD,HH,MM,SIGNALTYPE
Example:
EURUSD,2026,6,1,15,45,OVERSOLD
GBPUSD,2026,6,1,16,00,OVERBOUGHT
Intended Use
This indicator is designed for traders who maintain their own signal database and want to visualize historical or upcoming overbought/oversold events directly on TradingView charts.
Author
BagenziFX
BagenziFX Overbought/Oversold is a visual signal indicator that displays manually defined OVERBOUGHT and OVERSOLD levels directly on TradingView charts.
Features
Displays OVERBOUGHT signals with red vertical lines and labels.
Displays OVERSOLD signals with lime vertical lines and labels.
Works on all TradingView timeframes.
Automatically aligns signals to the correct candle regardless of chart timeframe.
Adjustable broker/server time offset.
Optional signal labels.
Optional vertical signal lines.
Supports separate signal input groups for:
Monday Signals
Tuesday Signals
Wednesday Signals
Thursday Signals
Friday Signals
Gold (XAUUSD) Signals
Signal Format
Each signal is entered using the following format:
SYMBOL,YYYY,MM,DD,HH,MM,SIGNALTYPE
Example:
EURUSD,2026,6,1,15,45,OVERSOLD
GBPUSD,2026,6,1,16,00,OVERBOUGHT
Intended Use
This indicator is designed for traders who maintain their own signal database and want to visualize historical or upcoming overbought/oversold events directly on TradingView charts.
Author
BagenziFX
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.