Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal


MTS Neural network plus MACD - expert for MetaTrader 4

| English 日本語 Русский 中文 Español Deutsch Português

votes: 4
2008.11.17 07:24
2015.05.12 12:28

Greeting to all community! I wish profits to all Championship participants!

I attend the programming not for the first year, but I'm a novice in your Community, the Community of writers of the programs for the financial analysis. So I will be glad to see a constructive discussion. You can praise (it is always pleasant) or you can even abuse (but only ad rem).

This is my first EA from the series "МТS based on Neuro network".

Instantly, I want to thank Yuriy Reshetov whose publications on this website helped me to apply the theory of neuro nets for writing the MTS.

For those who are not familar with the neuro nets I suggest to read the article:

The method of application and training the double-layer neuro net is perfectly described at the page:

I want you to draw your attention that here I am representing the "engine", i.e. the "skeleton" of the MTS, which functionality can be thickened, i.e. you can use another indicator or a group of them instead of MACD, you can perform additional optimization of them and so on. But the most important is: not the mutual exclusion of the signals from the neuro net and from the indicator (i.e. if the signal from the neuro net is neutral then we use the indicator), but their combined application for the analysis of the possibility of opening a position.

P.S. In my opinion, the best results are on the H1 of the main currency pairs. However, create, try and so you will find your "golden grail"! :-)

Translated from Russian by MetaQuotes Software Corp.
Original code:

EA Based on Trend Follower EA Based on Trend Follower

The EA is based on the "Trend Follower" strategy.

Will-Spread Will-Spread

Larry Williams indicator. It considers the influence of the secondary market on the trading market.

mysqlerror.mqh mysqlerror.mqh

A library of MySQL 5.0 error codes If you use a connection to the MySQL database in your EA, indicator or script and it doesn't work or something goes wrong then this library will allow you to find out what error is returned by the MySQL database.

LotsRisk LotsRisk

The calculation of the amount of lots considering the possible loss. The maximum loss volume is specified in percents of the current balance.