Ticaret robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Telegram ü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ı

SetSellStopOrder - MetaTrader 5 için komut dosyası

Görüntülemeler:
4297
Derecelendirme:
(25)
Yayınlandı:
2012.09.18 13:36
Güncellendi:
2016.11.22 07:32
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

SetSellStopOrder script is developed for placing a SellStop order with fixed trigger levels, Stop Loss and Take Profit levels in points from the current price. The main advantage of this script is its ability to fix a deal volume, which depends on the entire deposit size, using MM (Money Management) script input parameter. This script determines a ratio between the amount of funds involved in the deal and all the funds of the deposit.

The script input parameters:

//+----------------------------------------------+
//| INPUT PARAMETERS OF THE SCRIPT               |
//+----------------------------------------------+
input double  MM=0.1;       // Money Management
input uint  LEVEL=300;      // Trigger level in points from the current price
input uint  STOPLOSS=300;   // Stop loss in points from the trigger level
input uint  TAKEPROFIT=800; // Take profit in points from the trigger level
input uint  EXPIRED=0;      // The duration of the order in hours (0 - without time of cancellation)
input uint  RTOTAL=4;       // The number of repeats on unsuccessful transactions
input uint  SLEEPTIME=1;    // Pause time in seconds between repeats

MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/974

SetSellLimitOrder SetSellLimitOrder

The script is developed for placing a SellLimit order with fixed actuation levels, Stop Loss and Take Profit levels in points from the current price.

Inter Inter

Multicurrency multitimeframe indicator.

SetBuyStopOrder SetBuyStopOrder

The script is developed for placing a BuyStop order with fixed trigger levels, Stop Loss and Take Profit levels in points from the current price.

SetBuyLimitOrder SetBuyLimitOrder

The script is developed for placing a BuyLimit order with fixed trigger levels, Stop Loss and Take Profit levels in points from the current price.