Forum

How to Disable Live Update Function in MetaTrader 4

Hi, I have an Expert Advisor which work only with MT4 version 4.00 build 1400 but not with the next MT4 version 4.00 build 1408. I have a copy of my terminal.exe version 4.00 build 1400, but each time I copy/paste this terminal.exe file into the folder of my MT4 installation it run the update to

Last closed order function

Hi, I have this function below which check the status (Profit or Loss) of the last closed order: string CheckLastOrder() { string last; for ( int i=OrdersHistoryTotal()- 1 ;i>= 0 ;i--) { if ( OrderSelect (i,SELECT_BY_POS,MODE_HISTORY)==TRUE) { if (OrderSymbol()== Symbol () &&

FFCal indicator into mt4 EA

Hi, I have FFCal.mql4 indicator (file attached) and I would like to use it into a mt4 EA to filter open trade from impact high and medium news economic. To use this indicator into EA it is necesary to put this code below into EA code: // EA Setting variables extern int MinsBeforeNews = 120 ; //

Backtest result is different from the real trading

Is it possible to have a MT4 EA with +700% of gain in 1 year on a live real account and when I made a backtest for the same period I obtain -3% (with the same settings)? The seller of this EA tells me: ​not all backtests are accurate. What is your opinion

Can my broker see the name of my EA?

Hi, is it possible for my Forex broker to know the name of the EA mt4 that is running on my VPS ? Regards, Paul

Control of the effectiveness of an Expert Advisor

Hi, Why doesn't MetaQuotes require its EA sellers to post a live signal before to sell an EA on mql5 website? A backtest is worth nothing, only a result on a live trading account has some value. Thank you for your aswer

Signals: pair not match between my broker and the signal provider

Hi, into my MT5 Market Watch, I see "GOLD" for XAUUSD, I would like to subscrive at a XAUUSD signals , can I copy trades if my pair is not the same between my broker and the pair of the signal provider? Also, I don't understand well the "volume" message into the red rectangle into file attached

How to contact MQL5 team

Hi, I try to post a long message through your chat but we can post long message, we are limited at 30 words... what is the email address to send to you a long message? Some MT4 sellers offer bonus atfer purchase of their EA in exchange of positive reviews and it's not acceptable

If last order is a loss => Sleep() function

Hi, I have a MT4 EA and I would like to add a function which stop new order open during xx minutes (with the Sleep() function ) if the last close order is a loss. I built this code below but it doesn't work correctly, what is wrong? for ( int i= 0 ;i< OrdersTotal ();i++) if ( OrderSelect (i

Lot size calculation: multiple orders

Hi, For an EA, I need a function with loop to find lot size. There may be a random number of open lots. When a lot is open, there is always a Take Profit as target. But if the Take Profit is not reach and there is a opposed open signal, we open this new order by calculting the new lot size of this