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

 
TimeFreedom:
Can someone please help me with code to delete an open Buy/Sell Stop order that has been opened for a number of bars back.

Thanks in advance,

TimeFreedom

Something on this thread and maybe some of this ones?:

https://www.mql5.com/en/forum/172925

https://www.mql5.com/en/forum/176995

https://www.mql5.com/en/forum/177263

https://www.mql5.com/en/forum/177102

 

Close all trades when sum of account is in profit...

but let it ride - sum of profit - with TS and SL.

Is such EA done yet and where can I find it please; if not; I know for "CloseTrades_After_Account_Profit_Reached.mq4" which close all trades from EA`s to manual created, ALL of them but here you can set only fixed profit.I think it will be useful with option of TS and SL.

I`ll be grateful for any information or help,

Regards...

 
fxgrm:
Hello:

Is there an EA that closes all open orders once a preset Drawdown percentage value is reached instead of a hard dollar amount?

This would be good since a % value would still be valid as the equity grows.

Example: Set the closeall drawdown % value to 25% on a $10,000 balance.

Once the account goes into drawdown of 25% ($7500) the then EA closes all open orders.

But if the account balance keeps growing and reaches $12,000 then goes into Drawdown of 25% ($9000) it then closes all open orders.

Thanks in advance

I am looking for a similar script. eg if the account equity falls X% below account balance then close all open and pending positions.

 

Pending order EA

Hi all

Anyone here have Pending Order EA?

The rules is something like this:

-Open pending order every 2 unit of price

-Sell limit 2 to 100 above from starting price

-sell stop -2 to -100 from starting price

open pending order everytime open order is closed

TP 5

SL 300 (true/false)

 

Pending OCO script

Hi Does anyone knoe of a script that will place an OCO pending order.

I've looked through this thread but cannot find one.

I know there is an EA for doing it, but I really want a script.

Any pointers?

 
Jeeves:
Hi Does anyone knoe of a script that will place an OCO pending order.

I've looked through this thread but cannot find one.

I know there is an EA for doing it, but I really want a script.

Any pointers?

Maybe an EA:

https://www.mql5.com/en/forum/general

 

EA to close open trades/orders based on time

Hi, everyone!

I am looking for a simple MT4 EA or script that will close open trades after a variable number of hours or trading days.

For example, the EA would monitor all trades that are placed (either placed manually by me or placed automatically by another EA), and it would then close each trade after that trade had been open for "X" number of hours. This EA would only really require one variable, which would be the number of hours it allows each trade to remain open.

Also, the EA should consider Monday to be the next trading day after Friday. For example, if a trade is placed on Friday at 1:00PM, and the EA variable is set to close trades after "24" hours, then the EA should close the trade on Monday at 1:00PM. The EA should ignore Saturday and Sunday.

Thank You in advance!

 

Manually setting a magic number

Hi I think I have used a script from this site before where you can set a trade off manually but set a magic number so that your attached EA will then manage the trade. I cant seem to find it on here for the life of me. Does anyone know where I can find this please.

Cheers

 
marine1983:
Hi I think I have used a script from this site before where you can set a trade off manually but set a magic number so that your attached EA will then manage the trade. I cant seem to find it on here for the life of me. Does anyone know where I can find this please. Cheers

One script It's on Elite section

https://www.mql5.com/en/forum/174881/page5

 

Hi marine1983,

I moved your post to this thread as I remember I posted those scripts (created by Igorad) few weeks ago on the thread.