stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Need EA for closing all positions/orders by equity.
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3915
Page 1 of 1
Author:  jiaos [ Wed Nov 05, 2014 11:06 am ]
Post subject:  Need EA for closing all positions/orders by equity.

I need a EA which can close all positons/orders when the equity is out of given range.
For example, I set the range as 500-1000, when the equity reaches 499 or 1001, then EA close all the trades immediately.
Does anybody know such EA?
Please tell me, thank you very much!
Author:  milanese [ Wed Nov 05, 2014 11:31 am ]
Post subject:  Need EA for closing all positions/orders by equity.

jiaos » Wed Nov 05, 2014 11:06 am wrote:I need a EA which can close all positons/orders when the equity is out of given range.
For example, I set the range as 500-1000, when the equity reaches 499 or 1001, then EA close all the trades immediately.
Does anybody know such EA?
Please tell me, thank you very much!
The allPairTrademanagerPlus can do this, you must just calculate a win% and a loss% of equity you wish to close all open positions, you will find it here http://www.stevehopwoodforex.com/phpBB3 ... =21&t=3482

Cheers :)

Tommaso
Author:  milanese [ Wed Nov 05, 2014 12:23 pm ]
Post subject:  Need EA for closing all positions/orders by equity.

jiaos » Wed Nov 05, 2014 11:06 am wrote:I need a EA which can close all positons/orders when the equity is out of given range.
For example, I set the range as 500-1000, when the equity reaches 499 or 1001, then EA close all the trades immediately.
Does anybody know such EA?
Please tell me, thank you very much!
I did this EA code for you, it uses an endless loop and so you should before setting or removing the EA first autotrading deactivate, just set the equity amounts you wish the EA to close all open trades ..
EquityForTP_Close = 1050;
EquityForSL_Close = 499;
EquitySLTP_EA.mq4
Cheers :)

Tommaso
Author:  milanese [ Wed Nov 05, 2014 12:59 pm ]
Post subject:  Need EA for closing all positions/orders by equity.

The two users that the EA had downloaded please redownload it as I made a copypaste bug..

Cheers :)

Tommaso
Author:  putusernamehere [ Wed Nov 05, 2014 7:50 pm ]
Post subject:  Need EA for closing all positions/orders by equity.

Hi Tommaso :hi:

the EA is very usefull :good:

:hi: Thank you for the good work :good:

Cheers ;)
Gunter
Author:  jiaos [ Thu Nov 06, 2014 1:53 pm ]
Post subject:  Need EA for closing all positions/orders by equity.

Thanks everyone!
You are so kind.
Author:  Jemook [ Sat Nov 08, 2014 10:19 pm ]
Post subject:  Need EA for closing all positions/orders by equity.

I've used this one in the past with success:

http://www.ea-coder.com/equity-sentry-free-Empty4-ea/

Good luck!
Author:  jiaos [ Sat Nov 22, 2014 7:19 am ]
Post subject:  Need EA for closing all positions/orders by equity.

Jemook » Sat Nov 08, 2014 11:19 pm wrote:I've used this one in the past with success:

http://www.ea-coder.com/equity-sentry-free-Empty4-ea/

Good luck!
Thank you!
Author:  Steadtler [ Fri Jul 15, 2016 8:58 pm ]
Post subject:  Need EA for closing all positions/orders by equity.

milanese » Wed Nov 05, 2014 12:23 pm wrote:
jiaos » Wed Nov 05, 2014 11:06 am wrote:I need a EA which can close all positons/orders when the equity is out of given range.
For example, I set the range as 500-1000, when the equity reaches 499 or 1001, then EA close all the trades immediately.
Does anybody know such EA?
Please tell me, thank you very much!
I did this EA code for you, it uses an endless loop and so you should before setting or removing the EA first autotrading deactivate, just set the equity amounts you wish the EA to close all open trades ..
EquityForTP_Close = 1050;
EquityForSL_Close = 499;


Cheers :)

Tommaso

I Tommaso, I was wondering if this would stop all the other EA's that are trading from adding new trades ? Is this possible ?
All times are UTC Page 1 of 1