cTrader 3.8 - No 'Logs' tab? No Print() output?

Created at 23 Jan 2021, 14:49
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
ctid2514471's avatar

ctid2514471

Joined 23.01.2021

cTrader 3.8 - No 'Logs' tab? No Print() output?
23 Jan 2021, 14:49


I am new to cTrader Automate.

For debugging I want to use Print("message").

I have put lines in my Indicator's Initialize() and Calculate() methods. But I can't find where any text comes out.

Is the 'Journal' tab in 3.8 the same as 'Logs' in previous versions?

And where is my Print() output?


@ctid2514471
Replies

PanagiotisCharalampous
25 Jan 2021, 08:36

Hi ctid2514471,

Print()  method works only in the Automate tab for indicators. Check the Log tab.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

drewisdad
10 Jul 2022, 03:07

RE:

Don't know where my reply went so I'll try again.

You can view your indicator print output, even in backtesting.  You need to instantiate your indicator in a bot, run the bot in backtesting... or wherever. The trick is that whenever you update/rebuild your indicator... you need to also rebuild your bot.  Now you can see your changes/output from the indicator in the bots logs.

 


@drewisdad