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
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
Hi guys i have a database sqlite structure: CREATE TABLE "Trade" ( "id" INTEGER, "ticket" TEXT, "symbol" TEXT, "price" TEXT, PRIMARY KEY( "id" AUTOINCREMENT) ); with this data : 4 22117593 ETHUSD 3907.30 ; 3914.14 i want
Hi all I have finished an EA, I want to use it for my demo account for all symbols with timeframe M15. Is there an easy way to do it ? I don't want to open the symbols and drag and drop the EA to them one by one Peter
Hello everyone. Recently I optimized my Expert Advisor (EA) with the Fast Genetic Based Algorithm tool, I set an inicial balance, start date, end date, modeling, symbol, time frame and delays, I chose the parameters I wanted the tester to modify, when it finished, I selected a combination that shown
I have built a function for my bots, basically when you optimize and then backtest one good setting, it prints the settings like this 100,t,f,234,t,f,0.1,4,6,7............ etc Then on the ea i have an overide box, if you insert this code >>> "100,t,f,234,t,f,0.1,4,6,7............ etc" it overides
Could you please tell me how to properly apply copyright if the source code consists of several files? For example, the source code is split into ~20 mqh files, and .mq5 is just a wrapper. Should I write some comments in each mqh file (I hope not)? Or will it be valid if I add some LICENCE.md (I
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.