Help! Need Time Filter / Time mgt

 

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?

 

It is for MT4. Anyone? Please

 

Try this one...

Files:
 

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

 

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

 
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

 

thanks

Thank you All !

 

Limit/Stop until NY close

My next question:

How to manage limit/stop until a specific time?

thanks

 
 

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?

 

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!

Reason: