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.

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.