I have currently coded a robot that works quite well. However, I have to constantly optimize it with the strategy tester to find the right parameters that can currently work on a chart. I want one that he can perform his own optimization, and be able to modify the optimization function as I wish.
By integrating these lines of code into my robot, I would like it to be able to:
- every evening at midnight (and I would like to modify this time if I want to) achieve a better potimization; he will test the robto over the last 3 days with different values of TP, SL, values on indicators etc etc, and apply the most interesting setting in relation to the profit made.
- that every Friday evening it carries out an optimization on the 2 weeks which have just passed; he must then retrieve the correct configuration of the robot (the configuration that makes the most profit for example) and apply it to the robot trader.