Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 177 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 7 1 2 3 4 5 6 7
Re: Brokers incompatible with MT4 bridge? [Re: jcl] #458592
03/21/16 18:15
03/21/16 18:15
Joined: Jan 2016
Posts: 122
V
Veratyr Offline
Member
Veratyr  Offline
Member
V

Joined: Jan 2016
Posts: 122
I switched over to the new bridge (unzipped, refreshed in MT4) and my Zorro instances all started displaying multiple prices in the Server Window while trading. It flicks rapidly between different assets and consistently has an exclamation mark next to it. Switching the tracked asset around a few times seems to stop the flickering but the exclamation mark remains.

I had a look at my server and it turns out MT4 is murdering all the CPUs with the new plugin, which may be related to the exclamation mark. I downgraded all of the MT4 instances to bridge 1.8 and CPU usage went back to normal.

Last edited by Veratyr; 03/21/16 18:27.
Re: Brokers incompatible with MT4 bridge? [Re: Veratyr] #458600
03/22/16 01:17
03/22/16 01:17
Joined: Apr 2014
Posts: 482
Sydney, Australia
B
boatman Offline OP
Senior Member
boatman  Offline OP
Senior Member
B

Joined: Apr 2014
Posts: 482
Sydney, Australia
I am testing the new bridge on my VPS. Running my own script with which I detected this issue originally. Seems to be running OK thus far. Will report back later.

Also, I am trying to run the test script that support supplied. It will no longer run on the same MT4 platform that it was running on with the old bridge and returns the following error after clicking 'Trade':

testScript compiling..............
Login MT4...
!Katalon Market Holding Pty Limited connected at UTC 22.03. 01:14

Loading EUR/USD prices.. no history!
No bars generated
Logout.. ok

Not sure what's going on there. Something of a mystery since this script was running just prior to updating the bridge. In addition, my own script is running on the same MT4 terminal using the new bridge at the same time. I am running Zorro S V1.42. And I confirm that I have updated the DLL in the Plugin folder.

Last edited by boatman; 03/22/16 01:20.
Re: Brokers incompatible with MT4 bridge? [Re: boatman] #458601
03/22/16 01:26
03/22/16 01:26
Joined: Apr 2014
Posts: 482
Sydney, Australia
B
boatman Offline OP
Senior Member
boatman  Offline OP
Senior Member
B

Joined: Apr 2014
Posts: 482
Sydney, Australia
For me too the CPU usage looks unusually high after installing the new bridge. Zorro is now consuming 50% more memory than the MT4 terminal (!), which is itself a very resource hungry application.

This implies that I wouldn't be able to run more than 1 or 2 Zorro instances on my VPS.

jcl, can this be improved?

Re: Brokers incompatible with MT4 bridge? [Re: boatman] #458604
03/22/16 06:10
03/22/16 06:10
Joined: Jan 2016
Posts: 122
V
Veratyr Offline
Member
Veratyr  Offline
Member
V

Joined: Jan 2016
Posts: 122
To be clear, for me at least, the CPU usage is all on the MT4 side of the bridge. Zorro didn't seem to be unusually bad itself but each MT4 instance had a full CPU core pegged (and these aren't pushovers, they're all on a Xeon E5-2687W).

Re: Brokers incompatible with MT4 bridge? [Re: Veratyr] #458605
03/22/16 07:57
03/22/16 07:57
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
The Zorro memory consumption can not be improved by a bridge version, but by using less series in the script.

The CPU usage by MT4 with 1.9 is indeed 30% higher - with Bridge 1.9 it's 5.5% CPU load, compared to 4.1% with bridge 1.8. This can be reduced on the MT4 side by setting eventsetmillisecondtimer() to a higher value, like 100. And on the Zorro side you could reduce the load with a higher ticktime, but that would not be noticable since the Zorro CPU load is normally in the 1% area.

Katalon did not work for us anymore since Sunday, unrelated to the bridge. We assumed their server is down. But we'll check that again.

Re: Brokers incompatible with MT4 bridge? [Re: jcl] #458607
03/22/16 09:21
03/22/16 09:21
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
We're still having the same problems with Katalon. Sometimes it connects to their MT4 server, but after a few minutes it reports "Invalid account". This is unrelated to the bridge, it happens with just plain MT4. A new account can also not be opened. Whatever it is, it could be the reason why the historical data was unavailable.

Re: Brokers incompatible with MT4 bridge? [Re: jcl] #458611
03/22/16 10:25
03/22/16 10:25
Joined: Apr 2014
Posts: 482
Sydney, Australia
B
boatman Offline OP
Senior Member
boatman  Offline OP
Senior Member
B

Joined: Apr 2014
Posts: 482
Sydney, Australia
I have been connected to Katalon via my original script all day. Nothing strange printed in the log file. But when I hit 'Result" I get the following chart, which is really strange:



It looks like it is now registering a bad tick on the downside. The chart is also printed from 17 March - the script was only started earlier today (22 March). The EUR/JPY chart at least shows some clean price history, but again it doesn't show the price history from when the script was started. I am not zooming the plots in the script.


Re: Brokers incompatible with MT4 bridge? [Re: boatman] #458613
03/22/16 10:35
03/22/16 10:35
Joined: Apr 2014
Posts: 482
Sydney, Australia
B
boatman Offline OP
Senior Member
boatman  Offline OP
Senior Member
B

Joined: Apr 2014
Posts: 482
Sydney, Australia
I get the same message as before when trying to run the test script that support provided on a different broker via MT4 bridge 1.9:

testScript compiling...............
Login MT4...
!Royal Financial Trading Pty Ltd connected at UTC 22.03. 10:33

Error 053: EUR/USD unavailable!
No bars generated
Logout.. ok

Re: Brokers incompatible with MT4 bridge? [Re: boatman] #458617
03/22/16 11:20
03/22/16 11:20
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
I can not see a downtick in your chart, but it is hard to tell due to the low resolution. I see a yellow line from an indicator starting at zero. Can you check if there is really a downtick or not? Maybe during the weekend? The start date of your chart depends on your lookback period.

Re: Brokers incompatible with MT4 bridge? [Re: boatman] #458618
03/22/16 11:20
03/22/16 11:20
Joined: Apr 2014
Posts: 482
Sydney, Australia
B
boatman Offline OP
Senior Member
boatman  Offline OP
Senior Member
B

Joined: Apr 2014
Posts: 482
Sydney, Australia
So why does the test script that worked fine on V 1.8 no longer work on V 1.9? What has changed? Its not the broker since I am connected to them via the bridge (different script) right now. Plus I have tried it on a different broker and got the same result.

Page 3 of 7 1 2 3 4 5 6 7

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1