Body Direction Ratio (Fixed Range)

The Body Direction Ratio (Fixed Range) indicator measures directional participation inside a user-defined time range by analyzing candle bodies only.
Instead of counting candles, the indicator sums the actual body size of bullish and bearish candles within the selected range and displays their percentage relationship. This provides a clear view of who was in control during that period: buyers or sellers.
What the indicator does
Within the selected time range, the indicator:
- Calculates bullish body size (close > open)
- Calculates bearish body size (open > close)
- Sums both values
- Computes the percentage ratio between bullish and bearish bodies
- Draws a range box covering the high/low of the selected period
- Assigns a Bullish or Bearish bias
- Colors the box automatically based on that bias
There is no “Balanced” state by design. The result is always either Bullish or Bearish, ensuring a clear directional context.
Bias Logic
- Bullish Bias: Bullish body sum ≥ Bearish body sum
- Bearish Bias: Bearish body sum > Bullish body sum
The box color reflects the detected bias instantly.
Fixed Range Control
- Fully manual start and end time
- Optional Auto End = Current Bar toggle
- End time is always guaranteed to come after start time
- No automatic extending unless explicitly enabled
This ensures precise and reproducible analysis.
How to use it (recommended workflow)
This indicator is not a signal tool. It is a context and participation tool.
A powerful use case is applying the indicator on lower timeframes at higher-timeframe points of interest.
Examples of points of interest:
- Higher-timeframe support and resistance levels
- Supply and demand zones
- Daily or weekly key levels
- Session ranges and reaction areas
Workflow example:
- Identify a higher-timeframe level (e.g. daily resistance)
- Switch to a lower timeframe (e.g. 5m or 15m)
- Select a fixed range around the reaction area
- Observe whether buyers or sellers dominated inside that range
- Use the result as contextual information, not as an entry trigger
This helps answer questions such as:
- Was the reaction buyer-driven or seller-driven?
- Is participation expanding or fading?
- Does price acceptance or rejection make structural sense?
Input Parameters
Time Range
- Start Time
Defines the beginning of the fixed analysis range. Only candles whose time is equal to or after this timestamp are included in the calculation. - End Time
Defines the end of the fixed analysis range. Only candles whose time is equal to or before this timestamp are included in the calculation. - Auto End = Current Bar
When enabled, the end time is automatically set to the current bar. This allows the range to extend dynamically while keeping the start time fixed. When disabled, the range remains strictly fixed between Start Time and End Time.
Visual
- Bullish Box Color
Sets the box color when bullish body participation is greater than or equal to bearish body participation. - Bearish Box Color
Sets the box color when bearish body participation is greater than bullish body participation. - Text Color
Defines the text color used for the information label displayed on the chart.
Important notes
- This indicator does not predict price
- It does not generate buy or sell signals
- It should always be used together with structure, levels, and higher-timeframe context
Key benefits
- Measures real participation instead of candle count
- Works on any timeframe
- Especially effective on lower timeframes around HTF levels
- Clear directional bias without ambiguity
- Clean, non-lagging, fixed-range logic
Skript nur auf Einladung
Ausschließlich Nutzer mit einer Erlaubnis des Autors können Zugriff auf dieses Script erhalten. Sie müssen diese Genehmigung bei dem Autor beantragen. Dies umfasst üblicherweise auch eine Zahlung. Wenn Sie mehr erfahren möchten, dann sehen Sie sich unten die Anweisungen des Autors an oder kontaktieren Sie trading-guide direkt.
TradingView empfiehlt NICHT, für die Nutzung eines Scripts zu bezahlen, wenn Sie den Autor nicht als vertrauenswürdig halten und verstehen, wie das Script funktioniert. Sie können außerdem auch kostenlose Open-Source-Alternativen in unseren Community-Scripts finden.
Hinweise des Autors
Haftungsausschluss
Skript nur auf Einladung
Ausschließlich Nutzer mit einer Erlaubnis des Autors können Zugriff auf dieses Script erhalten. Sie müssen diese Genehmigung bei dem Autor beantragen. Dies umfasst üblicherweise auch eine Zahlung. Wenn Sie mehr erfahren möchten, dann sehen Sie sich unten die Anweisungen des Autors an oder kontaktieren Sie trading-guide direkt.
TradingView empfiehlt NICHT, für die Nutzung eines Scripts zu bezahlen, wenn Sie den Autor nicht als vertrauenswürdig halten und verstehen, wie das Script funktioniert. Sie können außerdem auch kostenlose Open-Source-Alternativen in unseren Community-Scripts finden.