OPEN-SOURCE SCRIPT

Bullish Candle Ratio

141
Introduction
Bullish Candle Ratio is a market statistics indicator that measures the percentage of bullish candles within a selected lookback period.

Instead of focusing on price levels or moving averages, the indicator evaluates the balance between bullish and bearish candles. This provides a simple overview of market participation and directional dominance over recent bars.

The result is displayed as a percentage between 0% and 100%, making it easy to assess whether buyers or sellers have been more active during the selected period.

How It Works
The indicator counts how many candles closed above their opening price during the selected lookback period.

The Bullish Candle Ratio is calculated as:
Bullish Candle Ratio = (Number of Bullish Candles ÷ Lookback Period) × 100

For example, if 15 out of the last 20 candles are bullish, the Bullish Candle Ratio equals 75%.

Key Features
Market Participation
Quickly measures whether buyers or sellers have dominated recent price action.

Easy to Read
Values range from 0% to 100%, making interpretation straightforward.

Trend Confirmation
High readings often support bullish market conditions, while low readings indicate bearish dominance.

Lightweight
Requires only basic candle calculations, making it suitable for all markets and timeframes.

Interpretation
Above 80%
Strong bullish dominance.
Most recent candles have closed higher than they opened.

Between 60% and 80%
Moderately bullish conditions.
Buyers are controlling the majority of recent price action.

Around 50%
Balanced market.
Neither buyers nor sellers have established clear dominance.

Between 20% and 40%
Moderately bearish conditions.
Selling pressure has become more noticeable.

Below 20%
Strong bearish dominance.
Most recent candles have closed lower than they opened.

Alert Conditions
The indicator includes two alert conditions.

Bullish Ratio Increasing
Triggered when the Bullish Candle Ratio crosses above 60%.

Bearish Ratio Increasing
Triggered when the Bullish Candle Ratio crosses below 40%.

Example Applications
- Measuring short-term market sentiment.
- Confirming trend strength.
- Monitoring shifts in buying and selling pressure.
- Comparing bullish participation across different markets.
- Supporting price action analysis.

Notes
Bullish Candle Ratio is intended to measure market participation rather than generate trading signals.

A high bullish ratio does not guarantee that prices will continue rising, just as a low ratio does not guarantee further declines.

The indicator is most effective when combined with trend analysis, support and resistance, and overall market structure.

Bullish Candle Ratio provides a simple statistical view of recent market sentiment by measuring the balance between bullish and bearish candles within a selected period.

免責事項

これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。