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.
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Można z tego korzystać swobodnie i bez żadnych ograniczeń — więcej informacji znajduje się tutaj.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Można z tego korzystać swobodnie i bez żadnych ograniczeń — więcej informacji znajduje się tutaj.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.