How to Use: Customize the Reference Symbol: In the settings of the indicator, you can change the referenceSymbol to the benchmark or asset you want to compare against. RS Interpretation: RS > 1: The current asset is outperforming the reference symbol. RS < 1: The current asset is underperforming the reference symbol. RS = 1: The current asset and the reference symbol are performing equally. Alerts: You can enable alerts for when the RS crosses certain levels (e.g., when RS > 1 or RS < 1). How It Works: Reference Symbol: The user inputs the benchmark asset or symbol (e.g., "SPY" for an S&P 500 ETF). This will be used as the comparison symbol. RS Calculation: The RS Value is calculated by dividing the current asset's close price by the reference asset's close price: RS = Close Price of Current Asset Close Price of Reference Asset RS= Close Price of Reference Asset Close Price of Current Asset
Plotting: The RS value is plotted on the chart as a line. A horizontal line at RS = 1 is drawn for easy comparison, representing parity (when the asset and reference symbol have the same price). Background Coloring: The background is colored: Green when RS > 1 (indicating the asset is outperforming the benchmark). Red when RS < 1 (indicating the asset is underperforming the benchmark). Alerts: Alerts are triggered when the RS value is above or below 1, indicating outperformance or underperformance relative to the benchmark.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.