MetaTrader 4 Build 600 with Updated MQL4 Language and Market of Applications Released - page 6

 
Btw, MQ still has not removed the 32 instances limit in Build 600 mentioned here already: https://forum.mql4.com/60075/page36#901744 Please help with removing this limit by sending service tickets via MQL5.com asking to remove this limit :(
 
SDC:

I think there is probably an issue with your EA did you check the log files for errors and such ?

I wrote a simple EA to test the new version. It makes a new trade every time the previous one ends. EA includes some randomization so total amount of trades will vary between tests. I ran the test a few times without making any changes to the test parameters. I think the first time takes longer total time because it was the first test on the new terminal. It probably created new files or something. I am not sure why the first test processed a different amount of bars/tick events/bar states though. All four tests were the same 1 week test, over the same dates. That might be something to watch out for, I'm going to change the dates and see if that happens again.

Backtest length: 1 week. Pair: EURUSD. Timeframe: H1.

Test 1: EURUSD,H1: 174530 tick events (488 bars, 174898 bar states) processed within 593 ms (total time 30842 ms)

Test 2: EURUSD,H1: 174237 tick events (1120 bars, 175237 bar states) processed within 577 ms (total time 4976 ms)

Test 3: EURUSD,H1: 174237 tick events (1120 bars, 175237 bar states) processed within 749 ms (total time 5179 ms)

Removed all debugging print statements prior to test 4 made it go a lot faster:

Test 4: EURUSD,H1: 174237 tick events (1120 bars, 175237 bar states) processed within 343 ms (total time 4665 ms)

Update: New Test Dates: 2 weeks this time.

Test 1: EURUSD,H1: 307786 tick events (1239 bars, 308786 bar states) processed within 624 ms (total time 5304 ms) 1817 trades.

Test 2: EURUSD,H1: 307786 tick events (1239 bars, 308786 bar states) processed within 624 ms (total time 5226 ms) 1854 trades.

Test 3: EURUSD,H1: 307786 tick events (1239 bars, 308786 bar states) processed within 655 ms (total time 5226 ms) 1831 trades.

Test 4: EURUSD,H1: 307786 tick events (1239 bars, 308786 bar states) processed within 608 ms (total time 5117 ms) 1828 trades.

Test was consistant this time, I would rate the performance as pretty good. It was 90% modeling quality too.




Thank you for your comparison. My tests and dates has a much longer history.

From 2011 until 2014 for SPX500, M30. 28 000 bars and "Open prices only" and only 150 trades.

The difference is perhaps in initiation of the EA. The new profiler (which displays only 3 rows for me) says it spends 80% in initiation.

I've managed to reinstall the old version.

 
forexgeeker:
Btw, MQ still has not removed the 32 instances limit in Build 600 mentioned here already: https://www.mql5.com/en/forum/148851/page36#901744 Please help with removing this limit by sending service tickets via MQL5.com asking to remove this limit :(

Better ask brokers, let them ask and push MQ if necessary. Service Desk usually will silent to us anyway.


 

why i can't compiling ? anyone can help me ?

 
fxmini:

why i can't compiling ? anyone can help me ?


https://www.google.co.uk/search?q=%22cannot+create+interface+of+MQL+compiler%22

 

From yesterday that I updated MT4 to the new version, I keep receiving "EX4 write error" in Metaeditor for every single indicator that I have. Anybody knows how can I solve it?

 
d.saravana21:
I was using the Code

which code should i have to use for file path?


with Regards

Saravana

alexvd:

The best way is

What if someone is using /portable mode? what is the function for installation folder's root file path?

Would the EA have to be written to check both places, in case someone is using /portable mode?

 
Any idea, how to refresh the market pane? I have a VPS, that is connected to the same MT4 server as my local computer, but the VPS displays the market with different number of items - missing the new ones. Restarting the MT4 does not help.
 

Hmm!


While struct MqlStr not change, it still is char * ;

struct MqlStr
  {
   int               len;
   char             *string;
  };

But when I transfer to handle string MqlStr (char *), then it returns wchar_t * ;

wchar_t * -> char * -> wchar_t * -> char * -> ... it's really crazy;

 
samps:

From yesterday that I updated MT4 to the new version, I keep receiving "EX4 write error" in Metaeditor for every single indicator that I have. Anybody knows how can I solve it?

Where did you install MT4? If you install to the Program Files folder there can be problems with the security features of Windows.

I recommend install to the c: directory with each instance in a different folder.. I have over 12 instances of MT4 for different brokers with no problems yet. Will wait and see when they are old forced to upgrade.

Reason: