Forum

EA Loading and being removed immediately

How can I find out what is wrong with my EA? for the purposes of rectifying? 2023.06.26 17:19:01.642 Trades '70759879': requote 1.09109 / 1.09109 (instant close by 1 EURUSD at 0.00000) 2023.06.26 17:19:01.643 Scripts script FCK_EA_V1.5 (EURUSD,H1) removed

Trade.mqh download

I have included #include <Trade.mqh> in my code but I keep getting undeclared identifiers which are built in, what is the issue? 'OrderSymbol' - undeclared identifier Draft2.mq5 475 17 #include <Trade/Trade.mqh> #include <Trade/DealInfo.mqh> #include <Trade/HistoryOrderInfo.mqh> #include

Undeclared Identifiers for built in functions

I have included Trade.mqh in my code, compiler is able to access it. I have opened it in the editor and searched for OrderModify() function and it is there. When I ran a compiler (MQL5) it still flags OrderModify() as undeclared identifier, what could be the issue because this is recurring oftenly

Undeclared indentifiers

I have included trade.mqh in my code but I still get undeclared identifier