[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [trading] Re: [amibroker] ValueWhen(Ref()) question



PureBytes Links

Trading Reference Links

Thanks Anthony....not what I was wanting to hear though :(
Do you (or anyone for that matter) have any ideas how I can retrieve the value of the 
Close of the last Buy that was traded on?


----- Original Message ----- 
From: "Anthony Faragasso" <ajf1111@xxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, September 14, 2004 10:19 PM
Subject: [trading] Re: [amibroker] ValueWhen(Ref()) question


>I read it as this.....
>
> Give me the value of the close when the Buy was the day before....
> ----- Original Message ----- 
> From: "Beachie" <beachie41@xxxxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Tuesday, September 14, 2004 6:44 AM
> Subject: [amibroker] ValueWhen(Ref()) question
>
>
>> Just some clarification please for the following:
>> ValueWhen(Ref(Buy,-1),C)
>> Does this return the Close value of the last time a Buy was actually
>> executed, or does it
>> return just the last Buy signal, regardless whether there was still a
>> trade open before
>> that? In other words I wish to only reference the last Buy signal that
>> actually caused me
>> to enter a trade, despite subsequent Buy signal positives.
>> cheers
>>
>>
>>
>>
>> Check AmiBroker web page at:
>> http://www.amibroker.com/
>>
>> Check group FAQ at:
>> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
>
>
>
>
>
>
> 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/