AN EXPERT BASED ON PENDING BUY STOP AND SELL STOP ORDERS

Техническое задание

This is a MQL4 trading robot code that seems to implement a basic grid trading strategy. It opens two pending orders (a BuyStop and a SellStop) for a specified symbol when the current server time matches the specified trading time. It then modifies the stop loss and take profit of each order based on their type (BuyStop or SellStop). The lot size of each order is calculated using a risk percentage (RiskPercent) and the free margin available in the account.

Here are some of the important variables and functions used in this code:

Variables:

  • BuyPips: the distance in pips between the BuyStop and the current market price
  • SellPips: the distance in pips between the SellStop and the current market price
  • RiskPercent: the risk percentage used to calculate the lot size of each order
  • Ntokozo: a string variable used to display a comment on the chart
  • TradingTime: the time when the robot should start trading
  • ContractSize: the contract size used to calculate the lot size of each order
  • maxPendingOrders: the maximum number of pending orders that can be opened for each symbol
  • pendingOrdersCount: an array that keeps track of the number of pending orders for each symbol
  • symbolInitialized: a boolean array that keeps track of whether each symbol has been initialized or not

Откликнулись

1
Разработчик 1
Оценка
(19)
Проекты
26
27%
Арбитраж
3
0% / 100%
Просрочено
2
8%
Свободен
2
Разработчик 2
Оценка
(2)
Проекты
5
0%
Арбитраж
1
0% / 100%
Просрочено
0
Работает
3
Разработчик 3
Оценка
(37)
Проекты
59
27%
Арбитраж
25
20% / 52%
Просрочено
10
17%
Работает
4
Разработчик 4
Оценка
(6)
Проекты
10
50%
Арбитраж
6
17% / 50%
Просрочено
3
30%
Работает
5
Разработчик 5
Оценка
(63)
Проекты
99
29%
Арбитраж
1
100% / 0%
Просрочено
2
2%
Свободен
6
Разработчик 6
Оценка
(568)
Проекты
641
41%
Арбитраж
21
57% / 29%
Просрочено
47
7%
Работает
7
Разработчик 7
Оценка
(38)
Проекты
40
25%
Арбитраж
20
15% / 75%
Просрочено
8
20%
Занят
8
Разработчик 8
Оценка
(3)
Проекты
4
0%
Арбитраж
2
0% / 100%
Просрочено
1
25%
Свободен
9
Разработчик 9
Оценка
(253)
Проекты
408
38%
Арбитраж
86
43% / 19%
Просрочено
70
17%
Работает
10
Разработчик 10
Оценка
(68)
Проекты
77
8%
Арбитраж
33
9% / 55%
Просрочено
6
8%
Работает
11
Разработчик 11
Оценка
(264)
Проекты
538
50%
Арбитраж
55
40% / 36%
Просрочено
224
42%
Работает
12
Разработчик 12
Оценка
(121)
Проекты
155
43%
Арбитраж
20
60% / 20%
Просрочено
8
5%
Работает
13
Разработчик 13
Оценка
(36)
Проекты
44
32%
Арбитраж
6
17% / 33%
Просрочено
8
18%
Работает
14
Разработчик 14
Оценка
(87)
Проекты
131
22%
Арбитраж
7
57% / 0%
Просрочено
33
25%
Свободен
15
Разработчик 15
Оценка
(6)
Проекты
8
25%
Арбитраж
1
100% / 0%
Просрочено
3
38%
Свободен
16
Разработчик 16
Оценка
(363)
Проекты
389
70%
Арбитраж
3
100% / 0%
Просрочено
2
1%
Загружен
Похожие заказы
Need ea according to stochastic divergence (both hidden and regular) plus candlestick flip .. need for experinced developers to complete my order with 99percent accuracy. So bet for it the budged is fixed and other plugins will be added in the v2
Looking for an EA which can produce less than 5% drawdown. Also profit factor above 1.5 (preferably 2.0) Please give me proper explanation how your EA works too Has anyone programmed it before? is it limited to forex only
I want to make a new dashboard using 3 common indicators and the ADX indicator , which you must supply I have a MA dash which you can strip & reuse if it helps you I tried to cover all questions in the attached but i'm sure there'll be more
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
The wiper 35 - 48 USD
a ll traders want to find market behavior patterns, which could help identify favorable moments for performing trading operations. They also want to eliminate randomness and influence of external factors, such as rumors, news releases, fatigue, and so on. Traders monitor charts and may formulate some formal rules, which enable objective analysis of price or tick charts. Technical indicators can facilitate such
I need EA that works on MT5 to be able to do the following: - Can recognize Support/Resistance area - Can recognize VWAP direction. - Can recognize RSI. - Can recognize Double Top/bottom, Bullish/Bearish hammer candle, Bullish/bearish engulfing candle. - Ability to set Stoploss below/above support/resistance, but risk must be fixed at a certain price. - Stoploss
I want a program that will help calculate and enter the market on full margin for me. I just need to put in the price for entry, Stop loss and TP then it will calculate the lot sizes for entering the trade on full margin on Mt5
I am seeking a highly skilled and experienced developer to assist with an important project. I need a development of an automated trading bot for NinjaTrader, utilizing a 4 SMA (Simple Moving Average) crossing strategy, with additional custom diversions for trade entries. The bot needs to be based on a strategy involving the crossing of four different SMAs. The exact periods for these SMAs and the conditions for

Информация о проекте

Бюджет
30 - 50 USD
Исполнителю
27 - 45 USD
Сроки выполнения
от 1 до 2 дн.