Download MetaTrader 5

How to find market closing time on friday for different broker?

To add comments, please log in or register
Sherif Hasan
7293
Sherif Hasan  

Hi,

I want to close all opened orders on 10 minutes before friday market end.

because closing time differ from different brokers!

Your support is appreciated.

Doerk Hilger
1182
Doerk Hilger  
sheriffonline:

Hi,

I want to close all opened orders on 10 minutes before friday market end.

because closing time differ from different brokers!

Your support is appreciated.

Scan backwards through M5 until iTime of a bar returns another date. This last candle then will return the closing time -5 min, also with iTime.
Carl Schreiber
6693
Carl Schreiber  

The forex market (opens at 8:00 am) and closes at 5:00 pm EST (EDT) New York time.

On this base you can calculate your 04:50 EST and close all your orders.

Doerk Hilger
1182
Doerk Hilger  
gooly:

The forex market (opens at 8:00 am) and closes at 5:00 pm EST (EDT) New York time.

On this base you can calculate your 04:50 EST and close all your orders.

... but not with different brokers, and that was the question. 
To add comments, please log in or register