Hello all, I am getting these messages "no real ticks within a day" in the Journal tab when running a EA test. It happens with EURUSD, XAUUSD, USDJPY, and more. It happens in two different computers (one running Linux and another one running Windows) It happens for any EA I tried. It happens while
Hi everyone, I’m trying to get 1-minute candle data for XAUUSD covering the last 20 years, but MetaTrader 5 only seems to provide data for the last 2-3 months. I’ve heard some users might have accessed longer historical data or something. Can anyone share how they did it? Are there specific
Hi all, I've been searching through the MQL5 documentation and forum, but I can't seem to find a way to programmatically control the screen position (X, Y) of chart windows in MetaTrader 5. I know that we can control the chart size using: ChartSetInteger(chart_id, CHART_WIDTH_IN_PIXELS, ...);
Hey everyone, I'm running Python 3.12.5 and trying to get MQL5's MetaTrader5 installed and running. In an empty venv (I purged the cache just to be sure), I use 'pip install MetaTrader5' which installs the package and also installs it's one dependency -> numpy. So my virtual environment has just
Hi I'm trying to upload my Expert Advisors for Market. However I face error with automatic validation. no trading operations error 131 ERR_INVALID_TRADE_VOLUME I visited the page of how to fix but I don't understand &description that is in the function. bool CheckVolumeValue(double volume,string
Can someone assist me in understanding what I might be doing wrong that is causing the issues with the progression in strategy tester. It seems to get hung and won't progress to give me results. See attached. Any guidance would be greatly appreciated
Hello everyone, I'm facing a recurring issue while running Expert Advisors (EAs) on MQL5 VPS, and I’m hoping someone can shed some light on what’s going wrong. Everything starts off working perfectly — my EA is attached to the chart, synced to the VPS, and trades are being executed regularly
hi guys, I think I have an issue with some of my codes specifically when i upload them on telegram and then re-downloading them after a while like 2 3 days, on telegram and windows that file's size is 44kb but when i open in metatrader editor there is nothing inside. how this is possible
Hi Is there a way to optimize an EA without any fees ? to be able to see if a strat has an edge, regardless of the fees (that skew the results) I know you can in MT4 (just set zero spread) but I wasn't able to do it in MT5. thanks Jeff
Hello. I've just updated my MT5 to 5.00 build 5120. I'm running it with /portable When I start strategy tester I get this error (on every symbol, every date range, local agents, remote agents, whatever) When I run without /portable it works fine. It doesn't even create the Tester or
Hello! I have a problem when backtesting a custom symbol "GER40". When I do a backtest, the first trade opens but printing some errors (log attached below). This error makes the visual test freeze for some seconds and if it's not done visually it still appears in the log of course. The error says
Hello guys, my problem is MT5 MIX all trades from all timeframe that each bot make from charts.Ex. EA trade on char 1" 100 DEALS and same ea on chart 3" 200 DEALS,with other magic number. Thanks and please, let me know if there is a better way to treat this problem (using chart)
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
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.