Help! Need Time Filter / Time mgt

smeden
320
smeden  

Hi

I am looking for a time/day filter where I can choose what hours I want to trade and what days.

Not just from 8:00 - 20:00 but ex.

Monday=true

Trading Hours= 1,2,3,8,9,10,11,12,15,16,19,20 // This is the same as (01:00-03:00)(8:00-16:00)and agan (19:00-20:00)

Tuesday=false

I want to be able to choose the different hours a day.

Anyone got a link to such a filter or can someone please program it?

smeden
320
smeden  

It is for MT4. Anyone? Please

David Ellis
92
David Ellis  

Try this one...

[Deleted]  

Help! Need Time Filter / Time mgt

Hi,

Anyone have EA sample with time filter or time management, please?

For example, the EA will work only from time x to time y every day.

or when time is between x to y so use EA mode A. And when time is between i to j use EA mode trade B

Thanks

Sergey Golubev
Moderator
120290
Sergey Golubev  

Look at this post for code example https://www.mql5.com/en/forum/176456/page6

And many functions are here https://www.mql5.com/en/forum/174329

Yuri Predborski
561
Yuri Predborski  
pawang:
Hi,

Anyone have EA sample with time filter or time management, please?

For example, the EA will work only from time x to time y every day.

or when time is between x to y so use EA mode A. And when time is between i to j use EA mode trade B

Thanks

give me the expert and 5 minutes to drink some tea, and I'll code it into your expert in 10 seconds

[Deleted]  

thanks

Thank you All !

[Deleted]  

Limit/Stop until NY close

My next question:

How to manage limit/stop until a specific time?

thanks

[Deleted]  
nizus
5
nizus  

set time trading

Hai all..

i just studied to make the program of Expert Advisor..

i wanna ask how to set the time frame an EA..

example:

1. 2.55 till 4.55 time server

2. 7.23 till 9.07 time server

both sessions same everyday..

can someone advise me?

Nikki
4
Nikki  

Coding help - Taking trades at specific times

Hello,

I'm working on an EA that I want to look for a trade at a specific time (say 7:00 GMT).

What's the simplest way to code that to tell the ea it can only trade at 7:00 GMT?

Thanks!