
Discover practical Amibroker AFL tips and tricks to customize charts, set the default chart, manage time intervals, use Fibonacci tools, keyboard shortcuts, and detach floating windows for efficient backtesting.
Right-click the price chart and select guided formula to view and edit the AFL code behind the chart, using // and /* */ comments to annotate the code for clarity.
Explore AFL functions and procedures, learn how arguments work (mandatory and optional), and how semicolons end statements, with examples like moving average and drawing a circle.
Learn how to use variables in Amibroker AFL to break formulas into smaller parts, label data meaningfully, display results, and update all formulas by changing a single period variable.
Create sections and parameter blocks to organize Amibroker AFL code, exposing numeric and color settings in the chart's parameters dialog for interactive customization.
Learn to build a simple Amibroker AFL trading system using 20-day and 50-day moving average crossovers to generate buy and sell signals, with chart arrows and a screener.
Use the Amibroker AFL analysis window to create a screener that shows buy and sell signals, filters by value traded, and reveals the most recent signals in exploration.
Learn to build a backtester by defining buy and sell rules, plotting signals, and configuring equity, position sizing, stops, and testing ranges. Validate signals using a watchlist and review results.
Learn to compute risk and reward in Amibroker AFL programming by calculating upside and downside percentages from support and resistance lines, and plot the risk-reward ratio on the chart.
Get familiarized with the Amibroker Formula Language. Learn how it works in the background and how to use it to customize your charts. Understand about the AFL syntax and functions. Also learn about how to use variables and with sections and parameters to add shortcuts to your code and make it more manageable.