frankfruh 2 posts msg #123194 - Ignore frankfruh |
3/13/2015 2:28:44 PM
Hi everybody
I'm struggling at what I think should be quite easy to do : I'm looking for stocks that behave as follows :
Conditions (current day) :
show stocks where ema(3) is above ema(5)
and where ema(5) is above ema(8)
and where ema(8) is above ema(10)
and where ema(10) is above ema(12)
and where ema(12) is above ema(15)
and where ema(30) is above ema(35)
and where ema(35) is above ema(40)
and where ema(40) is above ema(45)
and where ema(45) is above ema(50)
and where ema(50) is above ema(60)
but
Conditions (yesterday) :
Conditons of current day were not met for whichever ema not aligned (from ema3 to ema60)
In other words :
Conditions are all „true“ today (ema3 >= ema5 >= ema8 >= ema10 >= ema12 >= ema15 >= ema30 >= ema35 >= ema40 >= ema45 >= ema50 >= ema60)
But one or more of these conditions were not „true“ yesterday.
I'm sure someone has the right filter to do this !
Thanks
|
Pottergreg 4 posts msg #123213 - Ignore Pottergreg |
3/16/2015 4:38:49 AM
I use MMAs and I typically draw the 3-15 and 30-60 and then just add ma 15 above ma 30 and get the spreads I am looking for with just that. Are you exploring Guppy MMA's ?
|
mahkoh 1,065 posts msg #123223 - Ignore mahkoh modified |
3/16/2015 2:03:10 PM
set{x1,count(ema(3) 1 day ago above ema(5) 1 day ago,1)}
set{x2,count(ema(3) 1 day ago above ema(10) 1 day ago,1)}
set{x3,count(ema(10) 1 day ago above ema(12) 1 day ago,1)}
set{y1,x1 + x2}
set{y2,y1 +x3}
y2 below 2.5 do not draw y2
this is a start, from here you should be able to figure out the rest of the filter.
|
frankfruh 2 posts msg #123264 - Ignore frankfruh |
3/19/2015 11:41:12 AM
Thanks mahkoh for your help !
|