MT5 Script to Close a Percentage of all Positions

MQL5 Sripts

Trabajo finalizado

Plazo de ejecución 20 horas
Comentario del Cliente
Awesome job by Peter.
Comentario del Ejecutor
Nice working with you

Tarea técnica

I need a script that will close a percentage of all open positions. For example, if the script is set to 40%, then all open positions should close 40% of the current open positions...if all positions have 1 lot open, this script would close .4 lots for each open position and .6 lots for all positions would remain.

There should be an input for the following...

- Percentage to Close All Open Positions

I will also need the source file once finished.

Archivos adjuntos:

PNG
Capture.PNG
11.7 Kb

Han respondido

1
Desarrollador 1
Evaluación
(209)
Proyectos
281
46%
Arbitraje
27
59% / 37%
Caducado
36
13%
Libre
2
Desarrollador 2
Evaluación
(64)
Proyectos
68
25%
Arbitraje
12
42% / 42%
Caducado
4
6%
Libre
3
Desarrollador 3
Evaluación
(98)
Proyectos
137
52%
Arbitraje
5
40% / 60%
Caducado
0
Libre
Solicitudes similares
Job Description: We are looking for an experienced MQL5 developer to create a script or Expert Advisor (EA) that automatically updates the price of a token CFD on MT5, using a live BTCUSD feed. The goal is to make token fully CFD-tradable , with real-time price updates, charts, and client P/L. Clients should be able to trade long or short and view live candles, just like other MT5 CFDs. Scope of Work / Requirements

Información sobre el proyecto

Presupuesto
35+ USD