[Deleted]
Hello, OnTick, the EA starts executing its code, but before it completes executing the full code, the next tick occurs. In this case, what will happen? Will the new tick be ignored until the EA completes the full code execution, or will the EA’s operation be interrupted in the middle by every new
I am currently generating very low profit on MetaTrader 5 Strategy Tester Agent despite having a high-end setup. I have eight computers equipped with powerful specs including i9 13th Gen, i7 13th Gen, and i5 13th Gen processors, each featuring 16 GB graphics and 64 GB RAM. All systems run 24x7 with
CopyRates freezes when switching timeframe, in this case from H1 to M15 for 60 seconds. As far as I see, it happens mainly when an indicator in the same chart with the EA accesses the same bars data. Its surely not a coincidence, that the DST changed today in Europe, while the servers DST did not
Comments that do not relate to the " _rdb_The Best Free EA ", have been moved into this topic
Hi guys anyone know why in this script if i push a button for take snapshot not save nothing inside a default folder File ? //+------------------------------------------------------------------+ //| riskrewardbox.mq5 | //|
Can someone provide me with the Matrix.mqh and Vector.mqh files for MT5? When I install MT5, the files aren't included
Now I have the EA which handles multiple symbols but share the same pocket. Now I want to integrate portfolio management but I don;t know hw it should looks like. For example I have symbol A,B, and C. Each symbols use separate pocket, whcih is calculated by the initial balance. Let say from 100,000$
Is there a way that I can add columns of info in the Visual Backtest screen on the bottom? I wanted to add PROFIT and LOSS columns for the trades that it shows executing
Hi, In compilation process of MT5 EA, I got "Code Generation Error" at Line 1 Column 1. I have fixed other errors and warnings before this error. I can't figure out where to fix. What are probable causes of this error ? I have been trying to convert an EA in MT4 which runs without errors to MT5. I...
string currencyNames[] = { "EUR" , "USD" , "GBP" }; double EurBuff[ ], UsdBuff[ ], GbpBuff []; the code above is an example of the variables I need to link in someway to avoid the time wasteful case statement below Like bool SetIndexBuffer ( int index, // buffer index
I'm not sure I should have created this topic, but it's never too late to delete it😁
Since we deal with different timezones to convert between local time and chart/server-time, we need to define rules in the code. The timezones are just one thing which is easy, but the DST rules are another. Based on my experience, it does not matter where the brokers-server is located, the DST rule
Hi all, Have access to some external indicators ( developed+ downloaded ) which I would like to create an EA with. When I use iCustom, it required the indicator .ex5 to also be present on the users computer. However, if I do not want to share the indicator files, how can I load in those indicators
Hi, the function in general works, but since the usage of the function results in unacceptable lagging of the whole EA when frequently used, it has to be called a bug. And its not new, its there since years. MQ doesn´t fix it. My procedure: Whenever the chart changes, I collect all the chart data
I'm seeing that events from OnChartEvent seem to work in the Indicator strategy tester , but it doesn't seem to be the case in the EA strategy tester. The events from an EA code script are working correctly on a chart, but not inside the strategy tester in visual mode. The goal is to simulate manual
Hi, some of us use the timer to check chart settings for synchronizing etc. I figured out, that some simple executions of ChartGetInteger() can produce a drastic delay of up to 100ms already already in this simple sample. Problem is as usual: Once you use such a timer and you have 10 Charts opened
is it possible to pass validation if my ea suppose and meant to trade only daily tf and only 1 asset? someone maybe know how i can pass validation without getting those errors i get in the file i share
I frequently use custom symbols, as I prefer downloading data from reliable external sources rather than relying on data retrieved directly from the broker. I appreciate the ability to programmatically create and update custom symbols using the MQL5 functions designed for this purpose. However, the
Anyone here have any experience build EA/Indicator that detect ranging market using price action? If yes what would be the most efficient way to detect ranging market using price action
My EA is failing the automatic validation, please help
As a US based trader, I am limited to 1:50 leverage. The algos I’ve looked at require 1:500 leverage to work correctly. Are there any algos for sale that work with 1:50? Let me know
Good day! I have a DLL in which the process std::jthread(…..) is called. This function call in OnInit . When calling this function from an MQL program, it is possible to set the execution frequency in seconds. The termination of this function occurs after calling the monitorThread.request_stop()
Hi friends, I got a newbie question to ask. I have just gotten myself an EA and had set up VPS etc for it. So in my VPS, i only got 1 chart open, with 1hr TF. But will i be open to open another chart for the same currency pair, attached the same EA, but have a different TF? Thank you
Hello, I'm opening this discussion because I have some additional questions about how MT5 handles optimization. Here’s my situation: I’m running backtests on Local Farm in MT5. I’ve heard that the maximum number of possible combinations for an optimization is 100,000,000. However, when I have more
Hi. So I coded a basic EA and want to add an MA filter to it to see if it performs better. I'm running into an issue, though. When it tries to copy the values from the indicator to the array, it fails, with error code 4807 for invalid handle. The weird thing is, I check to make sure the handle isn't
When uploading an EA to the market, it fails validation due to invalid volume error: test on EURUSD,H1 (netting) strategy tester report 22 total trades test on XAUUSD,D1 (netting) log files size exceeded 2080 MB, test terminated 2022.04.11 15:39:28 failed market sell 0.15 XAUUSD, close #47 buy 0.15
Sir / Mam, I don't want to get the 1st and 3rd Values in the ZigZag indicator Because I want to get the 2nd Value for the stop loss in a buy trade. How to get the 2nd Value of the ZigZag indicator for the stop loss in a buy trade? Please solve this code 👇 // MQL5 Code double Zig_Zag( int
Hey guys, I sometimes see jobs in freelancing section, like decompile this or that EA. Example from recent jobs: [job request link redacted] I thought that now it wasn't possible to decompile ex4 or ex5 files. But I see a lot of developers still applying for jobs like this. So I'm just curious if
In the Validation state: it says error....automatic validation was done against EURUSD but my EA is customize for Gold only. how to resolve that
I’m using an EA developed by someone else, but the problem is it prints logs excessively, which makes my hard disk fill up very quickly. Does MT5 have any function to limit log writing — like at least make it print on screen but not actually write to the HDD
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.