Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
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
3 registered members (vicknick, howardR, sleakz), 674 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
BUG in MT4 Bridge #461012
07/22/16 17:38
07/22/16 17:38
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline OP
Senior Member
Grat  Offline OP
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
Hi,

i found BUG in the MT4 Bridge. This can be reproduce every time:

a) Load MT4 bridge into MT4 scrap - OK, without problem
b) switch the MT4 button Auto Trading .> OFF

MT bridge wrote error:
Quote:
Access violation write to 0x000001C8


So, this error get every time, if is "Auto Trading" disabled. Zorro expert in the MT4 look without problem.
But connect is possible only if remove expert and load expert again.

Before loading the Zorro expert must be "Auto Trading" ON

version: Zorro Bridge 1.9.
Zorro S 1.46.3 Trading Automaton
Made with Gamestudio by oP group 2015



regards,
Milan

Attached Files Sni?mek obrazovky 2016-07-22 v 23.27.04.png
Re: BUG in MT4 Bridge [Re: Grat] #461092
07/25/16 10:59
07/25/16 10:59
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Normally it crashes already when you move the Zorro EA in the chart window and have not set "Allow automated trading" in the options or with the Auto Trading button. You see then the message "Error - see log" in the chart window. Since this happens in the bowels of MT4, we have no easy workaround. So always set EA options according to the instructions in the manual for installing the bridge.

Re: BUG in MT4 Bridge [Re: jcl] #461142
07/26/16 17:13
07/26/16 17:13
Joined: Apr 2016
Posts: 27
Frankfurt, Germany
M
MIGI Offline
Newbie
MIGI  Offline
Newbie
M

Joined: Apr 2016
Posts: 27
Frankfurt, Germany
if you want to make it a bit more user friendly, you can add some lines of code in the EA:

if ( !IsConnected() ) { Alert( "Not connected" ); return; }
if ( !IsDllsAllowed() ) { Alert( "DLLs not allowed" ); return; }
if ( !IsExpertEnabled() ) { Alert( "Expert not enabled" ); return; }
...

Last edited by MIGI; 07/26/16 17:15.
Re: BUG in MT4 Bridge [Re: MIGI] #461444
08/05/16 15:59
08/05/16 15:59
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline OP
Senior Member
Grat  Offline OP
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
hi,

i found better solution.


void OnDeinit(const int reason)
{
if(UninitializeReason() == REASON_REMOVE) { //!= REASON_CHARTCHANGE) {
ObjectsDeleteAll();
g_Running = false;
ZorroExit();
}
}

Re: BUG in MT4 Bridge [Re: Grat] #464744
03/08/17 01:39
03/08/17 01:39
Joined: Nov 2016
Posts: 69
USA
J
jrath Offline
Junior Member
jrath  Offline
Junior Member
J

Joined: Nov 2016
Posts: 69
USA
thanks for this


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