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

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



PureBytes Links

Trading Reference Links

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
>
>
>
>
> 



------------------------ 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/