Forum

CTrade ResultPrice - no value for pending order executed

Hi all, I'm using the CTrade class to place a pending order and retrieve the executed price when the order gets executed, however I keep getting a value of 0. This is the MqlTradeResult I get : MqlTradeResult{ retcode:10009 deal:0 order:2 volume:1.47 price:0.0 bid:11766.129999999999199645

Critical Error since Update !

Hi all, Since the update pushed yesterday, it is impossible to launch backtests ! I'm currently getting "global initialization failed" and "global initialization critical error ". Help ! Sk

Multi-feed and Multi-brokerage

Hi all, I'm just wondering if it's possible to have multiple feeds and brokers within the same MT5 terminal. For instance, is it possible to receive the futures data from one data vendor and trade with another broker (CFD or future) ? Regards, Sk

ArraySetAsSeries does NOT work with volume array

Hi, Could this be fixed in the next version ? Test for yourself : //+------------------------------------------------------------------+ //| B_Volume.mq5 | //| https://www.mql5.com |

Managing Event Handlers

Hello all, I'm currently encountering the following problem: - BAR 1 : I have an open position and 2 pending orders (Profit Target and Stop Loss) not attached to the order (not within the order, i.e as separate orders). - BAR 2 : On opening of the bar, Stop Loss is touched and position is closed

Generic Data Collections Library - MISSING

Hi all, According to the documentation (https://www.mql5.com/en/docs/standardlibrary/generic ) generic templates should be available in the Include\Generic folder. However there is no such folder in MT5 ! Would it be possible to upload it ? Thanks in advance, Sk