Expert Advisors and Automated Trading - page 7

I rented a new VPS for my account from MQL5, I do this all the time, but this specific VPS seems to be faulty. When trying to migrate I get these errors: 1. Not enough handles to start the platform 2. Authorization failed 3. Initialization failed (10053) Eventually it does appear in "Started"
Hi, I have two MT5 EAs that works on different symbols and i dont have access to the source code. I know that MT5 strategy tester can test one EA at a time. Is there a work around to backtest the two EAs simultaneously on one account? Thanks
I'm getting complete opposite result when testing on every tick or 1min OHLC. the EA and input parameters are exactly the same but in the case of 1min ohlc I get 50000 profit while in every tick I get -7000 losses. this happens on many pairs testing on a period of 2 years 0811-0813 someone have had
So I'm making a system that automatically select Moving averages for further analysis. So far I can load up a bunch of 10 MAs that visually looked good for the recent data I visually tested. But I need this concept to work independent of MAs I choose. Bacause market regimes change and different
I'm running an "All Market Watch symbols" optimization in MetaTrader 5 using a .ini file via the command line. The .ini specifies a single symbol (e.g., symbol=EURUSD ) and runs without error. However, the XML report that should be generated after the optimization is completely empty — it contains
A must ! Before using it or asking any question : please read the Online Help (Also accessible by F1 on your MT5 platform) Strategy Tester For Traders General overview of the possibilities. Overview of results : Visualize a Strategy in the MetaTrader 5 Tester The general information about
I want to share this. https://youtu.be/_FuuYSM7yOo?si=JiKiHDWCozLYXHK3 Maybe we can build a function for this
I was scouring the internet for inspiration for my next project, then I came across several claims that they can provide indicators that work on mobile. I was curious because the best bet to get signals on mobile is setting up the indicator on a pc terminal somewhere with the signal account, then
Hello Guys When I place a trade on MT5 Mobile App then Stoploss and Target Price values are showing with USD and Points but when i trade on MT5 Desktop Terminal, the values are not showing in USD and Points. I have Posted this Topic 1 week back but nobody guided me properly. for more details of the
problem about the EA A problem was found when I back test the EA, the pictures show that the program can not be run and i can not found the reason, someone who can help me
Hi all, Moderately experienced VBA Coder just getting into Forex and MQL5 coding here. Novice level MT5 user and coder, I can mostly follow the code done intuitively but there are some structures I struggle with (compounded by the usual issues of reading someone elses code). The guy I followed in
  Random order functionality  (13   1 2)
Hello, I'm trying to create an Expert Advisor (EA) that can generate random BUY or SELL orders, and I'm using the following for this: // Generate random number (0 or 1) MathSrand (( int ) TimeLocal ()); int randomChoice = MathRand () % 2 ; So far, the EA has only placed 15 consecutive BUY
Hello, does anyone know what the lparam values mean after a CHARTEVENT_CHART_CHANGE event
I have an indicator running on M15 timeframe. I am selecting a 15minute bar [i] and getting the time of the bar. I am tring to use the time of the bar (rounded down to the nearest full hour) to identify the corresponding bar on the H1 timeframe. Its not working.... ANy help please. //Search bar by
Hi, I'm a little confused about what exactly these functions return. If I understand correctly: - iTickVolume returns the count of ticks used to build a bar. It is also passed by onCalculate with the "tick_volume" array. It's also shown in the data window as "Tick volume". Right? - IRealVolume
Hi, since I dont know when, I try to figure out how the z-order works with MQL chart objects and my conclusion is so far that nothing works, no matter which value I give a chart object and its always random. For example: The picture shows a pattern and vertical lines, this comes from a BitmapLabel
How to only use the first decimal place in a calculation without rounding up For example 0.9864693728 = 0.9
I am totally new here and trying to code something like a simple open and close. However the EA is hitting the TP it is not continuing with anything else in the code. The part of the code to check and close is not even triggered as I don't see the print messages in the journal. Can someone explain
"My EA works only on Gold symbols. On EURUSD it shows demonstration mode with no trading. how to mql5 test on XAUUSD or GOLD symbols to see actual trading performance."
[Deleted]
Hello, I noticed that MT4 and my Windows VPS get slower over time, and sometimes MT4/MT5 freezes. I suspect this happens because MT4/MT5 might be leaving large amounts of chart data, cache, or other files that keep loading, causing it to become slower and slower. I know it’s not a VPS problem
Hi, I go to Market > MetaTrader 5 > Experts > Free. I click on a Robot. In the left section there is a DOWNLOAD button. Once I click it, there is a prompt - "Do you have Meta Trader 5?" I click on "Yes" and nothing happens
Hi, How does it work, if we sell EA in the market how does the charges work. Is it one time upload charge that we have to pay or it will get deducted monthly repeatedly. I have developed an EA and want to upload for selling and I have USD 125 and kindly let me know on the same
Hi, i would know if there is any correlation in Tester about "modelling" option and timeframe option. That is, can I be sure that if I choose the " real tick based on real ticks" modelling, I will get the same ticks regardless of the timeframe chosen? I ask because I tried running a test on M1 and
How can I edit the What's New Description in the Product
Hey everyone, quick note first: This is not an ad. I’m genuinely curious how you use AI (Claude, Gemini, ChatGPT) in your MQL5 workflow to speed things up and reduce errors. I’d love to start a standing “Chatbots & Workflow” topic here—sharing real prompts, practices, and pitfalls. I’ve been coding
Hi All, I tested a EA and it is working fine in DEMO account . But it is not taking trade in Live Account. I am using [redacted] MT5Real. Kindly help me on this Hi All, I have 2 EA's tested in DEMO account and now loaded in [redacted] MT5 real account. Only one of the EA is taking orders and the
Hello everyone, maybe someone had similar problem when installing the Meta Trader Strategy Tester on virtual machine. So let me tell you in short that the problem is. I have a dedicated server from Hetzner . On that machine I have installed The Proxmox to easily install the OS that I need. I
I’m running MT5 backtests through the command line using a .bat and .ini file. Everything works — MT5 opens, runs the test, and shows “saving report…” window dialog — but no .html report is ever created in the specified directory. I’ve tried: Using /config: with full paths Different report names and
Hi there, Probably a really simple way but is there anyway to extract the result data from backtesting in MT5 into excel? I have backtested an EA over 2 years and have over 100 trades. I want to extract the buy and sell price of those trades to analysis. Any help would be much appreciated. Cheers
  Invalid Stop  (2)
Hello Can you kindly review my code and advise the cause of the invalid stop error. Please see the code below. Thanks #property copyright "User" #property link "" #property version "1.00" // Include necessary libraries for trading operations and indicators #include <Trade\Trade.mqh> #include