Forum

Using std or Boost library to bind class member in MQL 4

Hello, I read that it should be possible with std::bind or the c++ Boost library to bind a function pointer to a class method. Unfortunately I couldn't find any examples of this and I can't do it without help. Suppose I have two classes and I want to bind a callback from class A to an instance of

Multiple positions opened with one request

Hi folks, I can't get any further with the following problem: My EA opens positions fine (in Tester) until it suddenly opens 7 positions from one request (while it should open 1). It is always the same request when this happens and I can't figure out what I'm doing wrong. I'm using CTrade to open

MetaEditor 5 freezes when choosing different style for Styler

When I try to set the Styler's style to anything different than 'MetaQuotes' the MetaEditor application freezes. I'm using version 5.00 build 2755. Did anybody else experienced this and found a solution for it

Check whether EA is attached to chart

Hello, from a custom EA I would like to check whether another EA is attached to another chart. I wasn’t able to find anything helpful in the documentation regarding getting an attached EA or the list of all active EA’s. Only how to get the indicators attached to a chart. Is there any possibility to