I still decided to add SL and TP dragging to the 3rd variant. I.e. after the algorithm 3 options set SL and TP, we can drag them where necessary. This is in my opinion the best (universal) option. In the void OnTick() there should be a line: if(PriceModify<Point()) {OnSL=0;OnTP=0;}
I tested one strategy in the tester today. Practice has shown that it is more convenient to drag sl and tp if you make an adjustment to the 2 constants.
Thank you for your help. That's helpful. Was looking for how to open orders in the tester. It is done through global variables. But it is inconvenient that the indicator has to be placed on a chart.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I tested one strategy in the tester today. Practice has shown that it is more convenient to drag sl and tp if you make an adjustment to the 2 constants.
Here it is: