A simple trading robot that executes orders with pre-defined take-profit and stop-loss levels

MQL5 Experts Scripts

Job finished

Execution time 2 days
Feedback from customer
Full marks, Kua! Thank you
Feedback from employee
Great client. Quick responses.

Specification

Hello,


I am a Statistics student looking to illustrate a statistical theorem to my fellow students using a trading robot. I want a very simple trading robot that executes orders with specified stop-levels and specified lots. In other words, I should be able to specify the stop-levels and the number of lots to be traded. The robot should then alternate between buying and selling orders. In other words, the first order should be to sell the specified number of lots with the specified stop-levels, then when either the Take-profit or Stop-loss levels is reached, immediately the next order must be placed as a buy order with the specified number of lots and the specified stop-levels. It should continue this pattern. Also, the robot should only be active if the Spread is below a certain threshold.


Responded

1
Developer 1
Rating
(67)
Projects
79
33%
Arbitration
6
50% / 33%
Overdue
7
9%
Free
2
Developer 2
Rating
(885)
Projects
1410
67%
Arbitration
123
32% / 41%
Overdue
218
15%
Free
Published: 1 code
3
Developer 3
Rating
(67)
Projects
97
35%
Arbitration
11
27% / 45%
Overdue
13
13%
Free
4
Developer 4
Rating
(3)
Projects
1
100%
Arbitration
1
0% / 0%
Overdue
0
Free
5
Developer 5
Rating
(16)
Projects
18
33%
Arbitration
0
Overdue
0
Free
6
Developer 6
Rating
(36)
Projects
45
47%
Arbitration
5
40% / 60%
Overdue
9
20%
Free
Published: 1 code
7
Developer 7
Rating
(65)
Projects
71
30%
Arbitration
8
0% / 88%
Overdue
5
7%
Free
8
Developer 8
Rating
(558)
Projects
645
33%
Arbitration
41
41% / 46%
Overdue
11
2%
Busy

Project information

Budget
30 - 40 USD
Deadline
to 10 day(s)