Ticaret 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ı

OpenBuyPosition - MetaTrader 5 için komut dosyası

Görüntülemeler:
7140
Derecelendirme:
(37)
Yayınlandı:
2012.09.10 16:32
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

OpenBuyPosition script is developed for buying with fixed Stop Loss and Take Profit values 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: 

//+----------------------------------------------+
//| SCRIPT INPUT PARAMETERS                      |
//+----------------------------------------------+
input double  MM=0.1;       // Money Management
input int  DEVIATION=10;    // Price deviation
input int  STOPLOSS=300;    // Stop Loss in points from the current price
input int  TAKEPROFIT=800;  // Take Profit in points from the current price
input uint RTOTAL=4;        // Number of repeats in case of unsuccessful deals
input uint SLEEPTIME=1;     // Pause duration between repeats in seconds

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

DaysOfWeekCheck DaysOfWeekCheck

The function is used to determine weekends on a server. It will be especially useful to those who use OnTimer() function in their Expert Advisors for events handling.

EAX_Mysql - MySQL library EAX_Mysql - MySQL library

This library allows an easy interface to MySQL.

OpenSellPosition OpenSellPosition

The script is developed for selling with fixed Stop Loss and Take Profit values in points from the current price.

The Height of the Period The Height of the Period

The indicator calculates the difference between the period maximum and minimum. The period is specified in the indicator parameters.