• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 1:01am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 1:01am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

MT4 build 1220 EA running OK, build 1260 not OK 1 reply

Need MT4 765 Build Setup Files 9 replies

Weird, only M30 timeframe missing candles/data (v4 build 765) 4 replies

MT4 Compiler Build prior to Build 6xxx 7 replies

Bug reports for MT4 build 600+ 22 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe

Major bug in MT4 build 765

  • Post #1
  • Quote
  • First Post: May 12, 2015 5:41am May 12, 2015 5:41am
  •  roel13
  • | Joined Jun 2014 | Status: Member | 147 Posts
Run POC.mq4 (code below) by attaching it to an M1 chart. The run time on my machine is about 10 seconds. Check Experts tab. Now, remark the last Print line (i.e. Print(_Time)) and re-run. It now takes only one second. Clearly something is very wrong. Note the print is not in the loop, nor in the actual duration reporting. I tried forwarding this to MetaQuotes, hopefully they will fix this.

Inserted Code
#property strict
void OnInit(){
  go();
  ExpertRemove();
}
 
void OnTick(){}
 
void go(){
  datetime _Time;
  int start=int(GetTickCount());
  for(uint i=0;i<999999999;i++){
    _Time=datetime(Time[0]);
  }
  Print(string((GetTickCount()-start)/1000)+"s");
  Print(_Time);
}
Not financial advice. For testing purposes only. Do not use on live account
  • Platform Tech
  • /
  • Major bug in MT4 build 765
  • Reply to Thread
0 traders viewing now
Top of Page
Forex Factory Blog Updated: Alerting All Members
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2022