OPEN-SOURCE SCRIPT

Long-short energy ratio /多空能量比值

71
This indicator calculates the relative strength of bulls and bears by measuring the average candle body movement within a user-defined window (default: 50 bars).

Bull Energy = average percentage change of all bullish candles in the lookback period

Bear Energy = average percentage change of all bearish candles in the lookback period

Energy Ratio = Bull Energy ÷ Bear Energy

The ratio is plotted as a curve around the baseline of 1:

Ratio > 1 → Bull side shows stronger momentum

Ratio < 1 → Bear side shows stronger momentum

Ratio ≈ 1 → Balanced market conditions

This tool helps visualize short-term shifts in buying and selling pressure, offering a simple mean-reversion perspective or a confirmation of trend strength depending on the context.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.