OPEN-SOURCE SCRIPT

Mansfield RS

已更新
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,
版本注释
update for diferent timeframes
版本注释
Multiplier modification (x100 -> x10)
mansfieldmansfieldrelativestrengthRelative Strength Comparison

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明