How to write to console/log for debugging

How to create strategies and indicators
Message
Author
zvolpe
Posts: 4
Joined: Wed Nov 11, 2015 3:54 am

How to write to console/log for debugging

#1 Postby zvolpe » Wed Nov 11, 2015 7:57 am

Hi,

I'm new to forex tester (and Delphi, well.. it's been 20 years since I last write a Delphi program) and I'm writing my own strategy.

While writing/debugging my strategy it would be really useful if I could write strings to some kind of console or a log in forex tester as the strategy was tested.

E.g. something like:

console.log("I just placed an order");

Any idea how I can do this in forex tester with Delphi?

FX Helper
Posts: 1479
Joined: Mon Apr 01, 2013 3:55 am

Re: How to write to console/log for debugging

#2 Postby FX Helper » Thu Nov 12, 2015 5:55 am

You can use Print command and these logs will be shown in "Journal" tab of Terminal window in Forex Tester


Return to “FT API”

Who is online

Users browsing this forum: No registered users and 8 guests