UVOL | DVOL

barbaros

Administrator
Staff member
Platform
  1. Thinkorswim
Volume of all tickers that went up vs down.

uEaC6jS.png


Code:
# UVOL | DVOL
# Created for b4signals.com
# barbaros

declare lower;

plot uvol = close("$uvol") / close("$tvol");
uvol.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
uvol.SetDefaultColor(Color.GREEN);

plot dvol = close("$dvol") / close("$tvol");
dvol.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
dvol.SetDefaultColor(Color.RED);

AddLabel(yes, " uvol " + AsPercent(uvol), Color.GREEN);
AddLabel(yes, " dvol " + AsPercent(dvol), Color.RED);
 

barbaros

Administrator
Staff member
UVOL is up volume
DVOL is down volume

Idea is that is majority of the market is selling, compatible stocks will follow.
 
Top