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
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
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: //
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
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
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"
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
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
Hi, For my EA, I try to close an order with 2 partial close but without success. I would like to send two OP_SELLLIMIT to close a BUY order (with specifics volume and price for each sell limit order), how to proceed? The problem is the ticket
Hi, On my VPS , I use a MT4 (IC Markets, version 4.00 build 1260) terminal but the Market tab doesn't display (load) EA. When I click on "Market" tab I can wait 20 minutes and there is no EA displayed into this tab and if after 20 minutes
Hi, I use a VPS and when I click on the tab Market into my MT4, I can wait 15 to 20 minutes before the display of the EA pictures into the tab. Same thing if I use the search field into the tab Market. How to fix this problem
Hello, I would like to calculate the daily profit of one of my EA, my code is: double DailyProfit() { double profit = 0 ; int i,hstTotal= OrdersHistoryTotal (); for (i= 0 ;i<hstTotal;i++) {
Hi, I have an mt4 EA and I would like to add mt4 code into this EA to stop all trades and delete pending orders if equity reached a certain percentage. I searched on MQL5 forum but I don't find mt4 code. I would like to stop all
Hi, I try to code an EA. Buy signal: bar n-2 close below my SMA + bar n-1 close above SMA => Open BUY Sell signal: bar n-2 close above my SMA + bar n-1 close below SMA => Open SELL Please find below a picture of the signal. My