Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
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
Experts

AutoSLTP - expert pour MetaTrader 5

Publié par:
Vladimir Karputov
Vues:
6176
Note:
(27)
Publié:
2017.11.03 12:23
AutoSLTP.mq5 (17.54 KB) afficher
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Author of the idea: Vladimir Khlystov, mq5 code author: barabashkakvn.

This assistant tool sets Stop Loss and Take Profit for all open orders. Symbol settings, position type, Stop Loss and Take Profit are specified in an external file.


Requirement for the configuration file

The file should be saved as "AutoSLTP.txt" in [data folder]\MQL5\Files\AutoSLTP\AutoSLTP.txt


The format of writing to the file

A separate line is written for each symbol and position type. The format of entry:

[symbol name]*[position type]*[stop loss]*[take profit]


Parameters

  • [symbol name] - is the name of the traded symbol;
  • [position type] sets the type of position to be opened. It can be either "POSITION_TYPE_BUY" or "POSITION_TYPE_SELL".
  • [stop loss] - Stop Loss. Set as integer values.
  • [take profit] - Take Profit. Set as integer values.


An example of the settings file

AUDCAD*POSITION_TYPE_BUY*50*96
AUDCAD*POSITION_TYPE_SELL*40*46
USDJPY*POSITION_TYPE_SELL*80*38

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

Four_MA_Strength_HTF Four_MA_Strength_HTF

The Four_MA_Strength indicator with the timeframe selection option available in input parameters.

Last ZZ50 Last ZZ50

The strategy is based on the ZigZag indicator and pending orders.

VolatilityValues VolatilityValues

The indicator shows a text block with the values ​​of the user defined Volatility period for each timeframe.

ColorDerivative ColorDerivative

The Derivative indicator implemented as a colored histogram with an additional averaging.