AmiBroker AFL

AI chip powering a code editor beside a candlestick chart for AmiBroker AFL coding

AmiBroker 7.00 BETA Is Now an AI-Powered Coding Assistant

AmiBroker 7.00 adds an AI code assistant to the AFL Editor that uses OpenAI, Gemini or local LLMs to write, explain...
Rajandran R
3 min read
Smooth teal trend line gliding through choppy ocean waves with a sailboat

Trading with the Laguerre Filter: A Powerful Tool for Trend Following – Amibroker AFL Code

The financial markets are like a vast ocean, with prices constantly ebbing and flowing. For traders navigating these waters, having the...
Rajandran R
3 min read
Candlestick chart with a smooth glowing logarithmic moving average curve

The Logarithmic Moving Average: A Modern Approach to Trend Detection – Amibroker AFL Code

Enter the Logarithmic Moving Average (LMA), a powerful indicator that leverages logarithmic weighting to create a more responsive and intelligent trend-following...
Rajandran R
9 min read
Candlestick chart with a speech bubble beside a fast glowing processor chip

Real-Time Market Reasoning in AmiBroker Using Cerebras – The World’s Fastest AI Inference Engine

Imagine your trading chart not just showing you price and indicators, but actually talking back with insights. By integrating Cerebras, the...
Rajandran R
6 min read
Code editor window framed by curly braces and quote marks for raw strings

Using r”” Raw Strings in Amibroker for Algo Trading – Amibroker Tutorial

Starting from AmiBroker 6.41.0 BETA, raw string literals (r"" and r'') were introduced to the AFL language. This powerful feature makes...
Rajandran R
2 min read
Smooth Lowess curve with bands around candlesticks, extremes marked, for AmiBroker trend shifts

Detecting Extreme Price Behavior and Trend Shifts Using Lowess Channel in Amibroker

Discover a powerful Amibroker AFL script that leverages LOWESS smoothing with ATR bands to detect overbought/oversold conditions, trend reversals, and short-term...
Rajandran R
3 min read
Glowing autocorrelation heatmap grid above echoing price waves, AmiBroker indicator cover

Autocorrelation Heatmap – TASC 2025.02 Indicator – Amibroker AFL using ChatGPT O3-Mini Model

Autocorrelation is a statistical tool that measures the degree to which current price movements are related to past movements. By visualizing...
Rajandran R
4 min read

Visualizing Intraday PNL with Amibroker AFL

Intraday traders often rely on quick decision-making supported by robust analytics. Tracking intraday profit and loss (PNL) in real-time can provide...
Rajandran R
4 min read

CUSUM Filter Strategy in AmiBroker AFL: A Practical Implementation

Detecting meaningful shifts in price trends while filtering out market noise is a challenge many traders face. Inspired by Jakub Polec’s...
Rajandran R
2 min read

Fisher Transform – Amibroker AFL Code

The Fisher Transform is a technical analysis indicator developed by John F. Ehlers, designed to identify potential turning points in the...
Rajandran R
2 min read

My Experience Converting SSL Hybrid from PineScript to Amibroker AFL Code Using OpenAI’s New Reasoning Model ChatGPT o1-preview

As a trader and coding enthusiast, I often find myself needing to translate trading indicators from one programming language to another....
Rajandran R
7 min read

Pivot Reversal Strategy – Tradingview Pinescript to Amibroker AFL Conversion

Pivot reversal strategy AFL converted from TradingView's built-in Pine Script strategy, with code fixes and a backtest add-on that mimics stop-order...
Rajandran R
6 min read