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)

How to Enable the Log Feature in Amibroker while doing Algo Trading using Algomojo?

1 min read

This quick video tutorial explores how to use the log features in Amibroker to record your trades. Logging your trades is the most important part of automated trading to troubleshoot/debug your trading strategy and to find if there is any deviation between trading logic and trade execution?

Amibroker provides the log window feature which helps traders to do the following this

  • edit-time errors displayed during formula check
  • run-time errors that occur when formula is running (not edited)
  • _trace command output within AmiBroker (without using 3rd party debug view)

In order to get the Amibroker Log Open Amibroker -> Windows Menu -> Log

Amibroker Log helps algotrader in the following way

1)Captures the Trade, Trade Qty, Trade Time
2)Captures the Chart ID, Algo Status, Trading Strategy Name
3)Amibroker Generated Signals

which can be used further to do end of the day audit to ensure all the orders are placed properly. In case of any deviation from the logs with the Algomojo Order Log one can fix if there are any deviation in your algo trading process.

Note that _TRACE output is by default directed to outside debugger (like DebugView), in order to enable internal display you need to switch appropriate option in the Tools->Preferences->AFL You can choose to display internally / externally or in both places

Make sure that logs are enabled so that it helps you to decode your trades in case if something goes wrong. If in case you want to save the logs copy the log content from Amibroker Log window and paste it in a notepad/wordpad and save it.

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)

[Live Coding Webinar] Build Your First Trading Bridge for…

In this course, you will be learning to build your own trading bridge using Python. This 60-minute session is perfect for traders, Python enthusiasts,...
Rajandran R
1 min read

[Webinar] Understanding and Mitigating Curve Fitting in System Trading

"Understanding and Mitigating Curve Fitting in System Trading"! This dynamic session aims to equip novice to intermediate traders, quantitative analysts, and financial engineers with...
Rajandran R
1 min read

P-Signal Strategy Long Only Strategy – Amibroker AFL Code

This tutorial provides an overview of the P-Signal reversal strategy, a quantitative trading strategy that utilizes statistical parameters and error functions to generate probabilistic...
Rajandran R
2 min read

Leave a Reply

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