Jump to content
RickD

MQL-4: некоторые полезные функции

Recommended Posts

Alexander Piechotta

I'm looking for mql4 GMTOffset function with parameterGMT.Diff by RickD.

Я ищу mql4 GMTOffset функции с параметром GMT.Diff к RickD.

Share this post


Link to post
Share on other sites
Alexander Piechotta
I'm looking for mql4 GMTOffset function with parameterGMT.Diff by RickD. Я ищу mql4 GMTOffset функции с параметром GMT.Diff к RickD.

 

Я открыл код. :flower2:

 

#property copyright "© RickD 2006-2007"
#property link      "www.e2e-fx.net"

int GMT(int hr, int diff) 
{
 int res = hr + diff;
 if (res < 0) res = 24 + res;
 if (res > 23) res = res - 24;

 return (res);
}

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×