Support Board
Date/Time: Sat, 05 Jul 2025 15:07:25 +0000
[User Discussion] - NVOL Ratio, Can Sierra Do This?
View Count: 635
[2020-05-20 16:22:24] |
Alberto Gauer - Posts: 121 |
Hi there. In thinkorswim there is a study that shows the uvol/dvol ratio on the chart as a label. This is the formula: def UV = close("$UVOL"); def DV = close ("$DVOL"); def ADL = UV - DV; def ADR = if UV > DV then UV / DV else -DV / UV; input mode = {default Ratio, Issues}; def modeSwitch = if mode == mode.Ratio then 1 else 0; AddChartLabel(yes, concat( if modeSwitch then ADR else ADL, concat(" ", if modeSwitch then ":1 NYSE UV/DV" else " NYSE UV/DV")), if modeSwitch then if ADR > ADR[1] then color.green else color.red else if ADL > ADL[1] then color.green else color.red); plot null = double.nan; Can Sierra do this? . Thanks Date Time Of Last Edit: 2020-05-20 16:24:41
|
To post a message in this thread, you need to log in with your Sierra Chart account: