Forum

Off quotes for pending orders

Hi, the error messages below were generated in the journal while an EA was trying to place pending orders . Error 136 (off quotes) is captured by waiting for the refreshrates() in a loop and immediately sending the order again with the new prices; However, the process below keeps repeating itself

Object drag and drop control through mt4/mql4

Hi, In mt5/mql5 there is the possibility to drag and drop lines and objects on the charts in metatrader. An EA can capture these events and perform logic accordingly. For example: Lines indicating TP and SL levels could be drawn on the chart by an EA. The user could manually drag and drop these

EA on offline charts

Hi everyone, I'm currently using a renko chart generator to generate a 4M offline timeframe. I recently had some trouble coding (and using) a certain indicator on this offline chart; It seemed that for every new tick the IndicatorCounted() value was 0. My question: the next few days I'm going to

Trade copier

Hi everyone, I would like the possibility to copy trades from a master mt4 account to multiple slave accounts. What would be the best/most efficient way to implement this? Any suggestions from someone that developed this kind of trade copier before? All advice welcome. Thanks

Maximum minimum distance

Hi everyone, Is there any way to figure out what the maximum minimum distance and/or freezelevel is for a particular broker. The marketinfo properties dont seem to contain this information. Thanks

Position of EA on chart

Hi, I would appreciate some help on the two issues described below. If a user drags and drops an EA to the chart, is there any way of finding out the exact time/price where the user has dropped/released the EA? Another question: can an EA make some kind of call to the user interface of metatrader to