I don't think it is possible to set a start time and an end time in backtesting, you have to take the default 00:00. Is this something that will be changed in the future? This would be a very useful feature, if available. Thanks
I've been trying to fix days for 2 days straight. i am not sure what is going . the EA rejects all symbols except USDJPY and it's broker variant with suffixes.. why is the autovalidation check for EURUSD.. of course it will not pass!!! how do I fix this
Hello everyone, My MT5 EA works very well when I execute it via the Strategy Tester, but it fails the validation when I try to add it to the Marketplace. I would appreciate any suggestions, ideas, thoughts
Experts tab : 2025.06.26 13:35:57.116 HybridLiquidityEA_v1.9 Most updated (XAUUSD,H1) ORDER ATTEMPT: entry=3310.69 sl=3310.99 tp=3309.79 lots=1.00 stopLevel=0.00000 2025.06.26 13:35:57.116 HybridLiquidityEA_v1.9 Most updated (XAUUSD,H1) OrderSend failed: retcode=10019, comment=No money 2025.06.26
Suggest adding a function for Python to call Strategy Tester. Currently, Python cannot call Strategy Tester and Strategy Tester Visualization, so it is recommended to add this functionality
How come the code line below does not Normalize iLow to the 2nd decimal place? this.low = NormalizeDouble(iLow(Symbol(),Period(),shift),2); int shift = 1; I can't figure it out
For five days now I have been trying to download an expert to sell it in the MetaTrader 5 market, and yet it fails the test. I am trying to fix it and follow the instructions, but to no avail. I hope someone can help me. test on EURUSD,H1 (netting) 2022.02.10 19:52:20 failed cancel order #101 buy
Hi, Stuck into a problem. Using the standard MoneyManagement modules results in OrderCalcMargin always returns true and margin 0. in AccountInfo it's that call OrderCalcMargin (trade_operation,symbol, 1.0 ,price,margin) which with further execution leads to the usage maxvolume of the symbol
Hi Everyone, My EA code open a position using Trade.Buy(lotsize,_Symbol,Ask,0,tp) without any stop loss but having a tp price. When certain conditions are met, i would like to remove the tp by using Trade.PositionModify(ticket,0,0) but EA keep producing failed modify [Invalid stops] error
If i run multiple instances of MT5 from seperate folders (ie copy folder) and i try to attach an EA to a specific one of them( ie one that one and install from market, it seems to only want to install it to the default MT5 install? anyone know a way around this
In the OnInit of my EA, I use this loop to retrive previous candlestick's open, close, high, low, volume and time values: string candleValues; for ( int i = Window; i > 0 ; i--){ candleValues = StringFormat ( "%g,%g,%g,%g,%g,%s" , iOpen ( _Symbol , PERIOD_CURRENT ,i)
hi guys . I made an ea that in backtest does good , but when I trade it on a live account it say invalid stop. why? (backtest made on realtick) thanks
Hello my friend, Nice to meet you. I am new to MT5 and MQL5 VPS, i have several questions, can you please help to provide more information for me to consider the MQL5 VPS service: 1) If i subscribed 1 MQL5 VPS, how many trading accounts can i migrated to? 2) If it is workable to migrated multiple
When do a EA backtest I read in journal the follow line: tester: 2024.12.14 09:32:03.427 Tester "00 - EURUSD -01-XMLOW-Double\EURUSD-01-XMLOW-DoubleLong.ex5" 32 bit Question: MT5 (build 4755 on Windows 11, AMD7940HX processor) is 32 or 64 bit? In build I use flag "AVX512" or "AVX2", same
Hi, I know I can create a custom asset using a CSV file for price movements. However, I don't know how to include dividends to simulate a full corporate action. I noticed there is a deal_type called DEAL_DIVIDEND, so I thought maybe it would be possible. What am I missing? Is there a better
as the above I trade manually and would like to be able to manage the trades individually not one rule for all
Here's a funny joke: Imagine spending days tweaking your EA in order for it to be accepted by the old, non-customizable, obsolete check-up mechanism for the MT5 market. You keep getting the same error over and over again: test on EURUSD,H1 (netting) there are no trading operations test on XAUUSD,D1
Objects, and here in this example of a button objects, that are set to hidden by default after attaching to the chart, after minimizing and re-maximizing the panel appear as visible. How to keep them hidden? Please refer to the attached GIF example. Thanks
The given errors are: 'iMA' - wrong parameters count ThreeMA_Strategy_EA.mq5 76 22 'iMA' - wrong parameters count ThreeMA_Strategy_EA.mq5 77 22 'iMA' - wrong parameters count ThreeMA_Strategy_EA.mq5 79 22 'iMA' - wrong parameters count ThreeMA_Strategy_EA.mq5 81 23 'iMA' - wrong parameters count
Hi everyone, here is an include file for walk forward analysis in mt5, it also has the mq5 file which has an example how to call it into you're EA. It's the bare framework of a walk forward analysis type program so it's not like any fancy software you've seen out there before, I'm hoping we can all
Hello and regards. I want to publish a robot designed only for Dow Jones but when loading and testing in the MQL5 market it tests on the EURUSD symbol and gives the following error: test on EURUSD,H1 (netting) symbol US30 does not exist there are no trading operations
I have successfully installed and used the MetaTrader5 package on Ubuntu without any difference on Windows. Here are the instructions. 1. Install Wine with the following command (skip if you already installed) sudo apt install wine 2. Install the MetaTrader 5 platform for Linux according to the
how to take commission value on an active position on mql5?... previously this message was not there, but when I recompile, a message like this appears, is this new
Hello! Help please, how can determine that the last two orders were closed by StopLoss?
Hello! I am trying to send a market order programmatically via my MQL5 demo account on *********** via my EA and via this code: void OnTick () { ExtExpert. OnTick (); if (!executed) { MqlTradeRequest mrequest; // To be used for sending our trade requests MqlTradeResult
Can anyone explain. I use an EA and VPs? It says connection lost.. for as long as it says “Network” the connection is lost? And once it says “trades” the EA reconnect again ? For 16 ‘ I was off or I wasn’t
symbol GER40-JUN25 in broker. When the chart is opened on the daily timeframe it goes all the way back to december 2021 when i poll for ticks the broker stops me up to 3 months ago , on march. when i poll for ticks on GER40-MAR25 which has probably existed i get error #4401 history not found. Is
Hi... anyone know where I can find this( Periods . mqh ) header file, cant find it anywhere and its used on an example to find objects so wont work? Its on an example on here in a include file... #include < MQL5Book / Periods . mqh > , but cant find it. I've searched high and low, even searched <
Hello all, I have been trading the Forex market for 4 years and I need automated trading strategies due to a change in my employment status (and I'm not a very profitable trader and need a change in direction.) I am looking to find out if anyone has past/present experience or considering automated
Hi everyone, I’ve been working on a small-account trading strategy specifically for XAUUSD on the M5 timeframe . It’s fully automated, but I’m not here to promote anything – just genuinely curious how experienced traders would approach this kind of model. I’m testing the following principles: Very
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.