I have found the code i needed. Attached here the 2 scripts for buy and sell, with stoploss and take profit features.
Just drop the script on the chart, set your sl and tp position will be open.
Attachments forums
Re: Convert MT4 script to MT5
matfx, Fri Mar 31, 2023 3:17 pm