Hello, i have a code that use in MT4 which can alert the order send error.
But how can i change to MT5? Please help, Thanks
int OrderErrorReport (int OrderID)
if (OrderID < 0)
Alert("Order rejected, please check error code: " + GetLastError());
Print("Order placed successful");
Above code is using in MT4, i want to change it to MT5.
Read the help: Basic Principles
Please enable the necessary setting in your browser, otherwise you will not be able to log in.