Forum

iClose(), iTime(), CopyRates() etc. takes seconds and crashes EA and MT4

To start I could find no reference to this error in the MT4 forum. The Closest thing to it is this post. https://www.mql5.com/en/forum/313720 . I am removing my comments on the MT5 Thread and posting them here. I am getting a failure at iTime. The code has been perfectly for a number of years. That

DLls in Metatrader 4

I have three DLLS I use one is for SQL and built by Sergey Lukin Runs Great ! Thanks for posting it I also TA-Lib-Core.dll and one I made . To prevent mutex I found a post from William Roeder https://www.mql5.com/en/forum/154746 . Works great! Thanks! Here is the question I have two. EA_1 wins

Metatrader History Center shifts the time stamp .

I know it warns me. But why does it do it.....I would like 2 know the logic of this shift. Let me explain how I found out when it shifts. I want 2 make sure my lodgic is sound Step one I Down loaded from Reuters Eikion EE page all of the news events back 2 2005. These are time stamped EST with day

Trying to make it print vertically a label on a button

Trying to make it print vertically a label on a button. Is this possible? ObjectCreate (sObjectName, OBJ_BUTTON , 0 , 0 , 0 ); ObjectSetInteger (lChart_ID,sObjectName, OBJPROP_XDISTANCE ,iPramXDISTANCE); ObjectSetInteger (lChart_ID,sObjectName, OBJPROP_YDISTANCE ,iPramYDISTANCE); //--- set

IsUnitedStatesAccount();

any one know of a function that can tell if the server at the desk is Using US rules or not

Data I have several questions

Question one. each desk has about 2880 bars of data that can be accessed from. iclose, bid[] or copyrates. When does it look at the \history\desk= *.hst files? Question two: When are the *.hst files updated. Upon exiting ? Question three: tools options charts sets the memory pool that metatrader

When using the History data can you delete all data prior to X date on every time frame

I do not want to do it by hand . For that matter can you down load it with a script? I have never found one ever

Time stamps, Historical Data , Daylight savings times,

Ok I am a little confused and thought I understood some of this. These are my assumptions Assumption one: The dealing desk / stp/ whom ever has about 2880 bars or some thing close to that and it is time stamped to dealing desk time. Proof of concept : I came to this conclusion though Spot

Build 628: Can anyone direct me too some code used in metatrader five that will work with metatrader 4 build 628

The Goal is to insure that the data is current and up 2 date before a Copy Rates. is Executed ....I been reviewing this article. https://www.mql5.com/en/docs/series/timeseries_access and would like 2 use some thing similar 2 CheckLoadHistory(InpLoadedSymbol,InpLoadedPeriod,InpStartDate); But I can