Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (opm), 778 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 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,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
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