/*
Generated by EX4-TO-MQ4 decompiler V4.0.224.1 []
Website:
E-mail : purebeam@gmail.com
*/
extern double lTakeProfit = 31.0;
extern double sTakeProfit = 35.0;
extern double lTrailingStop = 22.0;
extern double sTrailingStop = 19.0;
extern color clOpenBuy = Blue;
extern color clCloseBuy = Aqua;
extern color clOpenSell = Red;
extern color clCloseSell = Violet;
extern color clModiBuy = Blue;
extern color clModiSell = Red;
extern string Name_Expert = "Robot Forex 2009 Profesional";
extern int Slippage = 2;
extern bool UseSound = FALSE;
extern string NameFileSound = "alert.wav";
extern double Lots = 1.0;
int init() {
// код доступен только после оплаты
}
int deinit() {
return (0);
}
int start() {
// код доступен только после оплаты
}
bool ExistPositions() {
for (int l_pos_0 = 0; l_pos_0 < OrdersTotal(); l_pos_0++) {
if (OrderSelect(l_pos_0, SELECT_BY_POS, MODE_TRADES))
if (OrderSymbol() == Symbol()) return (TRUE);
}
return (FALSE);
}
void TrailingPositionsBuy(int ai_0) {
for (int l_pos_4 = 0; l_pos_4 < OrdersTotal(); l_pos_4++) {
if (OrderSelect(l_pos_4, SELECT_BY_POS, MODE_TRADES)) {
Показано первые 50% кода (символов: 3490)
Введите ваш email и нажмите кнопку, чтобы перейти к оплате.