PureBytes Links
Trading Reference Links
|
Hi Roy,
Thank you for your point of view :)
I appreciate very much your way to explain me.
I also want to say "thanks" to Jose Silva.
Both of you help me.
Best regards,
Pablo
RL> Hi Pablo
RL> My code is correct (assuming that my understanding of Rowdy's question is correct). He didn't want to know what stocks had been above the 30-period EMA for ALL of the last 5 bars (your code with
RL> =5, meaning all 5), but what stocks were above the 30-period EMA on ANY of the last 5 bars (my code with >0, meaning 1 or more).
RL> The code I offered returns a TRUE if the condition C>Mov(C,30,E) was TRUE on one or more bars over the last 5 bars. A FALSE is only returned when none of the last 5 bars met the stated condition.
RL> My response to Rowdy was correct as far as I understood his question. If I misunderstood his question then, of course, my solution might have been incorrect because I would have been answering
RL> the wrong question. In this case I think the question was reasonably clear but all too often questions are put in an ambiguous manner and the answer will vary according to interpretation. The
RL> question on ADX(14) put a short while ago got two different answers because Jawjahtek and I interpreted the question differently. Consequently we gave quite different answers, both of which were
RL> correct. Only Ciro would know which answer he was looking for.
RL> Regards
RL> Roy
RL> www.metastocktips.co.nz
RL> ----- Original Message -----
RL> From: Paolo
RL> To: Roy Larsen
RL> Sent: Wednesday, July 12, 2006 5:02 AM
RL> Subject: [Norton AntiSpam] [SPAM] [EquisMetaStock Group] Close above EMA last five Bars? Help
RL> Roy,
RL> When I saw your code something was "wrong" for me.
RL> I was not sure about what (I said a bracket before)
RL> I think the idea is correct but the condition must be
"=5" instead of ">>0"
Sum(C>>Mov(C,30,E),5)>0; { You wrote }
Sum(C>>Mov(C,30,E),5)=5; { I reply }
RL> Am I wrong ? (I'm ussually confused!)
RL> Best regards,
RL> Pablo
RL>> Hello Everyone,
RL>> I'm trying to develop an explorer that will search for stocks that
RL>> have moved above their 30-EMA in the last five bars. I have got the
RL>> following, but is it possible to add (in the last five bars)?
CLOSE >>> Mov(CLOSE,30,EXPONENTIAL)
RL>> Thanks
RL>> Rowdy
Pablo Bozzolo
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|