PureBytes Links
Trading Reference Links
|
Graham. Right, but that's not enough.
I want to be able to remember the values of the bar when (for instance) H
first crosses BBandtop (20,2) after 093000.
I was thinking some combination of EXREM and HOLD might do it. still
working on it.
----- Original Message -----
From: "Graham" <kavemanperth@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, November 22, 2005 6:26 PM
Subject: Re: [amibroker] AFL question -- first occurrence of day
> The first bar of each day can be found using this
>
> StartOfDay = datenum()!=ref(Datenum(),-1);
>
> It is just a matter of putting this with valuewhen
>
> FirstBarClose = Valuewhen( StartOfDay, C );
>
> --
> Cheers
> Graham
> AB-Write >< Professional AFL Writing Service
> Yes, I write AFL code to your requirements
> http://e-wire.net.au/~eb_kavan/ab_write.htm
> On 11/23/05, cstrader <cstrader232@xxxxxxxxxxxx> wrote:
>>
>>
>> I'd like to find the first bar on which an event occurred after the open.
>> I think I could figure out a way, but was hoping for something simple
>> like firstsince(), but couldn't find it. Any thoughts?
>>
>> Thanks in advance
>>
>> chuck
>>
>>
>> Please note that this group is for discussion between users only.
>>
>> To get support from AmiBroker please send an e-mail directly to
>> SUPPORT {at} amibroker.com
>>
>> For other support material please check also:
>> http://www.amibroker.com/support.html
>>
>>
>>
>>
>>
>>
>> SPONSORED LINKS
>> Investment management software Real estate investment software Investment
>> property software
>> Software support Real estate investment analysis software Investment
>> software
>>
>> ________________________________
> YAHOO! GROUPS LINKS
>>
>>
>> Visit your group "amibroker" on the web.
>>
>> To unsubscribe from this group, send an email to:
>> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>>
>> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>> To unsubscribe from this group, send an email to:
>> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>>
>> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>>
>> ________________________________
>
>
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|