PROTECTED SOURCE SCRIPT
Updated BETradez HTF Order Blocks

BETradez HTF Order Blocks identifies and displays order blocks from higher timeframes on your chart. It detects Break of Structure (BOS) events, when price breaks above the highest high or below the lowest low—then scans back up to 200 bars to find the last opposing candle, which becomes the order block zone. The indicator displays up to 5 active order blocks per side (bullish in green, bearish in red), automatically extends them forward in time, and can hide invalidated blocks when price violates them. You can customize the timeframe (use chart or a custom higher timeframe), adjust forward extension, show optional wick lines and center lines, and control label text size. Order blocks often act as support/resistance zones where institutional activity occurred, making them useful for identifying potential entry areas, support/resistance levels, and risk management points in multi-timeframe analysis.
Release Notes
UpdatesRelease Notes
The script detects order blocks by first identifying a Break of Structure (BOS): a bullish BOS when price crosses above the highest high of the last N bars, and a bearish BOS when price crosses below the lowest low. After a BOS, it searches backward up to 5000 bars for the first opposite candle (a bear candle for bullish order blocks, or a bull candle for bearish order blocks) and uses that candle's body as the order block zone. The order block is displayed as a box extending forward from the candle's time, and it's invalidated (mitigated) when price closes through the zone in the opposite direction.Release Notes
Updates to timeframe logic, alerts and other fixesRelease Notes
Previous day candle. Daddy candleRelease Notes
Daddy candle fixRelease Notes
Daddy candle labelRelease Notes
Daddy Candle updates to widthsRelease Notes
Live vs confirmed OBRelease Notes
- Code clean up
- HTF FVG added
- New styles and options
- Alerts removed (for now)
- Efficiency updates
Release Notes
- Name change- FVG fix
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.