dman103

Percentage Relative Strength

dman103 Premium Mis à jour   
A relative strength indicator that compares your main symbol (one on your chart) strength to another symbol by percentage.
The result is plotted as a histogram showing which symbol is rising or falling more in percentage.
In case your chart symbol is TSLA ( Tesla ) and the indicator 'Symbol to compare' is SPX:

GREEN area (above zero) means TSLA is rising more than the SPX .
RED area (below zero) means TSLA is falling more than the SPX .

To these who wants to understand calculation, it's pretty straightforward.
For each asset we calculate everyday percentage change based on previous close and current close.
We take main asset (chart symbol) percentage and subtract it from percent of change of the symbol we want to compare to.
Result are smoothed by SMA ( Simple Moving Average )
You can select different indexes or cfds such as S&P500 (SPX) , NASDAQ 100 ( NSX ), RUSSELL 2000 (RUT) and NASDAQ (IXIC).
Default is S&P 500 (SPX) .

Enjoy and Like if you like.
Notes de version: NEW: Added option to add your own symbol! Just fill the input box with the symbol you want to compare to or use predefined presets.
Added more moving averages (EMA, RMA and WMA)
Notes de version: Now it's easier than ever to compare chart to any symbol by just selecting any symbol from indicator settings.
Rearranged settings for easier use.
updated to pine script 5.0

Appreciation of my work: https://paypal.me/dman103
Premium Pivot Points Algo Indicator: https://www.tradingview.com/script/LFBaHNuA-Pivot-Points-Algo/
LIVE Stream on Youtube 24h - Pivot Points Algo https://youtu.be/AzDxMsrmWYE
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?