• Join us

'Close all'/'Open' tools - page 14

Sergey Golubev
Moderator
114907
Sergey Golubev  
Beno:
I do not know the language that is on KimIV. site but I managed to find the right file to down load but when I compile it there is an error

'GetParent' - function is not defined C:\Program Files\Straighthold Trader\experts\e-CloseByPercentProfit.mq4 (180, 10)

Could some one please let him know or fix it if they have it

Yes, the same with me.

May be it is the function which was removed from Metatrader? This EA was created in December 2007 so it is not old one ...

I have no idea sorry.

Beno
1163
Beno  

I hope i'm not out of line by posting it but it's a good idea that i would like to see working

could some one please get this going

Cheers

Beno

Nightshade
3
Nightshade  

need some script please

hi people im new in de forum i would appreciate if some one shows me one script that opens position with certain amount of stop loss and take profit and then closes it , just to trade faster at closing or opening bar time . i did searched for it but i did not find it . thanks

Beno
1163
Beno  
Beno:
I hope i'm not out of line by posting it but it's a good idea that i would like to see working

could some one please get this going

Cheers

Beno

Has anybody managed to get this going.

Or does anyone have a close by percentage loss code they could post

convert this so that if a 2% loss close position

if (curprof>=AccountEquity()*ProfitExit/100.0) {

exit=true;

qz10cq
9
qz10cq  

close on account balance

Thanks ND and all u very intelligent people contributing,

Do we have a script/ea that works on equity of ur account? Say I'm looking for 100 pips and my balance in account is 3000 thats means I'm closing all when balance/equity hits 3100. I trade 4 majors + gbp/jpy in a ascending channel breakout system starting at London open. Tons of times good profit is shown but TP has not been hit, I end up losing because I'm not watching the balance/equity of the charts. The ascending lot sizes makes profit showing on charts not my focus, it's the 3100 in balance/equity. I've been reading and testing but nothing seems to fit. Thanks in advance.

Beno
1163
Beno  

here you go

qz10cq
9
qz10cq  

thanks

Thanks Beno and ND, will test them out tonight.

WNW
632
WNW  

Try this one

This one closes all trades when a specified equity target is reached, not a profit amount.

qz10cq
9
qz10cq  

Thanks MNW, being able to type in the amount is exactly what I'm looking for.

A wish list for me would be to tell me it's attached and what my equity target is...