Thanks.
Could Metaquotes fix the bug in file Include\Controls\Dialog.mqh that was fixed in MT5 but never in MT4.
There is only 1 line to add (to reflect MT5's file version).
- 2017.04.05
- www.mql5.com
I have noticed that the last 2 updates, including 1310 seems to have made MT4 a lot slower, laggy and consumption of memory is huge compared to previous versions. I'm not sure if it is the inclusion of MT5 community features or what it is but I have not seen this kind of memory/cpu consumption before that.
An Expert Im working on alerts about a failed init, but it's initialized anyway. It's compillable with both mt4 and mt5, and it works fine on mt5. I decided to put return INIT_FAILED on the first line of OnInit. Guess what happened. It was initialized successfully! How is this even possible?! I'm starting to sense a conflict of interest here. My code is, closed source, but I'll bring it here if need be.
edit: I tried with a featureless expert, and it works as expected. I don't understand what you guys did to this build
edit: Attached problematic file.
Another bug!
// Raises an error that i is already defined, but compiles and works fine in MT5. // I beg to revert to the previous build! void OnStart(){ for(int i = 0; i < 100; i++) {} for(int i = 0; i < 100; i++) {} }
Another bug!
void OnStart(){ for(int i = 0; i < 100; i++) {} for(int i = 0; i < 100; i++) {} }
I don't see what the problem is.
Can we expect a fix of the serious Strategy Tester flaw/bug when it is run in OPO mode ?
The comments here explains the problem:
//******************** Start OnTick() *************************************************************************************** void OnTick() { // >>> CAUTION - CAUTION - CAUTION - CAUTION - CAUTION - CAUTION - CAUTION <<< // >>> CAUTION - CAUTION - CAUTION - CAUTION - CAUTION - CAUTION - CAUTION <<< // This EA controls | Open Prices Only |. Tick data is of no interest. This EA trades higher TFs (M30 - D1), it is NOT a scalper. // It rejects all ticks, except for the tick that brings the open price of a new bar on the TradeTimeframe (chart TF). // However due to a bug/limitation of the MT4 backtester (not present in MT5) this EA MUST still be backtested with // Period M1 and Every Tick. In principal it could be tested with Open Prices Only and on Period = TradeTimeframe, but // due to the MT4 tester bug/limitation this results in >>TOTALLY WRONG<< trade results. // // Suspected cause of the problem: The Tester's trade server is only run/called at bar open event. But to properly handle // intrabar events (order close on TP/SL, trigger pending orders etc.) it must run at tick events, apparently it does not! // int NumberOfMainBars = iBars(Symbol(),TradeTimeframe); int NumberOfFastBars = iBars(Symbol(),PERIOD_M1); // Trade Timeframe: if( LastBarCountMain != NumberOfMainBars ) { LastBarCountMain = NumberOfMainBars; TradeTimeframe_Proc();//For calculations that run at chart TradeTimeframe interval } // // In addition we also need to do some processing at shorter interval: if( LastBarCountFast != NumberOfFastBars ) { LastBarCountFast = NumberOfFastBars; Fast_Proc();//For calculations that need shorter interval, primarily Trailing Stop } // //This is for debugging, will run at tick interval: if( !MQLInfoInteger(MQL_TESTER) || ShowMetrics ) { DebugDataToScreen();//Debug } } //******************** End OnTick() *****************************************************************************************
- www.mql5.com
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
The MetaTrader 4 platform update will be released on Thursday, December 10, 2020. This version provides error fixes and platform stability improvements.
In particular, the update fixes an error in the optimization of data connections between client terminals and brokers' data centers.
The new build will be available through the Live Update system.