Alım-satım robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Facebook üzerinde bulun!
Fan sayfamıza katılın
Komut dosyasını ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Komut dosyasını beğendiniz mi? MetaTrader 5 terminalinde deneyin
Komut dosyaları

StopLossMove - MetaTrader 4 için komut dosyası

Görüntülemeler:
17325
Derecelendirme:
(18)
Yayınlandı:
2008.09.12 06:16
Güncellendi:
2014.04.21 14:53
MQL5 Freelance Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git


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;
 
//+------------------------------------------------------------------+


MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: 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.