TradingView
fyntrade
Jan 13, 2018 5:31 PM

Mansfield Relative Strength Trend 

Amazon.com, Inc.NASDAQ

Description

'Stan Weinstein' developed an indicator called Relative Strength which compares the relative strength of a stock with the associated index (in this case the S&P 500).

This indicator combines the relative strength with Weinstein's stage analysis.


The indiacator was made for weekly stock charts only!


BUY & HOLD Conditions (green):
1. Mansfield Relative Strength is above the zero line
2. Price is above the Simple Moving Average (30)
3. Simple Moving Average (30) is rising

SELL & HOLD Conditions (red):
1. Mansfield Relative Strength is below the zero line
2. Price is below the Simple Moving Average (30)
3. Simple Moving Average (30) is falling

It is recommended to end the trade when the trend changes.


Default index is S&P 500, but you can change the index in the settings if you want.

Please always remember, there is no holy grail indicator!

Release Notes

I was told that in the book of Weinstein (page 25) he describes he uses a weighted 30-week moving average (WMA).

So in this new version 2.0 I fixed that.
There is a boolean option to choose if you like SMA or WMA.

From the book:
This makes the MA more sensitive to current activity and helps it reverse direction faster. The drawback to their weighted average is that it leads to a few more whipsaws..."

Personally I like the SMA, but this is not in line with the real strategy.

Upper indicator: with WMA
Lower indicator: with SMA


Hope you like it

Best regards

Release Notes

- update to pinescript v5
- adding moving average option (most requested feature but disabled per default)
- adding option to set the rs line manually (default 52 on weekly and 200 on daily charts)
Comments
Badcharts
Hi! The green or red trend, they stop when any of the 3 conditions is not valid anymore? Regards, Patrick
fyntrade
@Badcharts, yes that is correct. regards
realatiba
Hi, Can you add a Moving average to the trend line? That will make it easier to see whether the MRS is rising or falling. Thanks!
cartoonheart
Thank you very much sir just downloaded, gonna use this in my stage analysis strategy and report back with any questions.
cartoonheart
deleted comment
Doppelkeks
I like this one very much. Would it be possible to have different indexes as basis, like in your multiple indicator? Thanks and regards
SATHYANR
hi thanks for sharing. if i want to compare multiple scripts to index base , is it possible? how to go about
fyntrade
javierpaillan
muchas gracias¡¡
Lames
One hell of an indicator. have tried some other RS indicators, but like this one the best. One feature i wanna recommend which will increase it utility would be to have an option of changing the RS Time frame. Thanks and regards
More