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.

Mini Certification Course on Algorithmic Trading Strategies

If you are new to Automated trading? This certification course will help you to kickstart your automated trading with your broker and get to...
Rajandran R
1 min read

Algomojo Index Straddle/Strangle Execution Module with Intraday Stoploss

This tutorial focus on how to automate your index straddle/strangle strategy with intraday stop-loss levels with time-based entry and exits using Algomojo Platform and...
Rajandran R
7 min read

Learn How to Login into Algomojo Account using Amibroker

In the last tutorial, we learn how to automate the algomojo login process and in this video tutorial, we are going to learn with...
Rajandran R
1 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