This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community

How to Change the Time Reference 00:00 of MT4 to my country time


Back to topics list  | 1 2
avatar
8
Jellybean 2009.01.25 04:38 

Hi mill


I accept your point about needing to be able to do mental arithmetic, but I think there is a more important reason to be able to use a different time zone from the server time (or at least account for it in indicators).


I use daily pivot points and these only work because many others use them as well. If I use a different start time for the day, the pivot points are different from those used by most traders and are therefore not as effective. The many other traders I refer to are the masses of traders that use UK time and smaller masses using New York time. (I want to use UK time for the pivot points.)


Of course, I can program my pivot point indicator to make the calculations based on a shifted time, but it's a pity to make many users do this, when all it requires is a set of functions to provide a "shifted" time base.


I live in New Zealand and have just chosen a US broker after trying a demo with a UK broker and was unexpectedly presented with this issue. Anyway, I'll add the complexity to my indicator knowing that I'll only have to do it once. If I think my code is OK and useful to others, I'll publish it somewhere.


Cheers

Jellybean


avatar
8
Jellybean 2009.01.26 11:43 

Just to add, I have published my daily pivot point code that applies a shift to the pivot point calculation on the MQL4 Codebase.

I hope it is of use to some.

Cheers

Jellybean

Back to topics list   | 1 2  
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets