OPEN-SOURCE SCRIPT
Volume % + OBV intensity + histogram (v6)

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
• 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
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.