MG,
Is this what
you’re looking for?
Valuewhen(1,cum(1)=1,C)
From:
equismetastock@xxxxxxxxxxxxxxx
[mailto:equismetastock@xxxxxxxxxxxxxxx]
On Behalf Of mgf_za_1999
Sent: Monday, May 16, 2005 7:49 AM
To: equismetastock@xxxxxxxxxxxxxxx
Subject: [EquisMetaStock Group]
Absolute reference
Hi Eric,
I am working on your question, just a quick
question to the group,
that relates to our discussion.
Is it possible to get an absolute reference?
I know
Ref(C,-1)
gives the close one bar ago. Also, something
like
sum(C*(Cum(1)=1))
gives the close of the first bar. But is
there a function, say 'X',
so that
X(C,1)
gives the close of the first bar?
Thanks in advance
MG Ferreira
TsaTsa EOD Programmer and trading model builder
http://www.ferra4models.com
http://fun.ferra4models.com
Yahoo! Groups Links