Closed

close-by or FIFO or LIFO for MT4 EA

hello i have a question

I have programmed an EA that will execute positions every minute

and then when a certain amount is reached the EA triggers a close all position

My problem is that it might be hundreds of positions and closing all these one after another by the EA takes time and causes slippage which turns out in a loss.

So I need to solve it differently

here are ways I would like to realize and dont knwo how yet with the generator I kindly ask for your help on the instructions:

example:

1)

i have 56 x 1 lot buy positons open on the market and I want that once total profit amount of for example 5000€ is reached

the EA should open only 1x 56 lot sell position and then perform a close-by to cancle the trades out

2)

I have an EA that gives signals every minute either buy and sell and I want the EA that the MT4 shall not keep all the positions open but to cancel the Positions out by First In First out

so say 1st position is a buy position then 2nd position is a buy position and then 3rd position is a sell position the third position should cancel out with the 1st position

3) (same as 2) but Last in First out)

I have an EA that gives signals every minute either buy and sell and I want the EA that the MT4 shall not keep all the positions open but to cancel the Positions out by Last In First out

so say 1st position is a buy position then 2nd position is a buy position and then 3rd position is a sell position the third position should cancel out with the 2nd position (the last position of the other side)

can anyone help to code?

thank you for your support!

alex

Skills: Metatrader, Software Architecture

See more: close trades fifo, mt4 close positions fifo, mt4 fifo, support ea, support positions, ea support, fifo close, fifo close mt4, mt4 ea, fifo, ea, ea mt4, close trades mt4, profit close, fifo code, mt4 open, open buy time mt4, need signals, 1st position, mt4 profit, mt4 close profit, mt4 pending, want sell signals, software profit, sell software code

About the Employer:
( 5 reviews ) mahe, Germany

Project ID: #1143035

7 freelancers are bidding on average $313 for this job

waterwood

please check PM. thanks.

$450 USD in 11 days
(45 Reviews)
6.6
Mikser

I'm ready to get started immediately. Please see PMB for details.

$250 USD in 1 day
(37 Reviews)
6.2
matharpa

Hi, I am expert in making EA and CI for MT4. Check PMB for details.

$250 USD in 3 days
(51 Reviews)
5.7
xrustx

Dear sir i can help you, see PM please.

$250 USD in 1 day
(44 Reviews)
5.4
nhasan

Would you please see PM for details?

$400 USD in 3 days
(5 Reviews)
3.8
Hooshmand

please check your Inbox

$300 USD in 6 days
(0 Reviews)
0.0
sandmann23

Interessante Aufgabe, Broker Reaktionszeit dürfte das grösste Problem sein, näheres per PM.

$290 USD in 10 days
(0 Reviews)
0.0