greg00623 14 posts msg #160691 - Ignore greg00623 modified |
12/1/2023 7:42:33 AM
I'm messing around with this one if anyone wants to tweak on it. It triggers a buy when close crosses above 12 week high/low average.
|
glgene 616 posts msg #160692 - Ignore glgene |
12/2/2023 3:15:49 PM
I like it, I like it. Just one question so far…
There are 13 weeks in a quarter. Why did you choose 12 weeks in the calculations? Not being critical; what am I missing?
Thank you.
Gene in FL
|
Mactheriverrat 3,153 posts msg #160693 - Ignore Mactheriverrat modified |
12/3/2023 2:16:45 PM
Could be because there are 60 days in a trading quarter more or less.
13 X 5 = 65 days
12 X 5 = 60 days
|
greg00623 14 posts msg #160694 - Ignore greg00623 |
12/4/2023 5:35:11 AM
Not missing anything, I pulled the 12 week math off the top of my head. I did experiment with different time frames, but this time frame seems to work best so far. But I posted it for you guys to tweak on to see if we could improve it any more.
|
glgene 616 posts msg #160695 - Ignore glgene |
12/4/2023 11:59:30 AM
Greg — Thanks for the follow-up. Besides 12 weeks, what other “weeks durations ” did you try? Just curious.
I like the focus of your script!
Gene in FL
|
greg00623 14 posts msg #160696 - Ignore greg00623 |
12/4/2023 1:07:43 PM
I tried a 4 week range and I think a 16-20 week range, both were giving mixed results. Plus, I'm a swing trader that likes to hold stocks for a few days up to a week or two if necessary, and this 12 week range seems to fit my style the best.
|
glgene 616 posts msg #160697 - Ignore glgene |
12/4/2023 2:21:06 PM
Greg — Thank you for your prompt follow-up. I appreciate your info.
Gene in FL
|
snappyfrog 717 posts msg #160698 - Ignore snappyfrog modified |
12/4/2023 7:49:06 PM
I looked back through 3 months of picks. Quite impressive. If one only buys the next day if open is above close on the day this scan picks, it will keep one out of many bad hits.
I noticed it missed INTC near Nov 1st. Not sure why. Edit: nevermind, it is RANGE1 greater than 20
I added : draw spreadavg on plot price so I could see it on the chart.
|
greg00623 14 posts msg #160699 - Ignore greg00623 |
12/5/2023 8:59:49 AM
Thanks snappyfrog, I like the addition of buying the next day if open is higher than close. I threw the RANGE1 above 20 in there to try and weed out some of the more slow moving stocks. I'm in for a 5-10% gain when I buy so I need some volatility there.
|
SAFeTRADE 643 posts msg #160700 - Ignore SAFeTRADE |
12/5/2023 9:54:01 AM
My opinion for what it's worth. IT'S A KEEPER! Very well done.
ST
|