- Subscribe to a trade signal straight from MetaTrader 5
- Settings - Settings - MetaTrader 5 for iPhone
- Register a Server - Virtual Hosting for 24/7 Operation
- It's not a simple function. Depends on your TZ and DST, your brokers TZ and if they use DST.
- Your TZ is irrevalent. Forex is a global market, use the proper TZ (NY+7.)
- Chart times are broker times.
- FX opens 5pm Eastern Time (NY) Sunday and ends 5pm NY Friday. Some brokers start after (6pm is common/end before (up to 15 minutes)
due to low volatility.
Checking for Market Closed - Expert Advisors and Automated Trading - MQL5 programming forumSwap is computed 5pm ET. No swap if no open orders at that time.
- Brokers use a variety of time zones. Their local time (with or without DST,) London, UTC, London+2, UTC+2, NY+7.
Only with NY+7 does the broker's 00:00 equals 5pm ET and the start of a daily bar (and H4) is the start of a new FX day.
GMT/BST brokers, means there is a 1 or 2 hour D1/H4 bar on Sunday (depending on NY DST,) and a short Friday bar. (Problems with indicators based off bars.)
GMT+2 is close but doesn't adjust for NY DST.
EET is closer except when their DST doesn't match NY's. Last Sunday of March and 1:00 on the last Sunday of October vs second Sunday in March and return at 2:00 a.m. EDT to 1:00 a.m. EST on the first Sunday in November.
- Non-NY+7, means the chart daily bar overlaps the start, and converting broker time to NY time requires broker to GMT to NY timezone
conversions.
- If you search the web you will find differing answers. Those are all wrong (half the year) because they do not take DST into account
(or that it changed for the US in 2007 [important when testing history.])
- Then there are H4 candles that start on odd hours.
Why My XAUUSD 4H candles start with 1 hour shift? - Currency Pairs - General - MQL5 programming forum
- FX opens 5pm Eastern Time (NY) Sunday and ends 5pm NY Friday. Some brokers start after (6pm is common/end before (up to 15 minutes)
due to low volatility.
When will I finally be able to choose my own time zone? No broker will let you choose. It's just what the server says and that's it. I don't understand why it's such a problem to have a local function that simply adds/subtracts the time?
You can create an indicator for your time gone bars, but the other indicators run in default one
When will I finally be able to choose my own time zone? No broker will let you choose. It's just what the server says and that's it. I don't understand why it's such a problem to have a local function that simply adds/subtracts the time?
It's very complicate to realize in a generic way. And it will never happen with MT4 or MT5 unless you code your own charts, which could be simpler if you want a fixed shift.
![Liquid Chart Liquid Chart](https://c.mql5.com/36/62/liquid-chart.jpg)
- www.mql5.com
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use