PROTECTED SOURCE SCRIPT

Bulls vs Bears % Table

19
Bulls vs Bears % Box

What it does
Shows a compact on-chart box with the percentage of volume attributed to Bulls vs Bears over a window you choose. It’s a fast market-internals glance to gauge who’s in control right now.

What’s original/useful

Configurable inference: choose how “bull/bear” is defined (Tick-Rule, Candle Body, Heikin-Ashi Body, or VWAP comparison).

Flexible windowing: Session (RTH) reset or Rolling N bars—match your intraday workflow.

Clean UI: tiny table with custom colors and nine anchor placements; designed to overlay any layout without clutter.

How it works (simple)
For each bar, the script infers direction with one of four rules and assigns that bar’s volume to Bulls or Bears:

Tick-Rule (close vs previous close) – responsive in chop (default).

Body (close vs open) – classic candle color approach.

Heikin-Ashi Body – smoother trend read using HA open/close.

VWAP (close vs VWAP) – bull if the bar closes above VWAP, bear if below.
Optional: doji split 50/50. The box displays the Bull % and Bear % of the accumulated window.

Settings

Window: Session (RTH) with editable hours/days, or Rolling N bars.

Direction Rule: Tick-Rule, Body, Heikin-Ashi Body, or VWAP.

Doji Handling: Split doji volume 50/50 (on/off).

Placement: 9 anchors (Top/Middle/Bottom × Left/Center/Right).

Colors: Header, background, border, and dominant/sub text colors for Bulls/Bears.

How to read it

Bulls % > Bears % → buyer dominance; continuation more likely.

Bears % > Bulls % → seller dominance; watch for rallies to fail.

Extreme imbalance (e.g., >60–70% one side) → strong push but also pullback risk as the move matures.

Limitations & transparency

Uses volume-based inference, not true bid/ask delta (TradingView does not expose tape-level buy/sell splits).

Results vary by rule/window; pick one and stay consistent for your playbook.

No forward-looking data; no lookahead is used. This is not a signal generator or a strategy.

Best practices

Index futures/indices intraday: Session (RTH) + Tick-Rule is a solid default.

Trend days: try Heikin-Ashi Body for smoother dominance.

Mean-reversion: watch for extremes reverting toward balance.

No external code reused.

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。