Analysis of test results and optimisation in the MetaTrader 5 strategy tester
(222 1 2 3 4 5 ... 22 23)
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
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. Приглашаю всех желающих, у кого есть какая-либо интересная и редкая инфа излагать её в
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
Hello, wondering if anyone could help out, im trying to code my EA in Mql5 but i get this error, Any help on how to resolve this. Thank you in Advance Note: The starthour and endhour are already defined Part of the Code concerning time... void OnTick () { datetime currentTime = TimeCurrent ();
Artificial intelligence (AI) is changing the way we buy and sell in the stock market. This discussion is about understanding how computers use AI to make quick trading decisions. We will look into how AI can spot patterns in the market, make predictions, and decide when it’s a good time to trade
[Deleted]
Hello everyone. I would like to call upon every worthy programmer and trader to a crucial mission. A scientific project of a respectable standard, with the aim of easing the developing MQL programs using every tool available. A good start would be creating a public project then let anyone willing to
How can I count the number of rows of a table in a database X ? I used the following code but it does not work: int x = DatabasePrepare (db, "SELECT COUNT(*) FROM newdb" ); Comment (x);
Dear All i was trying a trading strategy to buy or sell all the USD Currency pairs together, i only check the daily strength of the USD, then i take decision to buy or sell (open 7 positions), then i check after so many hours, sometimes waiting for days looking for total positive profit after that...
Hello I'm trying to build a multi currency ea that works in the mt5 strategy tester. i'm not a professional programmer but i tried i've read the articles on this website about that and tried but with no luck i couldn't understand the method because they use about 3-5 include files linking to each
Hi every body, I used to trade manually since many years. But today I want to automatise some of my algorithmics systems. Is it possible to create a robot who can manage 20 or 22 instruments on a single account, with the possibility to calculate the quantities according to previous results ? Thanks
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
Right now I'm studying how to use AI to convert my ideas into an EA in MQL5 language. Has anyone had experience doing this? I'd like to share ideas. Currently, I'm interested in using Cursor, QODO, MT5 coder. Has anyone used any of these before
I am developing an EA to trade breakout, the risk- reward is 1:1 (I have tried different RR ratio but they almost got the same result in the long term.) How to avoid false breakout ? It mainly work on XAUUSD , US500 on timeframe M5. Thanks Peter
Hello, I would like clarification on MQL5's market depth behavior. I am developing an expert advisor that reads market depth data using MarketBookAdd() and MarketBookGet(). The same diagnostic EA works correctly with other brokers, but it doesn't work on my IC Markets MT5 live account. environment
Hello, I found the following message on one of my products: "Product rating lowered for bad description" I have already read the guidelines regarding Bad Description , but I have not been able to identify the problematic part of my product description. If the issue is not obvious, is there any way
As I run optimization test ,get result and run single test result not match the result. Get huge deviation, not sure it's optimization get error or single run get error. It's so confuse me. I do lot of tests base on this version code,over one month. MT5 base on version 5, build 2981. Always skip the
Hi everybody, I downloaded the demo of an expert advisor. But when I do the backtesting, then changing leverage or candle-times has no effect at all. The results are always the same in the backtest. Is there a general advice, how this can be explained? How do I know, which leverage was simulated in
I’m developing a private MT5 Expert Advisor and I do not want to share the source code. I’m looking only for architectural feedback, not strategy optimization. The EA uses a hybrid approach: SARSA/QTable plus rule-based guards, position protection with BE / trailing / StepLock / GBP profit
Hi all, Working on a directional filter for a systematic XAUUSD strategy. Need feedback from devs who've built trend-filter logic, not on my system architecture. Setup of the filter : I want to refuse entries when the price is in a clearly opposite trend context — but not be so strict that I miss
Great! Now before you come after me because of the title, please hear me out first. I got into programming EAs and when I heard the words "magic number", I was intrigued and wanted to know what they represented. So I looked up some codes on codebase and the forum and my conclusion so far is that it
I set myself a task: to demonstrate the capabilities of custom graphics via CCanvas class in a short code. Here's what came out of it. This script works in both MQL5 and MQL4. But it is much faster on MT5. Each frame is unique and does not repeat, i.e. the script is not cyclic. #include
my code below just prints best/worst equity when these are breached. And when equity hits X then closes all trades. This worked fine for oever 3 months til my lateest update 5833. i dont know if this is a bug or is my amateur coding. Here's my coding below. If you see anything that is wrong or can
Hi, my understanding of logic regarding this event is, that it is sent when the chart changes. But it does not in many circumstances in MT5: 1. User changes the scale from normal to fixed scale 2. When bars are growing and exceed the current price scale 3. When the scaling (zoom) is changed These
Is there a way to find out how many open trades i am allowed on my brokers account without having to contact them
Hello everyone 😊 , I am developing my first EA, which is built for myself. My background is an architect, so I designed it using my experience as an architect + trader + my requirements to create this EA. However, I have no background as a developer and still have a lot to learn. I am here to
gidday. i want my script to work on forex pairs, all trades, from all forec symbols. My script below is working on both usd and aud deposit accounts, but only on BUY TRADES. help! I want all my trades have an sl that is equivalent of $350
this script converts the chart's ticks into any Second(s)timeframes !!! the Script works only for XAUUSD, you can modify it to work with other pairs or other names of Gold pair. Example custom periods: S5 S10 S15 S20 S30 S45 S50 Once the Second(s) chart is generated, you can apply almost everything
Metatrader 5 build 5833 Webrequest is used to send requests to LM studio. I have no problems on Windows 11. But the client on Windows 10 reports such a problem: I did a few more timing tests and can now say that the problem with the HTTP/HTTPs POSTs is that HTTPS is used if a job is after 2 minutes
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.