RGR When a cBot includes the trading hours at which to operate, per instance, 17:00 to 18:00, and is continously on through a VPS; does it require additional coding to make sure it won't open trades during the weekends? Thank you for your time.
Mike Hi, yes, it does. if(this.Time.DayOfWeek == DayOfWeek.Saturday || this.Time.DayOfWeek == DayOfWeek.Sunday) { // DO NOT TRADE } If the markets you are trading are closed by the broker weekends then you do not need to do anything because you or an automated system cannot submit trades over the weekend.