INVITE-ONLY SCRIPT
已更新 Body Direction Ratio (Fixed Range)

Overview
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:
There is no “Balanced” state by design. The result is always either Bullish or Bearish, ensuring a clear directional context.
Bias Logic
The box color reflects the detected bias instantly.
Fixed Range Control
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:
Workflow example:
This helps answer questions such as:
Input Parameters
Time Range
Visual
Important notes
Key benefits
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
發行說明
Offset for Label added發行說明
Combine direction bias with RSI發行說明
Fix RSI calculation僅限邀請腳本
僅作者批准的使用者才能訪問此腳本。您需要申請並獲得使用許可,通常需在付款後才能取得。更多詳情,請依照作者以下的指示操作,或直接聯絡trading-guide。
TradingView不建議在未完全信任作者並了解其運作方式的情況下購買或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
You can get the indicator from our webpage: https://indivisionx.com
Access our indicators from: indivisionx.com
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
僅限邀請腳本
僅作者批准的使用者才能訪問此腳本。您需要申請並獲得使用許可,通常需在付款後才能取得。更多詳情,請依照作者以下的指示操作,或直接聯絡trading-guide。
TradingView不建議在未完全信任作者並了解其運作方式的情況下購買或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
You can get the indicator from our webpage: https://indivisionx.com
Access our indicators from: indivisionx.com
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。