AmiBroker 7.00.0 BETA introduces a notable shift in how traders can work with AFL (AmiBroker Formula Language), thanks to the new AI Code Assistant feature built directly into the AFL Editor. While the update still maintains the familiar structure of the platform, this version leans toward making AFL scripting more accessible, especially for those who aren’t seasoned coders.

AI Code Assistant: A Practical Addition
The most significant change in this release is the integration of LLMs (Large Language Models) into the AFL coding environment. Users can connect cloud-based models such as OpenAI GPT-4.1 mini or Google’s Gemini 2.5 Flash, or even choose to run a local model like Qwen using tools such as LM Studio.

Once configured, the Assistant appears in the AFL Editor sidebar, where it can:
- Autocomplete code based on prompts
- Explain AFL expressions
- Suggest or fix syntax
- Offer code snippets for common trading strategies
You’re given the choice to accept or reject AI suggestions before they’re applied—ensuring manual control remains central to the process. The implementation is functional and lightweight, and while not flawless, it shows promise for improving productivity, especially for users writing repetitive or boilerplate code.

Setup Flexibility and Privacy Options
AmiBroker gives you flexibility in choosing which AI to use. You can:
- Use OpenAI or Google Gemini APIs for better performance and higher accuracy.
- Run an offline/local model like Qwen for privacy, assuming your machine meets GPU requirements.
Users concerned about sharing data with external servers can opt for local LLMs, though performance and quality will vary depending on the model and hardware.

AFL and Platform Improvements (Briefly)
Beyond the AI features, AmiBroker 7.00 also includes a range of under-the-hood improvements:
- More control in backtests via
SetOption("MaxEntryRank", 10) - Category and tag support for symbol management
- Extended date handling (
StrToDateTimesupports years up to 2037) - Better chart annotations and trade arrow placement
- Several bug fixes and quality-of-life improvements in the AFL Editor and New Analysis window
These changes are mostly incremental but useful, especially for power users working on more complex strategies.
Licensing and Access
AmiBroker 7.00 is a free upgrade for users who registered after July 12, 2023. Others will need to purchase a license upgrade.
To use the AI Assistant beyond 5 completions per session, you also need a valid AFL Code Wizard license. Without it, AI functionality is limited.
Cloud LLM usage may incur token-based costs (depending on the provider), though Gemini currently offers a generous free tier.
Final Thoughts
AmiBroker 7.00 doesn’t reinvent the platform—but it does add a meaningful layer of support for users who want to work faster, or learn AFL as they go. The AI Assistant is not perfect, but it’s a useful companion and a step forward for those who spend a lot of time in the AFL editor.
If you’re already comfortable with AFL, this may not drastically change your workflow. But if you’re someone who appreciates coding assistance, quick fixes, or explanation on-the-fly, this new feature is worth exploring.
Thanks for the article Rajandran sir. Does Amibroker work with Macbook M4 using parallels? Will the RT datafeed like GFDL work flawlessly or are there any catches?
Hi sir, are you running any offline courses ?