two different time for timer?

Created at 15 Mar 2019, 16:01
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!
LU

lukas.ourada

Joined 11.03.2019

two different time for timer?
15 Mar 2019, 16:01


Hello all,

please i have one question.

I need use two timer.

First in (1second) for checking change time, and second in (24hours), after this time send mail my report. I need send mail 24hour after robot is runing.

Is posible use many different Timer (interval)? How?

Thanks

 

Lukas  


@lukas.ourada
Replies

PanagiotisCharalampous
15 Mar 2019, 16:07

Hi Lukas,

There is no such option at the moment.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
15 Mar 2019, 16:09

However you could implement a solution without a timer. You can record the starting time and check in OnTick if 24 hours elapsed since the cBot started.

 


@PanagiotisCharalampous