cr0cop 87 posts msg #74389 - Ignore cr0cop |
5/14/2009 12:40:07 PM
hi.....im trying to get stocks where the last two daily candles closed between the EMA10 and EMA20 ...i wrote this but its not bringing me good results sometimes the stocks are not between the EMA10 and EMA20
show stocks where close is between ema(10) and ema(20)
and close is between ema(10) and ema(20) 1 day ago
any suggestions so i can have stocks where the close was between those two EMAs only?
thanks
|
johnpaulca 12,036 posts msg #74393 - Ignore johnpaulca modified |
5/14/2009 1:03:34 PM
try using > 10 and < 20 or above ema(10) and below ema(20)
|
Kevin_in_GA 4,599 posts msg #74396 - Ignore Kevin_in_GA |
5/14/2009 4:02:56 PM
This should work:
show stocks where the high is below ema(20) and the low is above ema(10)
the high 1 day ago is below ema(20) 1 day ago and the low 1 day ago is above ema(10) 1 day ago
this should gaurantee that the close is between the two ema limits
|
Kevin_in_GA 4,599 posts msg #74397 - Ignore Kevin_in_GA |
5/14/2009 4:06:47 PM
This seems to work - I get five hits, all of which show the behavior you are looking for:
show stocks where the high is below ema(20) and the low is above ema(10)
the high 1 day ago is below ema(20) 1 day ago and the low 1 day ago is above ema(10) 1 day ago
and close is above 1.00
and draw ema(20) and draw ema(10)
|
cr0cop 87 posts msg #74406 - Ignore cr0cop |
5/14/2009 11:14:01 PM
thanks guys!
|