AN EXPERT BASED ON PENDING BUY STOP AND SELL STOP ORDERS

Tarea técnica

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

Han respondido

1
Desarrollador 1
Evaluación
(19)
Proyectos
26
27%
Arbitraje
3
0% / 100%
Caducado
2
8%
Libre
2
Desarrollador 2
Evaluación
(2)
Proyectos
5
0%
Arbitraje
1
0% / 100%
Caducado
0
Trabaja
3
Desarrollador 3
Evaluación
(37)
Proyectos
59
27%
Arbitraje
25
20% / 52%
Caducado
10
17%
Trabaja
4
Desarrollador 4
Evaluación
(6)
Proyectos
10
50%
Arbitraje
6
17% / 50%
Caducado
3
30%
Trabaja
5
Desarrollador 5
Evaluación
(63)
Proyectos
99
29%
Arbitraje
1
100% / 0%
Caducado
2
2%
Libre
6
Desarrollador 6
Evaluación
(568)
Proyectos
641
41%
Arbitraje
21
57% / 29%
Caducado
47
7%
Trabaja
7
Desarrollador 7
Evaluación
(38)
Proyectos
40
25%
Arbitraje
20
15% / 75%
Caducado
8
20%
Ocupado
8
Desarrollador 8
Evaluación
(3)
Proyectos
4
0%
Arbitraje
2
0% / 100%
Caducado
1
25%
Libre
9
Desarrollador 9
Evaluación
(253)
Proyectos
408
38%
Arbitraje
86
43% / 19%
Caducado
70
17%
Trabaja
10
Desarrollador 10
Evaluación
(68)
Proyectos
77
8%
Arbitraje
33
9% / 55%
Caducado
6
8%
Trabaja
11
Desarrollador 11
Evaluación
(264)
Proyectos
538
50%
Arbitraje
55
40% / 36%
Caducado
224
42%
Trabaja
12
Desarrollador 12
Evaluación
(121)
Proyectos
155
43%
Arbitraje
20
60% / 20%
Caducado
8
5%
Trabaja
13
Desarrollador 13
Evaluación
(36)
Proyectos
44
32%
Arbitraje
6
17% / 33%
Caducado
8
18%
Trabaja
14
Desarrollador 14
Evaluación
(87)
Proyectos
131
22%
Arbitraje
7
57% / 0%
Caducado
33
25%
Libre
15
Desarrollador 15
Evaluación
(6)
Proyectos
8
25%
Arbitraje
1
100% / 0%
Caducado
3
38%
Libre
16
Desarrollador 16
Evaluación
(363)
Proyectos
389
70%
Arbitraje
3
100% / 0%
Caducado
2
1%
Trabajando
Solicitudes similares
Good morning, I've installed MT4 with DWX_ZeroMQ_Server_v2.0.1_RC8. I also installed Python and ZeroMQ on the same PC. MT4 and Python communicate well. I want someone to develop a script that allows me to change the following parameters in the MT4 Strategy Tester. They are : the symbol, the time frame and the spread. By selecting these three parameters (symbol, time frame and spread) in the Python script and running
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
My trust wallet was hacked and I have tokens to claim which unlock almost daily but the person who hacked the wallet drains the tokens as soon as I claim them in the hacked wallet. I have contacted the support for that crypto but they were not helpful. There is no way to claim this crypto to another wallet. I need a bot or another solution that can transfer the crypto out of the hacked wallet into my other wallet as
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 want to design a website like https://www.ngnrates.com/ we will change some stuff but not much, if you can deliver a website like this let me know your budget and readiness to implement
I have an equity reporter. This equity reporter displays the maximum and minimum equity reached over a specific interval. So, if the interval is set to 24 hours, the script will generate data in the format: "Profit ATT" (profit AtThatTime) shows max./min. during the specific interval This specific report shows data in pips. It can also be set to display in price or percentages. The interval is also easily adjustable
An EA that executes when the 21 and 55 SMA Cross on certain time frame also the EA will understand supply and demand levels and executes when price reacts on this levels specified and target/stoploss levels will be predetermined...also the robot will also comprise stochastic oscillator
Starting from scratch, I need a solution to develop my own crypto trading and exchange platform. This platform should compare prices across various exchanges like Coinbase, Binance, KuCoin, and Unocoin, as well as different cryptocurrencies. The solution must identify opportunities to buy on one platform and sell on another for a profit, transferring funds to my personal wallet instantly for security. The bot should
Starting from scratch, I need a solution to develop my own crypto trading and exchange platform. This platform should compare prices across various exchanges like Coinbase, Binance, KuCoin, and Unocoin, as well as different cryptocurrencies. The solution must identify opportunities to buy on one platform and sell on another for a profit, transferring funds to my personal wallet instantly for security. The bot should

Información sobre el proyecto

Presupuesto
30 - 50 USD
Para el ejecutor
27 - 45 USD
Plazo límite de ejecución
de 1 a 2 día(s)