nomadrx 8 posts msg #114657 - Ignore nomadrx |
7/26/2013 1:14:33 PM
Created this simple filter, but when I run it, it show 0 stocks. If I use "date offset", still not stocks. However, if I run backtesting, it works? Can anyone see why this would not work as a filter?
Show stocks where MA(20) crossed above MA(50)
and MA(50) crossed above MA(100)
Thanks!
|
Kevin_in_GA 4,599 posts msg #114659 - Ignore Kevin_in_GA |
7/26/2013 1:36:48 PM
That set of conditions is pretty limiting ... both crosses must occur on the same day. Not a lot of candidates for that simultaneous event would be my guess.
|
duke56468 683 posts msg #114660 - Ignore duke56468 |
7/26/2013 1:42:30 PM
Maybe try adjusting this, they would have to happen simultaneously the way it was written
|
nomadrx 8 posts msg #114668 - Ignore nomadrx |
7/28/2013 10:56:17 AM
Thanks, this is new to me and I'm learning fast by going through the forums to understand the nuances of the programming a little better.
I modified it so that it looked for both of these crosses occurring in the last 2 days and it uncovered the one that popped up during the backtesting, as well as two others. I had not realized that by not specifying the number of days, it was causing the filter to find stocks where both criteria occurred on the same day... which was very limiting. However, I will still be backtesting that "same day" filter out of curiosity to see if it turns out to be a major turning point.
|