Forum

How to know if some trading as made by human or EA?

I working with mql for a while and made some indicators and EAs. I notice that human made operations (press buy/sell button) are faster than EA operations (less delay between the action and the response). I always thought that it was only a mind trick, but I talked with a guy that work in a broker

MT5 has a jupyter notebook embedded?

I was configuring my MT5 instance and found a jupyter.ini file into config folder (C:\Users\user\AppData\Roaming\MetaQuotes\Terminal\FB9...6C1\config). I searched for some information about it in MetaQuotes docs and this forum but I dont found anything. Do you know about this file

It's possible to running EA in demo/prod in terminal mode?

There is possible do run the MT5 without the graphical interface and only start the MT5 with my EA in a terminal? Similar with the MT5 cloud. How can I do this

"no memory" when running genetic algorithm tests

I'm testing a multi stocks EA. When I run a single test, everthing works well and the EA consumes 2GB to run the entire history. When I active the generic algorithm, the MT5 was unable to run with "no memory" error. At the end, the MT5 says: "Tester 24 passes not processed and returned to task

Get the X symbols with highest volume in a week without crash MT5

I'm trying to get the 100 more transacted stocks of the last week (stocks only; no options; no indexes; no any other). To do this, I created the function below, but I'm unable to run the MT5 with it because in some time the MT5 crashs with unknown runtime error. When I call SymbolsTotal(false) the

How to calc corretly all the costs of a completed transaction?

I want to know how to calculate corretly all costs to open and close a position to be able to handle better an dynamic volume entrances. I search about this topic here, but It was very hard to find something useful. The relevant tools that I found were: To get margin from symbols

Update a struct in an array of structs

I have a array of structs and need to update some values there. When I update the values by reference, the struct is updated, but the struct in the array is not. I know that is a C behavior, but I was unable to find a good way to do this update. Do you have some way to properly update structs in an

Multicurrency syncronization problem

I Known that is a lot of information about the thema in this forum... some useful, some no so useful... but after some hours trying, I had to post my problem and my analisys here to better understand the problem and help so many poor souls like me... I have a multicurrency EA that uses the iATR

Is there any way for the EA to know what type of modeling is being performed in the test?

I have an EA what uses OnTimer and I want run tests more optimized. To do it, I though about use the OnTimer only in "Each Tick" modes and disable the timer to use OnTick to call OnTimer in OHLC and only open candle modes. I was unable to find a constant to show me this information. Is there any way

DRAW_FILLING Without intersections

Can I set the DRAW_FILLING buffer to not change the color to some "composed" by the colors of the buffers that are intersecting? By example: See the screenshot below. I have two DRAW_FILLING plotted, red and blue. When red intersects the blue, the resultant collor is pink. There is some way to make