Stop the robot one day of the week
Created at 07 Jun 2017, 21:35
TR
Stop the robot one day of the week
07 Jun 2017, 21:35
I would like to stop or put the bot on standby for example on Thursday from 10 pm but after taking profit ...
A person more gifted than me could she provide me with a piece of code ..?
many thanks
Replies
tradermatrix
09 Jun 2017, 17:40
Thank you MiKro for your code
I will study all this and try to adapt it.
cordially
@tradermatrix
Mikro
09 Jun 2017, 17:03
If this is intended to be yust that try.
A more flexible Approach could be to define different 'States' using Switches.
If one State has been completed, like on closing a Position you set _myState to the next State an only the Logic in this Switch Statement ist going to be executed.
cheers
Mirko
@Mikro