mqlmaster4 / Publications
Forum
Invalid Expiration no matter what i do trying pending order. Error 10022
I am trying to post a pending Orderasync on a DEMO account but no matter i do the error persist. The symbol specification says Order Expiration : TODAY Here goes my code and tries: bool Trade_OrderAsync( double volume, ENUM_ORDER_TYPE MyOrderType, double Order_Price, double Order_Stop_Loss_Price
How to Swing Trade on MetaTrader 5? The Position disappears from Trade Panel on next day, so can´t close it.
Hello. I open the Order OK and let it there all day. After the end of stock exchange period it disappears from Trade Panel . How to make it appear again so i can close the Position
Invalid Expiration - How to solve it ? Please, guide me.
Hello. Got: 2023.08.10 14:03:02.176 Trades '3008608544': failed sell stop 10 WINQ23 at 118810 sl: 118815 tp: 118805 [Invalid expiration] I did many searches, tried many things and nothing result in success for the sell stop pending order i am trying to place. I attached the image of my broker
StopLoss is beeing trigged immediately after order is placed, not when it´s reached. Any hint why?
Hi all I place an order and stoploss is beeing trigged no matter i change it to a different value. It´s not been reached. Any hint? MqlTradeRequest request={}; // https://www.mql5.com/en/docs/constants/structures/mqltraderequest MqlTradeResult result={}; ZeroMemory (request); ZeroMemory
Ivalid Request 10013 trying to close order.
I can successfully place order and retrieve the ticket id by result.order, but when i try to close the order always get invalid request 10013. Tried to close the order 2 ways. With the below function CloseTradeOrder AND using CTrade.OrderDelete( result.order ). Here goes my code: void