closing positions after a certain number of trade

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

closing positions after a certain number of trade

Postby gorydan » Thu Aug 04, 2016 8:08 am

Hello,

Is it possible to have an EA that will close the most losing position at a certain number of trade that I could define ?
gorydan
 
Posts: 3
Joined: Tue Nov 05, 2013 7:13 am

Re: closing positions after a certain number of trade

Postby Apprentice » Mon Aug 08, 2016 4:49 am

Sure.
Can you specify the "most".

Your request is added to the development list, Under Id Number 3590
If someone is interested to do this or any task other from list please contact me.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36474
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: closing positions after a certain number of trade

Postby gorydan » Thu Aug 11, 2016 5:01 am

It's an EA for MT4.

This EA should close the trade with the bigger drawdown after a defined number of opened positions.
The number of opened positions should be a value that we can define in the inputs.
It will do it again at every new trade to close, to not exceed the defined number of opened positions.

Example : I don't want more than 100 positions in my portfolio. So every time there's a 101th position opened, it will close the position with the bigger drawdown to stay at 100 positions in total.

this EA will complete another EA that opens a lot of positions at little lot.
gorydan
 
Posts: 3
Joined: Tue Nov 05, 2013 7:13 am

Re: closing positions after a certain number of trade

Postby gorydan » Sat Aug 27, 2016 5:59 am

Is all clear ?
gorydan
 
Posts: 3
Joined: Tue Nov 05, 2013 7:13 am

Re: closing positions after a certain number of trade

Postby Alexander.Gettinger » Tue Nov 28, 2017 2:40 pm

Please, try this strategy: viewtopic.php?f=31&t=65409
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 14 guests