cTrader 3.8 - No 'Logs' tab? No Print() output?
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?
Replies
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
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