The formula requires AmiBroker version x.x or higher
Last updated 11 September 2026
The formula requires AmiBroker version x.x or higher
Your strategy includes version 2 of our library, which needs AmiBroker 6.30 or newer. Upgrade AmiBroker, or stay on AmiBroker 5.8 to 6.29 and use version 1 of the library with our Desktop Client.
Why you see this error
AmiBroker shows this message when a formula needs a newer AmiBroker than the one you are running.
Version 2 of our library (#include <autotrader-v2.afl>) sends your orders over the internet from inside AmiBroker. AmiBroker can only do that from version 6.30. On an older AmiBroker, it stops the formula and shows this error.
Fix 1: upgrade AmiBroker
Upgrade to AmiBroker 6.30 or newer. Keep #include <autotrader-v2.afl> in your strategy. There is nothing else to install.
This is the simplest fix, and we recommend it.
Fix 2: stay on AmiBroker 5.8 to 6.29
If you cannot upgrade, use version 1 of the library instead. Version 1 needs our Desktop Client, a small app that runs on your computer and sends the orders for AmiBroker.
- Download the Desktop Client and set it up.
- Install the library from the Desktop Client, as shown in Older AmiBroker versions.
- Change the line at the top of your strategy to
#include <autotrader.afl>. - Use the sample files without
-v2in their name.
Keep the Desktop Client running while you trade.
AmiBroker older than 5.8
Neither version of the library works on it. Please upgrade AmiBroker.
An older copy of this article mentioned a file named algotrader-util-old.afl. That file is no longer part of the library, so please do not look for it.