OPEN-SOURCE SCRIPT
BPR (Ballanced price range) Detector

How This BPR Detector Works
This indicator is designed to detect and visualize balanced price ranges (BPRs) on price charts. The indicator has two main components:
Regular FVG Detection - The indicator first detects regular Fair Value Gaps in price action, which are spaces where price has moved quickly leaving a gap. This is necessary because BPRs are derived from regular FVGs.
BPR Detection - When the price action inverts and moves through a regular FVG in the opposite direction, the indicator identifies this as a BPR. This concept is important in Inner Circle Trader (ICT) methodology as it can signal potential changes in trend direction. Additionally the detection logic is refined by incorporating displacement.
The main functionality preserved includes:
Detection of regular FVGs (required to find BPRs)
Conversion of regular FVGs to BPRs when price moves through them creating a FVG in the opposite direction
Visual display of both FVG and BPR zones
Mitigation tracking for both types of imbalances
Displacement visualization that helps identify energetic price moves
Key Settings
FVG Settings - Control the appearance and behaviour of regular Fair Value Gaps
BPR Settings - Control the appearance of Breaker Price Ranges (which have different colours by default)
Mitigation Settings - Define how the indicator determines when an imbalance has been filled
Displacement Settings - Optional highlighting of energetic price moves that may lead to imbalances
This indicator is designed to detect and visualize balanced price ranges (BPRs) on price charts. The indicator has two main components:
Regular FVG Detection - The indicator first detects regular Fair Value Gaps in price action, which are spaces where price has moved quickly leaving a gap. This is necessary because BPRs are derived from regular FVGs.
BPR Detection - When the price action inverts and moves through a regular FVG in the opposite direction, the indicator identifies this as a BPR. This concept is important in Inner Circle Trader (ICT) methodology as it can signal potential changes in trend direction. Additionally the detection logic is refined by incorporating displacement.
The main functionality preserved includes:
Detection of regular FVGs (required to find BPRs)
Conversion of regular FVGs to BPRs when price moves through them creating a FVG in the opposite direction
Visual display of both FVG and BPR zones
Mitigation tracking for both types of imbalances
Displacement visualization that helps identify energetic price moves
Key Settings
FVG Settings - Control the appearance and behaviour of regular Fair Value Gaps
BPR Settings - Control the appearance of Breaker Price Ranges (which have different colours by default)
Mitigation Settings - Define how the indicator determines when an imbalance has been filled
Displacement Settings - Optional highlighting of energetic price moves that may lead to imbalances
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.