PureBytes Links
Trading Reference Links
|
Marty
AFL executes each time a ne w piece of data is reveived ... so multiple
times during each bar.
There are arrays and scalar variables, the type is automatically set by AFL.
Each variable (and array) maintains its value for the duration of ONE pass
through the code.
StaticVariables are scalar (only). They maintain value during the entire
session.
Alertif can provide aletrs the instant an event takes place.
----- Original Message -----
From: "m_visto" <mvisto@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, October 03, 2005 10:45 PM
Subject: [amibroker] AFL Fundamental Questions
> Hello,
>
> I am looking to understand how afl code executes. I understand that
> code runs sequentially line by line from the beginning of the code
> file to the end. I understand Procedures and Functions, Looping
> Methods, etc.
>
> What I don't understand is how afl works in Real Time as each bar is
> created? Is the entire afl program run over and over again as each
> new bar is completed? Is the program running at all during the
> creation of a bar? Can AlertIF trigger an alert once a price is
> touched but before the bar is completed? I currently do not use the
> RT version so I cannot test these questions.
>
> Also, are variables that are not arrays (global, strings, etc)
> implemented as true variables or are they implemented as arrays that
> have the same value throughout the array?
>
> Thanks,
>
> Marty.
>
>
>
>
>
> 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 --------------------~-->
Make a difference. Find and fund world-changing projects at GlobalGiving.
http://us.click.yahoo.com/PcNrnD/PbOLAA/cosFAA/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/
|