PureBytes Links
Trading Reference Links
|
Rob,
AmiBroker is array-processing language:
http://www.amibroker.com/guide/h_understandafl.html
that processes all bars at once.
You can process also bar by bar using LOOPS
(for, while).
Using loops you can freely store value between bars.
See for example the very end of
http://www.amibroker.com/guide/whatsnew.html
that uses loop to implement stops and keeps "priceatbuy"
variable from bar to bar.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "Rob" <coldbrains99@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, July 26, 2004 4:08 PM
Subject: [amibroker] is AFL Stateless?
> I've been trying to build a strategy to back test using AFL.
> However, I am having trouble querying state information, such as
> Position and saving information from one bar to the next. Is there a
> way to query the current position while running through your back
> test, or at the very least, can I store a variable that I can
> reference from bar to bar without the contents of that variable being
> cleared out each bar?
>
>
>
>
>
> 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 --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/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/
|