PureBytes Links
Trading Reference Links
|
Jay
I don't quite get the detail of what you're asking, but I think ValueWhen() might be the function
you're looking for here.
ValueWhen(1,BarsSince("indicator condition")=0,CLOSE);
The trick lies in defining the "indicator condition" to last be true on the bar you want to examine.
There are any number of ways to "giggle" the timing so that your signal aligns properly with the
value you're trying to capture.
I assume you're aware that both BarsSince() and ValueWhen() are subject to failure (return N/A) when
insufficient bars are included in the exploration.
Kind regards
Roy Larsen
www.metastocktips.co.nz
Free formulas and MS links
----- Original Message -----
From: "whiler178" <jemem@xxxxxxxxxxxxx>
To: <equismetastock@xxxxxxxxxxxxxxx>
Sent: Tuesday, November 23, 2004 9:48 AM
Subject: [EquisMetaStock Group] explorations
>
>
>
> I would appreciate help with the following:
> I would like to be able to determine the closing price in an
> exploration of an indicator which reads +1 or 0 from the period that
> a barsince started, e.g., barssince=5
> What was the closing price on that day?
> The exploration would show various barssince lengths.
> TIA
> Jay
>
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/BefplB/TM
--------------------------------------------------------------------~->
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/
|