Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Vues:
12326
Note:
(46)
Publié:
2013.10.30 11:23
Mise à jour:
2016.11.22 07:32
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

An example of a multicurrency Expert Advisor that uses the loop, where each iteration is responsible for trading each symbol separately. 

In order not to depend on ticks of any of the symbols, the OnTimer function is used for event generation.

Values of Bollinger Bands are used for trading.

The EA trades according to the following strategy:

  • Buy: the Ask price touches the bottom line of the Bollinger Bands calculated based on the low price.
    Close: the Bid price touches the bottom line of the Bollinger Bands, calculated based on the high price.
  • Sell: the Bid price touches the upper line of the Bollinger Bands, calculated based on the high price.
    Close: the Ask price touches the upper line of the Bollinger Bands calculated based on the low price.
  • Restrictions: only one deal can be conducted on one bar.

The presented code is only an example of how to create a multicurrency Expert Advisor. All the details of the program operation are described in the code.

Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/1862

Donchian Channel Donchian Channel

Donchian Channel is a volatility indicator based on the calculation of the current price range with the recent highest and lowest prices.

Any Pair Stochastic Any Pair Stochastic

This indicator is useful for correlation analysis and also for cross pair analysis.

ColorDM_361 ColorDM_361

A digital momentum in the form of colored characters.

Commentator Commentator

The Commentator indicator analyzes a group of technical indicators and displays information about the current state of the market and trade recommendations.