OPEN-SOURCE SCRIPT

up/down VolumeRatio

595
Idea:
Measure the directional dominance of trading volume by comparing aggregated up-volume versus down-volume, then stabilize the signal using a logarithmic transformation and EMA smoothing.

Rationale:
The ratio of up-volume to down-volume captures the imbalance between buying and selling pressure. Log transformation ensures symmetry and reduces extreme value distortion, while EMA extracts persistent trends in volume flow.

Usage:
Use the log ratio crossing its EMA as a signal of momentum shift. Positive values indicate bullish dominance, negative values indicate bearish dominance.

Wyłączenie odpowiedzialności

Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.