dleather25 39 posts msg #159436 - Ignore dleather25 |
8/12/2022 2:02:12 AM
I am trying to figure out a way to narrow down stock selections by eliminating stocks that are trading above or below (1 of the 2 depending on the filter I have) 60 day slope of close. honestly you could substitute close for just about any indicator aka cci is below 60 day slope of cci etc. but I can't seem to spark my brain to be able to figure it out. Is this possible? I tried to create a cma for slope but this one has me stumped for some reason. Thanks in advance.
|
xarlor 587 posts msg #159441 - Ignore xarlor |
8/12/2022 11:25:12 AM
I can give you a solution for the slope of close, but I have not looked into slope of [any other indicator].
I'll bring to your attention that the Center Linear Regression Line for a 60-day period is the same as 60 day slope of close. However, the CLR value is in the stock's price as opposed to the slope's value, which is a ratio. This then makes it easy to determine if the stock is above or below that line.
|
dleather25 39 posts msg #159446 - Ignore dleather25 |
8/12/2022 2:31:59 PM
Beautiful!! Thank you! I appreciate you. I love playing with stockfetcher, I am on a quest to find and create one of the most accurate short term filters to find bottoms and return 20-50% gains in as little as 1 day to a max of 20 days (1 month) I feel as if I am on the verge of something special. I'm sure with all of your experience at coding as I've seen your posts and coding many many times you have also developed many special filters yourself. Cheers to the path to financial freedom.
|
dleather25 39 posts msg #159447 - Ignore dleather25 |
8/12/2022 4:13:26 PM
Here is an example of something I drew the 60 day slope of that I would like to filter to find where the value of avmcd is below the 60 day slope of avmcd. There may have been an easier way to find the difference between the macd fast and slow lines but this is my version that I came up with on my own. Could the Center Regression Line be used here as well or would there need to be a work around.
set{mcdfl, MACD Fast Line(12,26,9)}
set{mcdsl, MACD Slow Line(12,26,9)}
set{dmcddiff, mcdsl-mcdfl}
draw dmcddiff
set{avmcd, ABS(dmcddiff)}
add column avmcd
draw avmcd
draw 60 day slope of avmcd
|
xarlor 587 posts msg #159448 - Ignore xarlor |
8/12/2022 5:50:31 PM
Yep, just copy pasta right on top.
|
redversa721 157 posts msg #159457 - Ignore redversa721 modified |
8/13/2022 4:16:02 PM
I did a slight modification to catch the risers a little early
quick check found out that buying on open on an upward trending 60 day close line , shows pretty good results. 5-10% on avg. again I only spot checked. YMMV. I use something similar to buy options
|
dleather25 39 posts msg #159458 - Ignore dleather25 modified |
8/13/2022 7:31:50 PM
Another example I could use the Accumulation Distribution slope for the last 60 days and if the accumulation is above that or below that.
|