Fan sayfamıza katılın
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
- Görüntülemeler:
- 4013
- Derecelendirme:
- Yayınlandı:
- Güncellendi:
-
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git
This Expert Advisor closes all positions if the total loss/profit exceeds a predefined limit. In fact, this is a global stop loss and take profit for all positions simultaneously. The EA leaves appropriate comments on its actions in the log file.
//| Enumeration for loss calculation options |
//+----------------------------------------------+
enum StopMode
{
ENUM_PERCENT, //losses in percentage
ENUM_CARRENCY //losses in deposit currency
};
//+----------------------------------------------+
//| Input parameters of the EA indicator |
//+----------------------------------------------+
input StopMode LMode=ENUM_PERCENT; //loss calculation method
input double StopLoss=20.0; //stop loss
input double TakeProfit=100.0; //take profit
MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/16782

The Expert Advisor is based on a standard trend strategy and the two-layer neural network that is trained to enter the market against a trend.

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

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

The Exp_CenterOfGravityCandles Expert Advisor is based on signals of the CenterOfGravityCandles indicator.