OPEN-SOURCE SCRIPT

LTF BPR (Balanced Price Range) [D4A]

256
LTF BPR (Balanced Price Range)

Why working on my other BPR script: HTF BPR, I thought it would be interesting to have BPR script that shows BPR from lower timeframe and hence this script was created. The logic is simply the same as in higher timeframe BPR script, with a few differences:

- the main one is to simplify the drawings, this script only draws average line from lower timeframe BPR. The main reason for this is that otherwise you can have too many BPR drawings which overlap and make it look very busy on the chart. From my experience the average line from LTF BPR is a reasonable level which the price usually interacts with. Once candles close beyond this line, the BPR won't hold in most cases.
- the average line is only drawn where the BPR formed and is not extended to avoid having too many lines on the chart.
- another difference is that there are no side markers or labels like in the HTF script

Who is this script for
- students who follow ICT methodology
- scalper traders who want to see where price has already been balanced on lower timeframe

Since two scripts are very similar in what they do, the large part of script description is taken from the other script and only modified where appropriate.

Introduction to BPR Concept
Balanced Price Range (BPR) is especially important ICT methodology, as it helps to navigate institutional order flow. It pinpoints price zones where opposing market inefficiencies intersect, leaving pools of resting liquidity and unexecuted orders. This indicator automates the identification of these overlapping structures across any asset class while using data from lower timeframe (the script pulls data using pine function request.security_lower_tf)

What is BPR
A Balanced Price Range - frequently referred to as a double Fair Value Gap occurs when a bullish FVG and a bearish FVG directly overlap. Because both buyers and sellers created imbalances across the exact same price window, these overlapping zones become high-probability reaction areas. In algorithmic price delivery, BPRs serve as primary rebalancing targets where the market seeks liquidity before expanding or reversing.

What is FVG
FVG or Fair Value Gap is a three-candle formation where the middle candle moves so aggressively creating displacement that it leaves a gap between the wick of the prior candle and the wick of the following candle.

Trading Lower Timeframe BPRs
BPR entries remain one of the most underrated setup models in ICT trading. This script should help to pinpoint areas which may be important levels where the price is going to reverse from after seeking to re-balance and/or to give opportunity for Smart Money to re-enter the market. While using the script, one can easily observe that price very often reverses, which is seen as wicking out to/from these areas. With some experience you can learn how to use this information to make advantage of knowing which levels have been balanced and are not likely to be reversed to while the trend continues in the opposite direction.

The Underlying Mechanics
- Single Inefficiencies: A standard Fair Value Gap represents one-sided delivery—a rapid displacement where either buyers or sellers were largely absent.
- Dual Inefficiencies: A BPR represents a corridor that price aggressively skipped twice — once going up without sellers, and second time going down without buyers.
- Algorithmic Repricing: When price returns to a BPR, the delivery algorithm is repricing an area of double inefficiency. Because both buy-side and sell-side resting orders line up inside this narrow range, retests typically trigger decisive expansion away from the zone.

SETTINGS:
- Show LTF BPRs - enable displaying of BPR zones on lower timeframe
- Looback - how many previous bars are used to find BPRs
- Auto Lower timeframe (one step down) - when enabled, the script works using data from the previous lower timeframe below the chart's timeframe, eg. when on 1m chart, the script uses 15sec data, 5m chart -> 1m data and so on.
- Manual HTF - when the previous option is not enabled, you can select manualy any lower timeframe (it won't work with current timeframe or higher timeframe)
- Max BPR Length (LTF bars) - max distance between two opposing FVGs which are part of the same BPR
- Stop drawing BPR after X Candles - BPR is removed from the chart after this many bars
- Volume Imbalance Included - include volume imbalance as part of FVG which is part of BPR
- FVG Size Filter (x LTF ATR) - limit the size of LTF FVG that is used to create valid BPR. Use 0 to ignore this limit.
- Bull/Bear Average Line - BPR decoration settings
- Mitigated BPR - select what happens when BPR is fully mitigated (the price closes through it).

-----------------
Disclaimer

The content provided in this script is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.

All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.