Forum

VPS time settings

Hi, I recently found out that the time on my VPS server is 1 hour different from the time displayed on my MT4 platform, which I think is the broker's server time. For example, if my EA opens a trade, the VPS journal will log the open time as 16:15. But on my MT4 terminal, the order open time is

question about order ticket

Hi everyone. I have a problem about order ticket. Say if you attach two expert advisors to two different currency pairs , my question is will they share the same order pool so the order ticket is generated accoding to all orders produced by these two advisors? I am confused about this problem for a

Check the state of a market order

Hi, I am a beginner in writing EAs with MQL4 and I encountered a question that confused me. If I send an order of AUDUSD pair like the following: OrderSend(Symbol(), OP_BUY, NormalizeDouble(lot_size, Digits), Ask, 3, 0, 0, "LONG", MAGICMA, 0, Green); How could I know whether the market order has