MQL5: The behavior of the OrderSend function during order placing, modification, and canceling has changed. The changes only apply to orders sent to external trading systems. In earlier version, OrderSend function control was returned after the order
Is it possiable that one magic only one position on a single symbol when using Ea on MetaTrader 5 in hedging mode? For each financial security (symbol) per magic only one open position
Dear All, ACCOUNT BALANCE:10000 . 00 USD Tried to place an oder through EA. CTrade::OrderSend: instant buy 10.00 EURUSD at 1.27443 tp: 1.28443 [not enough money] Got an error: not enough money why? please advise.
possible loss of data due to type conversion ArrayObj.mqh 75 14 possible loss of data due to type conversion ArrayObj.mqh 148 20 possible loss of data due to type conversion ArrayObj.mqh 180 20 possible
Dear All, please advise how to initialize value of MAXBARS in tester to "Unlimited"? defaulat value of TerminalInfoInteger(TERMINAL_MAXBARS) in tester is 10000000
There are 376565 days between 1970.01.01 00:00:00 and 3000.12.31 23:59:59. so the number of seconds is 376565*24*60*60-1= 32535215999 . but computing in MQL5, datetime AA= D'3000.12.31 23:59:59' ; printf ( TimeToString
I tried to get time of deal execution in milliseconds in tester mode, the return always is 0. but the HistoryDealGetInteger(last_deal,DEAL_TIME) works fine. //--- time of deal execution in milliseconds since
There will be an update in next Metrader 5 build: Signals: Modified behavior for received requotes and other errors when synchronizing positions and executing signals. When requote is received, a retry of trading operation is performed with an