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

 
npantzos:
I think is heare..

THX !

But this EA moves up and down with price move.

Have you EA ( or script ? - i dont know) SL and TP are fixed ?

 
ventor:
THX !

But this EA moves up and down with price move.

Have you EA ( or script ? - i dont know) SL and TP are fixed ?

Hi ventor.

I moved the thread thinking this is an appropriate place to find what you need.

Please, read it carefully. There are too many tools to set SL/TP.

Also see

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

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

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

And more...

Regards.

 
 

Thank you

Linuxser:
You windows looks like this one?

Thank you, I made a simple mistake, and couldnt figure out why. Its the simple things that get to you. Thanks a lot guys.

 

The attached file should give you a clue. I'd open an order with a script like this so that it has a magic number. Then code a similar script that would change the SL and TP of an order with the same magic number.

Lux

Files:
buy_order.mq4  2 kb
 

Opening and closing a trading session?

I was wondering if it was possible to user a separate "Timer" that attaches to a Chart to open a trading session and will close all position when it is time to close the trading session. By separate meaning separate from the E.A. that is running the trading session. This is to not run into to those program errors that always ocurr when trying to rewrite the E.A's code. So, in short, use any E.A. and turn it on remotely by attaching the "Timer or Clock" ( if will call it that). And go about your Business. This allows you to trade only the Hours you choose. Any Ideas? or this has all ready been done?

 

Script to close positions automatically

Hello everyone,

I'm trying a demo of metatrader, I need to create a script that automatically close the positions at a certain hour at a market. Someone can help me?

(Forgive my English I'm Italian!)

Thanks.

Ettore.

 
ES/71:
Hello everyone,

I'm trying a demo of metatrader, I need to create a script that automatically close the positions at a certain hour at a market. Someone can help me?

(Forgive my English I'm Italian!)

Thanks.

Ettore.

And this thread for developers: https://www.mql5.com/en/forum/177263

 

Please could someone help

I need an EA that will close all open position when the CCI34 indicator crosses thru the "0" (zero)

ie/ if the CCI34 passes up it closes a "Short" and down to close a "Long"

Variables:

CCI - 34

Time Frame - (in minutes)

I will manually open the trade, but need an EA that will close it for me.

I know that "hermanto" requested one similar, but for MA's I need one the same, but for the CCI indicator.

Help would be really appreciated

 

Delete Order After a Number of Bars have Past

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

Reason: