Expert Advisors and Automated Trading

Let's look at the results of the tests on one and a few characters. The tests will be conducted in All ticks mode. You can use your own multisymbol EA schemes to reproduce the problem and share your results. Let us denote the problem. For example, if you test one symbol, the test time takes 1
  Python in algorithmic trading  (235   1 2 3 4 5 ... 23 24)
MQL5 is a programming language that is specifically designed for creating high-performance trading applications in financial markets. It offers faster speed and superior performance compared to other specialized programming languages used in algorithmic trading, and its syntax is similar to that of
I thought, why not make a good reference thread . In it I would like to cover the most important questions about the work of markets, liquidity providers, MT5 platform, which are asked not only by beginners. Приглашаю всех желающих, у кого есть какая-либо интересная и редкая инфа излагать её в
Hi MQL5 Community, I'm working on an EA specifically for XAUUSD and running into some interesting challenges that I'd like to discuss with fellow developers. The Technical Challenge: Gold's behavior differs significantly from major currency pairs. While EUR/USD responds predictably to technical
No further information, impossible to debug, since it happens with indicators when the profile is changed and when the indicator terminates. And it happens after everything is already shut down, like IPC connections etc. Next problem: It happens sometimes. Randomly. Any ideas? Source code is
Running 2 EAs on MT5 via VPS. Recently had one go quiet for about 3 days — no crash, no errors in Experts or Journal, smiley face still there, terminal connected. It just stopped taking trades. I only found out because I manually check the accounts every few days. Could easily have been longer
Hi all I am an IT guy and just finished my first EA using breakout stragety and it is working on my prop firm account. I want to start another new EA, any strageties are good ? Hope some experienced traders can help this IT guy. Thanks Peter
Hi guys, Hope that you are well. I have 5 MT5 terminals running, but for some odd reason in the last two weeks 2 of the terminals with similar EA's have stopped working. I am not getting any bad report or anything...I installed a new Terminal and reinstalled the EA's, it is still not working...all
I might want to calculate the value of all closed positions within a given period. /* * Pick up profit so far today for all deals that have completed, for all EA's * for a specific magic # & symbol. * * Parameters: None * * Returns: profit as a double, 0 on none found or error. * */ double
  Loss recovery  (1)
Hello, Can I copy the next trades with double the volume to compensate for the first trade that was a loss in the signal channel, using any Telegram copier? Does it have this feature? Which tolls?? What is website address
Hello All, I am working with a friend on an EA; I design & write the code (what could go wrong? 😂) and he investigates trading scenarios. Our two minds are very different and up to a point it works. However we have recently encountered a problem which I had handled badly in the code 😳 - and I am
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
Hello wondering if there is a profitable EA on the MQL market or have they all got a alternative motive. I mean lets face it, if someone had a EA that was profitable, why would they sell it. Very basic discussion but funny enough it may raise some concerns. I have had many EA's from over a period of
This is with version 5.00 build 5998, I have reason to believe it has been existed for a long time before. After compiling, hovering mouse on log entries opens a pop-up which shows more details. That is especially useful for checking the exact location of include or source files, as sometime
Environment: - MetaTrader 5 for macOS (native MetaQuotes Wine wrapper) - Wrapper build 5.0.5834, terminal build 5833 - Wine 11.1, winemac driver - macOS 26.5.2 (build 25F84), Apple Silicon (arm64) Bug: After a Strategy Tester backtest in Visual mode finishes, the MAIN terminal window is
Hi, Just as the title says is it possible to create an MQL5 file of an expert, I only have ex5 file which is also account restricted. The guy who gave it to me is no longer accessible. I know all the parameters on which the EA works, I want to try it on different accounts with different capital size
Hi everyone, I'm working on a custom tool that needs to calculate position sizing based on risk percentage. My tool needs to convert distance (in Points/Pips) into a monetary value (e.g., how much $ I lose/gain if price moves X points). I've been using MarketInfo(Symbol(), MODE_TICKVALUE) to do
Dear all, This function in my EA work in tester but not in demo and live, please help. It return the deal of 2 hours before divided by minimun lots allowed. e.g. 2 hours before the deal in was 0.05 lot, then it should return 5. Use the CODE button (Alt-S) when inserting code. A moderator
I was testing an EA that a developer put on the codebase for trading Gold ( based on Keltner channel and EMAs) . Here is how the backtest looked on "Real Ticks" modelling: Here is how the backtest looked on "Every Tick" modelling for the exact same setting, same leverage, and same time range (same
Hi everyone, I'm currently working on a trend-following EA, and like many of you, I'm struggling with false breakouts during market consolidation (flat markets). To solve this, I coded a simple filter that checks the dynamic spread between two Moving Averages and ensures the current candle body size
Hello everyone! I am developing a trend-following strategy. The working principle is quite simple: there is a base moving average (indicating the trend direction) and additional filters - moving averages on several timeframes - the price closes above the filters on the working timeframe - it opens
The strategy that I am currently developing performs very well in the strategy tester, but when I do forward testing it fails. How can I shorteh the gap between strategy tester data and forward testing
how to fix this wrong closing prices problem ? i has many of that in my account random closing prices not the take profit price target ? what to do
I just want to share this, in case others struggle with OrderSend(request, result) ... like I did today. Wrote a little EA that helps setting limit, stop and market orders by calculating lot sizes on given stop level. Everything worked fine besides the market orders ORDER_TYPE_BUY, ORDER_TYPE_SELL
Hi guys, I've created my first ever EA. I saw the red color message about bad description. Can anyone give me some advise how to fix it and tips for boost the ranking ? Appreciate your time and advise
  Emulate Slippage  (6)
Hello, When I click on "Emulate Slippage" at MT5 backtest, I dont find setting relate to slippage emulating, can someone shed light on how to set this
Hello everyone, I've been trying for a year now to develop an automatic trading algo using a neural network as a model and level 1 data (open, close, high, low candlestick prices) and several technical indicators (14). I retrieved this data in a 1-minute timeframe using mql5 scripts that I devised
What is MQL5 Wizard : The MetaTrader 5 Trading Platform includes the MQL5 Wizard , which allows to quickly generate code of an Expert Advisor (Expert Advisor builder). With MQL5 Wizard, knowledge of programming languages is no longer a prerequisite for creating trading robots . In the past, it
Dear Members, Microsoft recently launched its own Linux distribution (Azure Linux) after recognizing that Linux has become the dominant operating system on its Azure platform, far surpassing Windows itself. This suggests the beginning of a long-term strategic shift toward Linux. Some may argue that
  Starting a new EA  (16   1 2)
So my name is Christoper. I am from Scotland. I have recently started trying to design an EA to get off a building site. I am an engineer so trying to adapt that and to a different part of life get me off this building site I have recently created a EA that has 1.79 profit factor a drawdown of 0.40%