Restart the robot

Created at 06 Nov 2017, 19:40
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!
MT

mto1995

Joined 19.10.2017

Restart the robot
06 Nov 2017, 19:40


Hi,

I would like my robot restart every day at midnight can i do that ? 

 

protected override void OnTick()
        {
                if midnight OnStop();
        }
        protected override void OnStop()
        {
           OnStart();
        }

 

And need indicateru for to know the trend ?

 

thks !

 


@mto1995