franmor01981

Mansfield RS

franmor01981 已更新   
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)
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?