PROTECTED SOURCE SCRIPT
RS Rating Vietnam - IBD Style (AlphaStock Edition)

Description: This implies the Relative Strength (RS) Rating specifically optimization for the Vietnam Stock Market, inspired by Investor's Business Daily (IBD) methodology.
How it works: Unlike the standard RSI (which measures internal momentum), this RS Rating compares a stock's performance against a benchmark index (Reference Index: VNMIDCAP or VNINDEX) over the last 12 months.
Calculation Formula: The rating is based on weighted performance (ROC):
40% weight: Latest 3 months (1 Quarter)
20% weight: 6 months
20% weight: 9 months
20% weight: 12 months
Features:
Auto-Scaling RS Line: The line automatically adjusts to fit the price chart, removing the need for manual fixed scales.
Benchmark Comparison: Compares stock Alpha vs. VNMIDCAP (default) to detect leaders even when the general market is skewed by large-cap stocks.
Color Coded:
Purple: Rating > 90 (Strong Buy/Leader)
Green: Rating > 80
Yellow: Rating > 60
Red: Rating < 60
Smart Display: Shows historical Rating values in the Data Window when hovering over past candles.
Credits: Designed by Admin AlphaStock.
How it works: Unlike the standard RSI (which measures internal momentum), this RS Rating compares a stock's performance against a benchmark index (Reference Index: VNMIDCAP or VNINDEX) over the last 12 months.
Calculation Formula: The rating is based on weighted performance (ROC):
40% weight: Latest 3 months (1 Quarter)
20% weight: 6 months
20% weight: 9 months
20% weight: 12 months
Features:
Auto-Scaling RS Line: The line automatically adjusts to fit the price chart, removing the need for manual fixed scales.
Benchmark Comparison: Compares stock Alpha vs. VNMIDCAP (default) to detect leaders even when the general market is skewed by large-cap stocks.
Color Coded:
Purple: Rating > 90 (Strong Buy/Leader)
Green: Rating > 80
Yellow: Rating > 60
Red: Rating < 60
Smart Display: Shows historical Rating values in the Data Window when hovering over past candles.
Credits: Designed by Admin AlphaStock.
סקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, תוכל להשתמש בו בחופשיות וללא כל מגבלות – למד עוד כאן
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, תוכל להשתמש בו בחופשיות וללא כל מגבלות – למד עוד כאן
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.