Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
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:
6036
Note:
(31)
Publié:
2011.02.02 10:58
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

The Expert Advisor allows to trade using the keyboard. The Buy, Sell and Close trade operations are supported. It allows to set/change: Trade Volume (lots), Stop Loss, Take Profit, Slippage.

After launch of the Expert Advisor, it will show the current parameters (Lot, StopLoss, TakeProfit, Slippage) and list of available commands (Fig. 1):

  • b - buy,
  • s - sell,
  • c - close,
  • i - parameters menu

Figure 1. Main menu
Figure 1. Main menu

In parameters menu the following commands (Fig. 2) are supported:

  • l - Lot,
  • k - StopLoss,
  • j - TakeProfit,
  • h - Slippage,
  • i and Esc - return to main menu.

Figure 2. Selection of input parameter
Figure 2. Selection of input parameter

When input parameter is selected, it will work in the input mode (fig. 3).

In input mode the following commands are available:

  • i - apply, if the value isn't specified, the result of "apply" is equal to Esc,
  • Esc - cancel (return to main menu),
  • BackSpace - delete last input char.

Figure 3. Input parameter value
Figure 3. Input parameter value

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

Multicurrency OnTick (string symbol) event handler Multicurrency OnTick (string symbol) event handler

This is the simplified implementation of multicurrency mode in MetaTrader 5. It isn't necessary to consider the details how does it work. It has minimum settings and simple structure. It can be used in Strategy Tester.

Nonparametric Zig Zag, Out of Price Walk Nonparametric Zig Zag, Out of Price Walk

Nonparametric zigzag. The monotonicity condition for the ascending segment of the zigzag: the High of the any subsequent bar should not be lower than any Low of the ascending segment.

TrendMagic TrendMagic

The Trend Magic indicator.

cIntBMP - a library for creation of BMP images cIntBMP - a library for creation of BMP images

A class for creation and output of BMP images.