Hi, my EA seems to have a memory leak since after a while it crashes with "out of memory". How can I figure out which statement in my EA consumes memory and does not release it afterwards? In my EM I have a function which is frequently invoked and which contains the following code:...
Hello,
I have found specific EA's available. I would instead like to specify myself the use of a combination of various existing indicators for an EA with multiple pairs. Is such an general format EA available where I can plug in the already existing indicators so as to come to an EA? That would be...
Hi,
I am new to using MQL5 for autotrading and I have had the same issue a couple of times now, I am setting up Demo accounts to copy so can set the leverage and balance to whatever I want. I have tried adjusting the % up and down but every time I get the same error.
Is it to do with the...
How come there'll be a slight delay when im receiving copying the signals fro the provider and how can i fix it? :)
I am waiting ATC 2013. When does it register?
1. a user wants to be signal provider , a MQ signal provider with 3 different symbol suffix type in a account, how will it work? 2. a user who have 2 type of symbols suffix, (e.g. EURUSD and EURUSDm) which symbol will be executed
Hello everyone, I'm new to following signals/metatrader 5 and although i have found answers to most of my questions online I still have a few points that i would like to ask :) My question is this, when i tried to follow a signal provider I got the following message
[Deleted]
The Strategy Tester sometimes shows significantly different results depending on the account where an EA is executed. Could someone please write down a list of reasons for this phenomenon? Thank you a lot in advance!
[Deleted]
I just hired a XXXXX {Mod edit} . I would like to protect my EAs using some type of cryptography for example, I don't exactly know, or something. What do you recommend to protect your EAs on servers that you do not control? Thank you in advance
Please let me ask some question about signal service here: 1. Lot size of the copy account: is it the same or different from that of the source account ? 2. Slippage 2.00 x 13 . What does "13" mean? 3. The fee is Prepaid or paid at the end of each month ? Do I have to pay even if loss ? Notes: if
Does the computer need to be on or the MT4 app open for me to receive the automatic Signals from my provider? Or can I leave it off for days and it will conitnue to buy and sell.
Thanks.
ps. who is the best sig provider on this website?
[Deleted]
Hello there!,
Suppose we have a fairly sophisticated EA where you need a special screen (GUI, Graphical User Interface) for the user to input a number of data. What do you recommend to facilitate the user the input of those data? Has MQL5 something to program GUIs?
Thank you in advance!
hello I am using a expert in MetaTrader 4 and I need it to use it in 5. I used a converter here xxxxxx. and it has an error and 2 warnings. OnDeinit function declared with wrong type or/and parameters 150 6 '}' - not all control paths return a value 144 1 implicit conversion from 'number' to...
I have an EA that passes a SQL command to a Microsoft SQL Server instance to execute a stored procedure. The stored procedure takes a few seconds to process and then produces a text file. In a live environment that should not be an issue, but when testing in Strategy Tester it is an...
This is not working
Print(" variable is: ",GlobalVariableGet(GlobalVariableName(0)));
the output is
2013.07.26 12:00:14 Core 1 2013.07.24 23:59:30 variable is: 0.0
despite these being set in the terminal.
How should I be calling them?
[Deleted]
Hello.
Is it possible to use spreads during optimization/backtesting?
I can see that the spreads are loaded in historical data when watching the visualization but the strategy tester doesnt consider the spread.
I am testing various EAs,
with and witout Optimization, also with and without using the Cloud services.
It appears that the older years (1999-2003) are MUCH faster than recent periods (I am testing M1, every tick).
It is like the last month takes as much time as 5 years.
Any explanation?
[Deleted]
Should I do this or should I not?..
If you are able to quantify the probability of a particular event you can rely on random numbers to take decisions. Here goes a coin toss example where you can decide the probability (from 0 to 100) to get heads. You can add the following method to the class...
I have reached the point where I need to move my EA script up to a cloud server, but since I am utilizing Microsoft SQL Server I do not know if an MQL cloud server will suffice. Is there a way to have a SQL Server instance installed on the MQL cloud server or do I need to use a different cloud...
Hi,
I am sending with an EA a BuyStop order, when testing, it gives always the error
CTrade::OrderOpen:Invalid Filling Type
Code is (utrade is created fom CTrade of course):
void U_Go_BuyStop(){Get_Values();D_Ask=G_Ask+D_StopRange;uexp=TimeCurrent()+max_pending;utrade...
Hello, as I am new to this forum I 'm not quite sure if this is the right category. If not pls move it to the right one.
I'm looking for a script that allows me
1. To set more then just 1 TP (I need 5-10) per order
or
2. If the order hits the s/l all pending limit orders should be automatically...
I am kind of stuck! :(
I am using the example for OOP in one of the articles here.
It is clear how to create a class, but how can I use it?
In the MyDateClass example, several DateTime variables are declared (as int).
But how can I use them later in the code?
I managed to use classes where...
Hi,
I posted a job few days back. This person agreed to it and started implementing it but all till date i get is wrong code which is worthless and i don't see a way that i can reject this person the job and make the job open so i can get someone responsible bidding for same.
Earliest help would...
Hi
anyone can help me on this 'no price" error(err code = 10021) when i send my order using Ordersend().
when this "no price" error occur, do i need to delete the old order and resend a new ordersend() or i just wait for it to fill up by the system ?
thanks
Is that possible to analyze multiple charts using just one EA?
I wan't to create Expert Advisor, that could analyze multiple charts, for example, USD/GBP, USD/EUR and so on. But it is very important that I use just one Expert Advisor. Is that possible? Or I have to write complex indicators to...
On MQL4 it was not possible to use Optimization with Trendlines (after creating then with ObjectCreate and then reading out their values).
It was possible to use the tester, but not with Optimization.
Is that possible now in MQL5?
Dear experts,
Since I'm a beginner, I don't have enough information about the possibility and cost of what I want to order. In addition , I don't know if it is a difficult task or not.
Actually I have an idea which I want to test it via MQL5 script for my research. please help me about it and...
Hi guys - I need assistance in developing an EA, I live in Sydney Australia, anyone know of any local talented developers I can work with to make this happen. It is a straightforward EA using moving average, stochastic and MADC - ideas on what it should cost me would also be a great help
Hi community,
I developed my own trail-Stop function in addition to my already working trading class and now got the problem that i wont work.
When it places a Stop for a Buy-Position, the SL shots past the current price and the position closes and in case of a Sell Position simply nothing happens...
Hi,
I've got trouble concatenating For Loops, this is the nearest previous step that doesn't give me trouble:
#define f 20*10int h = 0;char ar1[f];char ar2[f];int OnInit() {//--- for(char i=0;i<20;i++){ for(char j=0;j<10;j++){ ar1[h]=i+1; ar2[h]=j+1;...

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.