Scripts: Set Stoploss and Takeprofit at same level for multiple orders - page 2

 
Really great work, is there a version that works on MT5?
 
ramy ragab #:
Really great work, is there a version that works on MT5?
#include <MT4Orders.mqh> // https://www.mql5.com/en/code/16006

#define Bid SymbolInfoDouble(_Symbol, SYMBOL_BID)
#define Ask SymbolInfoDouble(_Symbol, SYMBOL_ASK)

#define show_inputs script_show_inputs
#include "AutoSet TP and SL.mq4" // https://www.mql5.com/en/code/27684