stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

HELP, THANK YOU
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3711
Page 1 of 1
Author:  bourgenot [ Thu Jul 03, 2014 9:18 am ]
Post subject:  HELP, THANK YOU

Milestone-EA-for-Empty4 (1).zip
Hello all, I have a problem with an indicator (calendar) about an hour gmt. Thank you for your help!
datetimeGMT () ..Line 1155)
    {/ / modified by euclid
int ret = GetTimeZoneInformation (TZInfoArray);
int = bias TZInfoArray [0];
if (ret == TIME_ZONE_ID_STANDARD) + = TZInfoArray bias [21];
if (ret == TIME_ZONE_ID_DAYLIGHT) + = TZInfoArray bias [42];
return (timelocal () + bias * 60);
Author:  milanese [ Thu Jul 03, 2014 9:43 am ]
Post subject:  HELP, THANK YOU

bourgenot » Thu Jul 03, 2014 9:18 am wrote:Hello all, I have a problem with an indicator (calendar) about an hour gmt. Thank you for your help!
datetimeGMT () ..Line 1155)
    {/ / modified by euclid
int ret = GetTimeZoneInformation (TZInfoArray);
int = bias TZInfoArray [0];
if (ret == TIME_ZONE_ID_STANDARD) + = TZInfoArray bias [21];
if (ret == TIME_ZONE_ID_DAYLIGHT) + = TZInfoArray bias [42];
return (timelocal () + bias * 60);
the new builds >6xx have GMT time included, just use TimeGMT().., the attached indicator code is outdated maybe try to ask in the forum you found it for help, maybe there is an update.

Cheers :)

Tommaso
Author:  bourgenot [ Thu Jul 03, 2014 10:30 am ]
Post subject:  HELP, THANK YOU

thank you, I found at forex facto, but still the same problem. Not important .. Good day to you
All times are UTC Page 1 of 1