| volvlov 32 posts
 msg #148366
 - Ignore volvlov
 | 7/4/2019 1:22:16 AM 
 On page 108, he defined the relative strength as the ratio of the stock price to that of a market index, and  then on page 109 he talked about how this ratio can be negative or positive. This can't be negative the way he defined it.  What am I missing?
 
 
 | 
| graftonian 1,089 posts
 msg #148371
 - Ignore graftonian
 | 7/4/2019 11:38:44 AM 
 Volvlov, I believe this is a semantical issue.  More accurately stated, the comment on pg109 should read "...the slope of  the ratio can be negative or positive."
 graf
 
 
 | 
| xarlor 619 posts
 msg #148373
 - Ignore xarlor
 modified
 | 7/4/2019 12:33:22 PM 
 "talked about how this ratio can be negative or positive. This can't be negative the way he defined it. What am I missing?"
 
 I presume he means anything above 1.0 is positive (outperforming the comparing index) and below 1.0 is negative (underperforming the comparing index).
 
 
 
 
 
 | 
| volvlov 32 posts
 msg #148378
 - Ignore volvlov
 | 7/4/2019 7:58:02 PM 
 Thanks graft and xar!  It appears that everything is here to make a Weinstein filter.
 
 
 | 
| nibor100 1,099 posts
 msg #148387
 - Ignore nibor100
 | 7/5/2019 3:50:45 PM 
 I ordered a used copy of the book today to see what everyone is actually talking about.
 Thanks,
 Ed S.
 
 
 | 
| Mactheriverrat 3,173 posts
 msg #148392
 - Ignore Mactheriverrat
 | 7/5/2019 10:37:04 PM 
 @nibor100
 I think you will like it.
 
 
 | 
| volvlov 32 posts
 msg #148393
 - Ignore volvlov
 | 7/5/2019 10:42:04 PM 
 I did some digging and apparently, other people have questioned Weinstein's erroneous equation for Relative Strength over the years.   As far as I can tell, the equation in the below link is correct.  Can someone please tell me how to embed filters?  Also, as noted in the code, I believe daily charts need a 200 MA and weekly charts need a 52 MA.
 
 https://www.tradingview.com/chart/LAC/K4K9vEtR-200-day-Mansfield-relative-strength-index-for-stage-analysis/
 
 chart-time is 3 months
 symlist(gol,htz,x,tsla)
 set{ratio, close/ind(^ixic,close)}
 /*200 for daily charts-52 for weekly*/
 set{erat, cema(ratio,200)}
 set{quo,ratio/erat}
 set{dif,quo - 1}
 set{MansfieldRS,dif*10}
 draw MansfieldRS
 add column MansfieldRS
 draw MansfieldRS line at 0
 
 
 | 
| Mactheriverrat 3,173 posts
 msg #148394
 - Ignore Mactheriverrat
 | 7/5/2019 10:48:07 PM 
 An examples page.
 
 
 Stage Analysis is a strategy for longer term trend trading. It was discussed in detail by Stan Weinstein in the book Secrets for Profiting in Bull and Bear Markets. Stage Analysis uses chart patterns to describe four distinct stages that a particular trade can be in.
 
 
 
 | 
| Mactheriverrat 3,173 posts
 msg #148395
 - Ignore Mactheriverrat
 | 7/5/2019 11:07:08 PM 
 Wonder if someone can code the below with a weekly MA52
 
 set{erat, cema(ratio,200)}
 set{quo,ratio/erat}
 set{dif,quo - 1}
 set{MansfieldRS,dif*10}
 draw MansfieldRS
 add column MansfieldRS
 draw MansfieldRS line at 0
 
 
 | 
| volvlov 32 posts
 msg #148396
 - Ignore volvlov
 | 7/5/2019 11:14:09 PM 
 chart-time is 15 months
 symlist(gol,htz,x,tsla)
 set{ratio, close/ind(^ixic,close)}
 /*200 for daily charts-52 for weekly*/
 set{erat, cema(ratio,52)}
 set{quo,ratio/erat}
 set{dif,quo - 1}
 set{MansfieldRS,dif*10}
 draw MansfieldRS
 add column MansfieldRS
 draw MansfieldRS line at 0
 chart-display is weekly
 
 
 |