Forums › ProRealTime English forum › ProOrder support › Machine Learning in ProOrder ProRealTime › Reply To: Machine Learning in ProOrder ProRealTime
Wondered if you might know why that is @vonasi?
I’ve not been following this topic very closely so am not really qualified to comment on the code. If you have the robustness code included in any strategy then the simplest way to test without it is simply to add:
1 |
tradeon = 1 |
at the end of the robustness section of code and just before the strategy part of the code. This way tradeon is always positive and the robustness test is nullified.
Alternatively add something like this to your code and then you can simply turn the robustness tester on and off via one variable at the top of the code without the need to search through the code to find the right line to add or remove // from.
1 2 3 4 5 6 7 8 9 |
RobustnessTest = 0 (robustness test code here) if not RobustnessTest then tradeon = 1 endif (strategy code here) |