Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

Absolute Month on Month Returns – Amibroker Profit Table AFL Code

1 min read

Amibroker backtesting results provide profit table in the form of compounded values. However, most of the traders when comes to real life trading they prefer using fixed capital as position size. If you want to test the profitability of your system in Month on Month Absolute terms then this article is for you.

One of the reasons why we came up with Absolute Returns – Profitable table amibroker afl code last time. And this time at our trader’s workplace, yet again my partner asked: “is it possible to get a Month on Month Profit/Loss table in Absolute Percentage on Initial Capital rather than in compounded percentage terms?”

Amibroker stores the Profit Table Computation in 3.Profit Table under /formulas/reports folder. with a simple tweak one can code for Absolute Percentage on Initial Capital rather than in compounded percentage terms.

Here is the Compounded Returns and Absolute Month on Month Returns – Profitable Table for one of our upcoming intraday trading system – v-Lintra Ultimate.

Compounded Regular Profit table

Absolute Month on Month Returns (in %)

Steps to Install Profit Table

1)Download 5.Absolute Month on Month Returns ( in %)

2)Unzip and copy the file 5.Absolute-Month-on-Month-Returns-in.afl to the folder /amibroker/formulas/reports/

3)Now Run Backtest on your trading system.

4)Go and check the Backtest reports where you will get Absolute Month on Month Returns (in %) Profit/Loss Table as an add-on to your existing backtest report.

System Parameters

1)Backtesting Window Length – Jan 2011 – Oct 2017
2)Commissions and Slippages – 0.65%
3)Trading Style – Portfolio Based Intraday Trading
4)No of Stocks in Portfolio – 50 stocks
5)Stock Selection Process – Random Stocks
6)Portfolio Stops Applied – No

Download the Complete Backtest Report of V-Lintra Ultimate – Proprietary Trading System and Part of TradeStudio V2.0.0.2

Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

What is QuantZilla?

Quantzilla is 75+ hours of code mentoring program designed for noncoders who want to learn the coding program right from designing indicators, scanners, trading...
Rajandran R
58 sec read

Things to Consider While Building a Bracket Order Execution…

Building a Bracket Order Strategy is the most demanded request we got from most of the algomojo traders. This article explains the list of...
Rajandran R
12 min read

PlaceOrder – Multi Broker Exectuion Code Snippets for Amibroker

This tutorial explains how to build a button trading right from scratch and with a click of a button how you can send orders...
Rajandran R
7 min read

5 Replies to “Absolute Month on Month Returns – Amibroker Profit Table…”

  1. How to get this Proprietary Trading System of TradeStudio V2.0.0.2 ? Is there any website of marketcalls is selling it ?

  2. Are these calculations done with considering brokerage and Tax one have to pay while Trading in Market

  3. Hi Rajandran,
    I use daily candle
    Can you help me write a simple afl with the following conditions:

    I want candle low is less than ma(close,50) within last 3 days (including current day)
    I want candle open is greater than ma(close,50) within last 3 days (including current day)
    I want candle close is greater than ma(close,50) within last 3 days (including current day)

    what i reach so far is:

    but i not sure about whether the code actually means what i want to achieve. Basically i have a problem with within last 3 days. Low has to be less than MA(close,50) for any of the of the day of the last 3 days and so on for others.

    Filter=(LowRef(MA(Close,50),-3)) AND (Close>Ref(MA(Close,50),-3));

    pls help.

    Thanks

Leave a Reply

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