automatic strategy based on the method of Martingale with manual override of closing orders