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
Vues:
17215
Note:
(17)
Publié:
2008.09.12 06:16
Mise à jour:
2014.04.21 14:53
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance


Depending on whether the values of the UpDoun = true or = false, the script either drags the StopLoss closer to the market or pushes it away from the market holding the same Distance in points.

It thoroughly takes the place of trailing stop.

If a DC limits placing the Stops and Limits "for the market" (usually it is 10 points) you should


//+------------------------------- Detremine the limit of your DC -----+
 
// if(Distance<10) Dist=10;
 
// else 
 
Dist=Distance;
 
//+------------------------------------------------------------------+


delete the comment in the block and specify the necessary value of the Dist


//+------------------------------- Determine the limit of your DC -----+
 
if(Distance<10) Dist=10;
 
else 
 
Dist=Distance;
 
//+------------------------------------------------------------------+


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

Metatrader Expert Advisor e-Regr  and Metatrader  Indicator i-Regr Metatrader Expert Advisor e-Regr and Metatrader Indicator i-Regr

Regression Channel Indicator and Expert Advisor

Open SELL Open SELL

The script opens a SELL position with the specified part of the FreeMargin.

CloseAllBuySell CloseAllBuySell

The script closes all opened Buy and Sell positions in the active window.

Fisherorg_v1 Fisherorg_v1

Indicator Fisherorg_v1.