Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, 7th_zorro), 923 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 4 of 7 1 2 3 4 5 6 7
Re: Brokers incompatible with MT4 bridge? [Re: boatman] #458619
03/22/16 11:21
03/22/16 11:21
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
I'm just checking that test script that you got. I have also an Outliertest.c here, but it is probably very different to yours.

Re: Brokers incompatible with MT4 bridge? [Re: boatman] #458620
03/22/16 11:22
03/22/16 11:22
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 agree that chart isn't a great example. The resolution is too low. I can't actually see a downtick either but assumed there must be one based on the scale. Those indicators are the same as the ones I was using with the previous version and their values never started at zero (they are based on HH() and LL()).

Re: Brokers incompatible with MT4 bridge? [Re: jcl] #458622
03/22/16 11:25
03/22/16 11: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
Thanks, I'd appreciate that. I'm running my original script on another broker right now on a VPS with a better resolution. So far so good...the indicator values didn't start from zero. I'm very confused - the plotted results on Katalon were vastly different. I'll keep running the test and see what turns up.

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

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Ok, I've just tested it with your Outliertest script that you got last Friday. I also got the "history missing" message when I started it the first time, due to the usual server delay for uploading a new history. But afterwards the script ran ok.

Do you get the error message consistently with the Outliertest.c? And only with it, not with other scripts such as Z7?

-Update: I just noticed that the script you got has a Lookback period of 1 bar. This could be a hint that there's still something wrong. We'll look into that.

Re: Brokers incompatible with MT4 bridge? [Re: jcl] #458625
03/22/16 11:44
03/22/16 11:44
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
Its just with that test script. And it happens even if I repeatedly click 'Trade'. Doesn't seem to matter which broker I use either.

Last edited by boatman; 03/22/16 11:45.
Re: Brokers incompatible with MT4 bridge? [Re: boatman] #458626
03/22/16 11:47
03/22/16 11:47
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
Update: I just got that script to connect and start trading! I can't explain why it worked, I didn't do anything differently other than close Zorro and restart it, which I had done several times previously. Seems really random and I can't isolate anything that would have changed the bahavior.

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

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Ok. We'll look into that. After all, if such bugs were easy to reproduce, anyone could find them... wink

Re: Brokers incompatible with MT4 bridge? [Re: jcl] #458629
03/22/16 12:08
03/22/16 12:08
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
Thank you. I really appreciate you taking this seriously and responding so quickly to my comments and questions.

Re: Brokers incompatible with MT4 bridge? [Re: jcl] #458635
03/22/16 15:54
03/22/16 15:54
Joined: Jan 2016
Posts: 122
V
Veratyr Offline
Member
Veratyr  Offline
Member
V

Joined: Jan 2016
Posts: 122
Originally Posted By: jcl
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.


That's not at all what I'm seeing. I'm seeing ~20% CPU usage on bridge 1.8 and >100% CPU usage on bridge 1.9. Two instances running bridge 1.9 bring my server to its knees. Far more than a 30% increase.

Re: Brokers incompatible with MT4 bridge? [Re: Veratyr] #458636
03/22/16 16:15
03/22/16 16:15
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
100% usage is not normal, with no bridge. Even 20% is a rather extreme value when you have no gigantic portfolio. Can you post that script?


Page 4 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