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.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.