Rajandran R Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, USDINR and High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in and Co-Creator of Algomojo (Algorithmic Trading Platform for DIY Traders)

Profit Table AFL code with Yearly Max Drawdown

22 sec read

Here is a simple Amibroker AFL trick which will replace your default profit table in your Amibroker Backtest report with Colourful profit table along with CAR%, yearly Max Drawdown (maxDD%) as well as overall maxDD% as shown below. And its better version of profit table as it provide more meaningful insights.

Intratrend V4.0

Step to Install the Profit Table

1)Download Profit Table AFL code
2)Unzip and replace the afl 3 Profit Table.afl inside //amibroker//formulas//reports
3)Remember to backup the default “3. Profit Table.afl” first, i.e. by renaming it to “3. Profit Table.bak”.
4)Now Run a backtest and goto Reports to see the new colorful Profit Table.

Rajandran R Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, USDINR and High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in and Co-Creator of Algomojo (Algorithmic Trading Platform for DIY Traders)

Sending Smart Futures/Spot – Signals to Two-Legged Options Execution…

Thought of making an open source AFL code demanded by most of the option traders to control the cost, to control the risk, and...
Rajandran R
12 min read

Send Smart Options Execution Orders from Futures or Spot…

This tutorial provides instructions on how to utilize simple buy and sell trading signals in Spot/Future charts to place option orders (including ATM, ITM,...
Rajandran R
19 min read

Backup your Amibroker EOD/Intraday Database in CSV Format

This Amibroker tutorial helps you to export your entire Amibroker EOD/Intraday Database in CSV Format with just a click of a button. Backing up...
Rajandran R
1 min read

One Reply to “Profit Table AFL code with Yearly Max Drawdown”

  1. Hi Rajandran,
    I just stumbled upon your revised Profit Table with MDD. While I love the idea, the performance numbers don’t match the built-in profit table. Is there a reason that I’m missing?

    Thanks,
    Jim

Leave a Reply

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More