Log failures

Created at 02 Dec 2021, 22:08
BL

blockchainTrader1

Joined 16.11.2021

Log failures
02 Dec 2021, 22:08


When running too many indicators together in a cbot the cbot just hangs or doesn’t do anything.

 

when running optimiser - is there a watch to catch exceptions or log them so I can track where it failed.

 

i.e are there on oncrash or on exception events fired by cbot?


@blockchainTrader1
Replies

amusleh
03 Dec 2021, 08:32

Hi,

Use C# Try/Catch block and log the exception by using cTrader Print method.


@amusleh