Reopen order

MQL5 Sripts

Tarea técnica

hi


i want a simple script that reopen the last manual trade i open, with the same lot size.


i use an hedging solution, but work only when i lunch the first trade, so i want to automise this.


so how it have to work :


- i open a buy or sell (manually) : for example a buy at 0.01

- my hedging program do his job and close the hedge trades (close all done with a profit TP in $)

- the same order as first trade  is open again ( here a  buy of 0.01 )

Han respondido

1
Desarrollador 1
Evaluación
(32)
Proyectos
53
36%
Arbitraje
4
25% / 50%
Caducado
6
11%
Ocupado
2
Desarrollador 2
Evaluación
(430)
Proyectos
488
33%
Arbitraje
25
40% / 48%
Caducado
7
1%
Trabaja
3
Desarrollador 3
Evaluación
(99)
Proyectos
153
31%
Arbitraje
9
11% / 44%
Caducado
0
Trabaja
4
Desarrollador 4
Evaluación
(251)
Proyectos
402
38%
Arbitraje
82
41% / 20%
Caducado
70
17%
Trabaja
5
Desarrollador 5
Evaluación
Proyectos
0
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre

Información sobre el proyecto

Presupuesto
30 - 40 USD
IVA (20%): 6 - 8 USD
Total: 36 - 48 USD
Para el ejecutor
27 - 36 USD