lfrisch1 4 posts msg #142795 - Ignore lfrisch1 |
3/18/2018 12:59:53 AM
Hi all,
I am new to SF and was hoping someone could help me code this. I am trying to find stocks that have been trending below ma20 for at least 3 to 4 weeks and now the stock over last few days has made a sharp increase above ma20, to lets say ma50 or ma40...
the idea is, that if its been trending below ma20 for a while and has now moved up sharply, the stock is probably going to make a quick short term move up.
So, its below ma20 for several weeks, then pops sharply above ma 20 and the idea is that you want to buy the next retace, if at all possible to code the last retrace back to ma 20.
thank you all in advance.
Larry
|
snappyfrog 721 posts msg #142796 - Ignore snappyfrog |
3/18/2018 6:24:15 AM
Something simple to start with:
|
dustinb 29 posts msg #142801 - Ignore dustinb |
3/18/2018 4:20:33 PM
Snappy- I think your first line because of the way it's worded is only picking up stocks between prices of 10 and 60 rather than days? Check me on that though...
|
lfrisch1 4 posts msg #142805 - Ignore lfrisch1 |
3/19/2018 1:10:01 PM
Thank you Snappy. I will give it a try now and let you know hoe it works.
thank you very much!
|
lfrisch1 4 posts msg #142807 - Ignore lfrisch1 |
3/19/2018 1:27:45 PM
I am trying something like this now but doesnt seem to be working. can you help with code. ty
show stocks where close < MA(20) for last 20 days beggining between 10 days ago and 60 days ago
and close > MA(40) in the last 5 days
and close < 5
and close > 1
|
four 5,087 posts msg #142809 - Ignore four modified |
3/19/2018 2:14:50 PM
|
lfrisch1 4 posts msg #142810 - Ignore lfrisch1 |
3/19/2018 3:10:28 PM
Thank you four for your input. I will play with it and advise.
thank you
|
four 5,087 posts msg #142849 - Ignore four |
3/21/2018 8:15:18 PM
welcome
|
snappyfrog 721 posts msg #142859 - Ignore snappyfrog |
3/22/2018 5:11:53 PM
dustinb, you are right. Thanks
|