Articles

Neural network: Self-optimizing Expert Advisor for MetaTrader 5

Is it possible to develop an Expert Advisor able to optimize position open and close conditions at regular intervals according to the code commands? What happens if we implement a neural network (multilayer perceptron) in the form of a module to analyze history and provide strategy? We can make the

Optimization. A Few Simple Ideas for MetaTrader 5

The optimization process can require significant resources of your computer or even of the MQL5 Cloud Network test agents. This article comprises some simple ideas that I use for work facilitation and improvement of the MetaTrader 5 Strategy Tester. I got these ideas from the documentation, forum

Forum

OnTrade() operates in mql4?

OnTrade() operates in mql4? Accustomed to mql5, I see that does not work in mql4... It's like that

Fann2MQL 0.1.5_x64 library: is not 64-bit version

Good afternoon: I write from Spain. I program in mql5 and I downloaded "Fann2MQL 0.1.5_x64". The code of the EA not error when I compile, but when running I get this messages... '\MQL5\Libraries\Fann2MQL.dll' is not 64-bit version Cannot load '\MQL5\Libraries\Fann2MQL.dll' Cannot call

Metatester Agent: agent arrested; How do I activate it?

By clicking the right mouse button on the window Metatester, choose the option to start but the agent still "detained". Does anyone know why

Real Account: purchase price out of High-Low Bar

The EA that I have real account and VPS performs operations when demand strategy but the prices are always outside and above (buy) or below (sell) price limits of the bar, as shown in the picture . High" alt="Price > High" style="vertical-align: middle;"> Does anyone know why this happens?. In demo

Handle indicator is wrong

I have several EA MT5 running on VPS. When I load the EA or modify properties of EA loaded in the chart and "accept", a error is generated: "Handle indicator is wrong"... and this so much with custom and standard indicators. The code does not give any problem in testing or optimization. The problem

Duration of an open position: full time, net time

If a position is kept open by weekend or holiday involved, how to measure the net time, real-time market that is open? If we use the following function we obtain the natural time but not the actual open market ... double tiempoMercadoPosic( string simb= NULL , mi_FECHA_HORA modo= _SEG) {

Multicurrency OPTIMIZATION: different results depending on the pair selected in tab "Settings"

The EA code does not fail. Specific "EURUSD, USDJPY, USDCAD, AUDUSD" as pairs of work and on the "Setup" is selected by default EURUSD: Initial balance $ 5,000; final balance Jan-June 2013 with 0.1 lots, $ 9,700. The same operation but selecting USDJPY tab: $ 10,700. Again selecting USDCAD: $ 9,995

Problem with the debugger: gives a message "Could not be Evaluated phrase" with any indicator variable.

Gives a message "Could not be Evaluated" with any indicator variable, even in indicators of well-performing gives as an example the MT5 platform. Bellow an example of ADX MT5

INDICATOR: GOOD START BUT NOT UPDATE AND GIVE VALUE ZERO IN SUCCESSIVE BARS

It's a problem I've found in almost all the designs I have ... Although the indicator begins but does not update and informs zero values ​​from the next bar after loading into the drawing. I give the example attached indicator: normalized ATR. The trouble is that when using the indicator in EA code

Are there any Spanish or speak Spanish? ... buffer problems downloading custom flag.

He says the moderator in English and not in Spanish ... I spent three months ago MQL5. Attracted by improvements in optimization and use multicurrency, I've been translating the EA that was designed as an excuse to learn MQL4 MQL5 and rebuild all the libraries I had in MQL4. All the problems I have