PureBytes Links
Trading Reference Links
|
Hi Jose,
can't really take credit for the idea, just something I picked up.
Following on, how would I calculate the number of consecutive Up days (&
conversely down downs) as an indicator. I have tried using some latch logic
but just not getting it right.
Regards, David
-----Original Message-----
From: equismetastock@xxxxxxxxxxxxxxx [mailto:equismetastock@xxxxxxxxxxxxxxx]
On Behalf Of Jose Silva
Sent: Monday, 29 January 2007 4:23 AM
To: equismetastock@xxxxxxxxxxxxxxx
Subject: [EquisMetaStock Group] Re: a bit of help please
Dave is thinking outside the box with his solution:
---8<-----------------
pds:=3;
LLV(C-Ref(C,-1),pds)>0
---8<-----------------
This may be easier to follow for those of us still inside the box:
---8<-----------------
pds:=3;
Sum(C>Ref(C,-1),pds)=pds
---8<-----------------
jose '-)
http://www.metastoc <http://www.metastocktools.com> ktools.com
. . .
. . .
. . .
--- In equismetastock@ <mailto:equismetastock%40yahoogroups.com>
yahoogroups.com, "David Smith" <david.smith5@xxx>
wrote:
>
> Oops, I means LLV for higher closes. Use HHV(C - ref(C,-1), 2) < 0
> for lower closes.
>
> Dave
>
>
> -----Original Message-----
> From: equismetastock@ <mailto:equismetastock%40yahoogroups.com>
yahoogroups.com
> On Behalf Of spr_boy
> Sent: Saturday, 27 January 2007 12:05 AM
> To: equismetastock@ <mailto:equismetastock%40yahoogroups.com>
yahoogroups.com
> Subject: [EquisMetaStock Group] a bit of help please
>
>
>
> Hi all
>
> Need a bit of yoooou guys expertise in coding. Are there any simple
> ways of saying three consecutive higher closes instead of C>Ref(C,-1)
> AND Ref(C,-1)> Ref(C,-2) AND Ref(C,-2) > Ref(C,-3)
>
> Thanking you kindly
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/equismetastock/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:equismetastock-digest@xxxxxxxxxxxxxxx
mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|