I require repair an expert advisor to take and close positions from a MySQL server table

MQL5 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 21 días

Tarea técnica

I require an expert advisor to take and close positions from a MySQL server table, the idea is: from a table of positions available in MySQL server, the expert advisor connect and consume this to open and close positions, continuously, with more details :

The table is arranged in MySQL server contains the following fields :

1) Order_id : an identifier of the order is taken

2) pair_name : symbol eg EURUSD parity

3) TIME_ID : minute registration time and date in which to take the position

4) ammount : Number of items to put in the position

5 ) sl : stop loss

6) tp : yake profit

7) state: the state of the position is open or closed

8) ticket: Ticket registration platform that is thrown when a position is taken

9) mode_id Identifies the model from which the position was defined .



fields 1 , 2, 3 , 4, 5 , 6 and 9 will be completed based on the work of modeling with other packages , but the fields 7 and 8 will be completed by the expert advisor , it is important to clarify that the table must feed every minute , so that few second after the table is updated in their fields 1-6 and 9 (which is done every 60 seconds ), the expert advisor must complete the fields 7 and 8 should also do so every 60 seconds . With the above table for each record contains an order to buy or sell .

Importantly, a position must be closed (apart from reaching the SL or TP ) through an opposite order , ie if at first an order to buy is thrown and misses the SL or TP , and the next minute the table adds another record amount of same parity and generate an effect of closing the position initially taken .

i have a code, but dont work.

Han respondido

1
Desarrollador 1
Evaluación
(1235)
Proyectos
2820
80%
Arbitraje
156
22% / 43%
Caducado
489
17%
Libre
Solicitudes similares
Necesito crear un EA, que sea un copiador de operaciones de un terminal a otro terminal MT4. Para ello necesito que se cumplan las siguientes exigencias: - Ha de crearse una versión master y otra slave, es decir, uno que se instale donde vaya a crearse las operaciones, y otro, donde se copien. - Habrá un campo donde se especifique si el símbolo a copiar tiene algún subfijo. Esto es importante porque muchos brokers le
Necesito un bot de alta frecuencia que funcione en indices sinteticos en la Prueba demo Be funding y TopTen Funding, actualmente se que ya existe y que varios lo usan así como en forex para pasar las pruebas en un día
hola bueno nececito un robot que se le ueda poner horario de inicio y fin asi como tambien poder dejarlo trabajando varios dias o semanas . trabaje bajo los siguientes parametros medias movieles de 8 , 21, 200 MACD stocastico RSI fibonacci . todo lo anterior es lo que debe tener en cuenta para la operativa de compra o venta en temporalidades de tiempo varias 5m 15m 1h 1D cuando las medias moviles de 8 cruce al
I want to learn how to use a robot to pass funding tests and to operate and maintain 8% profits, whether with copy trade or another option, the company is befunding
En ingles: I need a BOT for Forex, especially I trade in EURUSD, to work on MT5 in MQL5, open trades only in 30 minute and one hour trend. That the condition for placing an order is that in 5-minute or 3-minute charts (customizable), a maximum or minimum has been exceeded (as applicable) and an FVG has been generated, on the way to exceeding that maximum or minimum, in its retracement now in trend, the price breaks
El bot de trading con las siguientes reglas: 1, se ponen dos operación en el mercado, una de buy limit y otra de sell limit a 50 pips fijos del precio actual 2. Las dos operación va a tener una trailing stop de 50 pips 3. Cuando se abra una de las dos operación, la operación que no abrió se elimina automáticamente 4. Cuando se cierre todas las operación se vuelve a repetir los anteriores paso 5. El lotajes debe ser
I need a script for mt5 that allows me to extract the following information from my broker in real time Symbol, commission, long swap, short swap which also allows me to identify changes by showing the previous value and the current value, and which issues an alert when the swap value or commissions change

Información sobre el proyecto

Presupuesto
Plazo límite de ejecución
de 1 a 3 día(s)