I get a error from this Traillingstop Function
You have to initialize your MqlTradeRequest structure :
MqlTradeRequest Request={0};Also if OrderSend returns false, that doesn't means you have an "Incorrect Request/Result Structure when Selling." Especially as it's not a request to sell but to modify SL/TP.
Hello,
i have here a good looking trailingstop function, but when i use it in my EA i get a error message during backtest, the error message is: "Incorrect Request/Result Structure when Selling."
an somebody help me to get this function running without error?