Updated

HTF Balanced Price Range (BPR) [TakingProphets]

1 655
OVERVIEW

The HTF Balanced Price Range (BPR) study identifies areas where two opposing fair value gaps overlap in price, sourced from higher timeframes and displayed on the current chart. It marks the shared region between an inverted fair value gap and the newly formed gap that caused the inversion, tracking these zones forward in time until they are invalidated on their source timeframe.

PURPOSE AND SCOPE
-----------------------------------------------------------------------------------------------

This study is intended for analytical and educational use. It automates the visual identification of overlapping gap regions across multiple higher timeframes so that a chart reader does not need to switch timeframes manually to locate where opposing fair value gaps intersect.

The study does not generate trade signals, recommendations, or forecasts. All markings are analytical references only.

LOGIC STRUCTURE
-----------------------------------------------------------------------------------------------

For each selected higher timeframe, the study first identifies standard fair value gaps.

When an existing fair value gap is inverted by a confirmed candle close through it, the study checks whether the move responsible for that inversion also formed a new fair value gap in the opposing direction.

If it did, the study calculates the overlapping price region shared by the original gap and the newly formed opposing gap. That shared region is the Balanced Price Range.

If the two gaps do not share any overlapping price, no zone is drawn.

A bullish gap inverted downward by a bearish gap produces a bearish Balanced Price Range. A bearish gap inverted upward by a bullish gap produces a bullish Balanced Price Range.

A zone is invalidated when price closes back through it against its direction, evaluated on that zone's own source timeframe. A bearish zone is invalidated on a confirmed close above the zone high. A bullish zone is invalidated on a confirmed close below the zone low. Invalidated zones are removed from the chart and are not restored.

All state transitions require a confirmed close on the source timeframe. Wicks and intrabar movement do not trigger detection or invalidation.

COMPONENTS AND VISUALS
-----------------------------------------------------------------------------------------------

Balanced Price Range zones are drawn as boxes spanning the overlapping price region and extended forward in time on the current chart, regardless of which timeframe they were sourced from.

Bullish and bearish zones are styled independently.

An optional gradient renders each zone in graded bands at the zero, twenty five, fifty, seventy five, and one hundred percent levels of the zone, each with independent color, style, and thickness settings.

Optional labels identify each zone as a Balanced Price Range, positioned outside the lower right of the zone, with selectable label sizes.

A separate timeframe tag is displayed with each zone to denote the higher timeframe it was sourced from.

INPUT CATEGORIES
-----------------------------------------------------------------------------------------------

Higher timeframe settings control which timeframes are active and how many zones from each timeframe are displayed on the chart.

General settings control detection sensitivity and minimum zone sizing.

Style settings control zone colors, gradient bands, label visibility, label sizing, and timeframe tag display for bullish and bearish zones independently.

USAGE GUIDELINES
-----------------------------------------------------------------------------------------------

This study is intended as a contextual reference for observing how price interacts with higher timeframe regions where opposing gaps overlap.

Zones may be used as study markers for observation and journaling. They are not entries, exits, or targets.

Displaying multiple higher timeframes at once can produce a dense chart. The per timeframe display limits are provided to manage this.

The study is designed for use alongside a reader's own analysis rather than in isolation.

OPERATIONAL NOTES AND LIMITATIONS
-----------------------------------------------------------------------------------------------

Because the overlapping region is by definition smaller than either source gap, zones can be narrow. The minimum sizing filter is provided to manage this.

Higher timeframe zones appear only after the relevant higher timeframe candle has closed. A zone sourced from a four hour timeframe will not confirm until that four hour candle closes, which may occur well after the move is visible on a lower timeframe chart.

All zones are tracked internally with full history. Display limits affect only what is rendered on the chart and do not affect detection or invalidation.

Historical and real time behavior may differ in appearance as bars confirm.

Past chart behavior does not indicate future behavior. This study describes structure that has already formed.

ORIGINALITY AND ATTRIBUTION
-----------------------------------------------------------------------------------------------

This implementation is original code. The underlying concepts of fair value gaps, gap inversion, balanced price ranges, and multi timeframe analysis are widely discussed within the trading education community and are not claimed as proprietary.

TERMS AND DISCLAIMER
-----------------------------------------------------------------------------------------------

This study is provided for educational and analytical purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any instrument.

Trading involves substantial risk of loss. Any decisions made are the sole responsibility of the user.
Release Notes
-Updated chart

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.