PureBytes Links
Trading Reference Links
|
Hello,
I am new to Amibroker and am having a prblem with AFL. I am trying
to initialize some variables but only once. I don't want them to
reset every time through.
Example:
init = 1;
if (init)
{
init = 0;
a = Open;
b = Close;
}
I don't want 'a' being reset to Open every time, just the first day
of the backtest. Is there a way to accomplish this?
Thank you in advance,
John B
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
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/
|