OPEN-SOURCE SCRIPT

Volume % + OBV intensity + histogram (v6)

83
1) Volume % (logic that already existed)
• Average volume at the last 20 days =
• Average level → 50%
• More than double the average → **100%**
• Mapping between 0 and 100%

2) OBV % (newly added)
• Look at the OBV change compared to the previous bar
• obvChange = obv - obv[1]
• Compare the absolute value of this change (the magnitude of the force) to the average change in the last 20 bars
• Average level → 50%
• More than double the average → 100%
• Use the value from 0 to 100% as obvPercent

3) Long/Short Section Judgment (OBV basis)
• obvChange > 0 이고 obvPercent >= 60 →
👉 Good section to enter long (buying energy is strong) → Green number
• obvChange < 0 이고 obvPercent >= 60 →
👉 Short entry decent section (sell energy strong) → Red number

Pernyataan Penyangkalan

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.