Thank you for this.
I have 2 comments:
1. For relative strength, I've been using the Mansfield Relative Strength Index (from Stan Weinsteins book, see explanation here (https://www.chartmill.com/documentation/technical-analysis-indicators/35-Mansfield-Relative-Strength). When the value is greater than the 0 line, it means the relative strength is better than the SP500. I'm sure there'd be a way to figure out the top ones, but right now I added this to the scan as a binary so it at least filters for stocks that are relatively stronger than the SP500, and then I can analyze each charts RS line to see if its accelerating or decelerating RS.
Here is the code - I take no credit (source: https://www.stageanalysis.net/forum...500-NYSE-Nasdaq-Stock-Charts?pid=9135#pid9135)
Daily Mansfield
EDIT: Markos has some relative strength stuff in here, I will play around with. Probably better than Mansfield: https://usethinkscript.com/threads/ibd-style-chart-and-scan.532/
2. I'm really new to ToS, and I'm trying to figure out how to convert this into a WatchList indicator. The value of this indicator gives 1 or 0, and I was wondering if there's an easy way to port that to a Watchlist Column. 1 being it meets the criteria, 0 being it doesnt.
I have 2 comments:
1. For relative strength, I've been using the Mansfield Relative Strength Index (from Stan Weinsteins book, see explanation here (https://www.chartmill.com/documentation/technical-analysis-indicators/35-Mansfield-Relative-Strength). When the value is greater than the 0 line, it means the relative strength is better than the SP500. I'm sure there'd be a way to figure out the top ones, but right now I added this to the scan as a binary so it at least filters for stocks that are relatively stronger than the SP500, and then I can analyze each charts RS line to see if its accelerating or decelerating RS.
Here is the code - I take no credit (source: https://www.stageanalysis.net/forum...500-NYSE-Nasdaq-Stock-Charts?pid=9135#pid9135)
Daily Mansfield
Code:
declare lower;
input CorrelationWithSecurity = "SPX";
def SPXclose = close(CorrelationWithSecurity);
def R200 = close/SPXclose;
def RS_today = close / SPXclose;
def BSAverage = (sum(r200, 200)/200);
Plot RS2 = ((R200/BSAverage)-1)*10;
plot zeroline = 0;
RS2.SetDefaultColor(GetColor(6));plot Data = close;
EDIT: Markos has some relative strength stuff in here, I will play around with. Probably better than Mansfield: https://usethinkscript.com/threads/ibd-style-chart-and-scan.532/
2. I'm really new to ToS, and I'm trying to figure out how to convert this into a WatchList indicator. The value of this indicator gives 1 or 0, and I was wondering if there's an easy way to port that to a Watchlist Column. 1 being it meets the criteria, 0 being it doesnt.
Last edited: