OPEN-SOURCE SCRIPT
Mis à jour

Mansfield RS

5 530
Hello,

I hope you like this representation of the Mansfield Relative Strength Indicator.

The calculations have been made based on the following formulas:

Standard Relative Performance indicator

RP = ( stock_close / index_close ) * 100


Mansfield Relative Performance indicator

MRP = (( RP (today) / sma ( RP (today), n)) - 1 ) * 100

Where:
RP = Standard Relative Performance indicator (see above)
SMA = Simple moving average over n days.
n = 52 for weekly charts, and n = 200 on daily charts

Thanks,
Notes de version
update for diferent timeframes
Notes de version
Multiplier modification (x100 -> x10)

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.