It's the ARRAY aspect that gets everyone, especially programmers. You are not computing a single numeric value every time, but every value for the entire history of the stock. This also means you can't "go back" and change a prior value (without using loop code and subscripts[i], which would be much more familiar to you). Then you have special variables that run their own functions invisible to you. Most notably, Buy-Sell-Short-Cover cause a backtest to be run.
Check out "Understanding AFL" in the help section if you haven't already. -- Terry -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Hawkins Sent: Friday, December 01, 2006 17:40 To: [email protected] Subject: [amibroker] AFL for Dummies Excuse me for being a Dummy but is there a book similar to the "___________ for Dummies" series. I just don't quite get the whole thing. I am decent at VB-6 in that I can find what I need to after awhileeeeeeee. But looking at the various AFL's that people post and that make up the indicators, I am still missing something. Any idea's.
