Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Ayumi), 662 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Requote in Z strategies? #425514
07/07/13 07:59
07/07/13 07:59
Joined: Jun 2013
Posts: 15
C
cbase Offline OP
Newbie
cbase  Offline OP
Newbie
C

Joined: Jun 2013
Posts: 15
Since Thursday, I have been running Z5 on a small live account. Friday, I noticed the following in the log:

Quote:
(EUR/CHF::S) Entry stop 1.2338 hit at 12:29...
(EUR/CHF::S) 12:29 Can't open 6@1.2338


At the same time, in the MetaTrader EA journal:

Quote:
2013.07.05 14:29:20 Zorro EURCHF,H1: Open EURCHF 0.06@1.2335 stop 1.3091
2013.07.05 14:29:26 stdlib EURCHF,H1: loaded successfully
2013.07.05 14:29:26 Zorro EURCHF,H1: Order failed - requote


... and the general MetaTrader journal:

Quote:
2013.07.05 14:29:26 '34316' requote 1.2332 / 1.2335 for open sell 0.06 EURCHF at 1.2335 sl: 1.3091 tp: 0.0000


The same trade was entered three hours later and concluded successfully.

I thought the MT4 plugin handles requotes automatically? Was the requoted price too bad so that the script simply discarded it?

Apart from the fact that I really should be trying this on an ECN account, I was wondering how this will affect the performance of the trading system. The script apparently noticed the failure, but does it compensate in any way (or does it even have to compensate)?

Re: Requote in Z strategies? [Re: cbase] #425539
07/08/13 07:03
07/08/13 07:03
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
The plugin handles requotes only insofar as Zorro is notified about them and can then decide in the script what to do. The Z scripts do not enter trades again in case of a requote. Requotes can thus indeed reduce the performance.

For preventing requotes, edit zorro.mq4 and set the "#define SLIPPAGE 10" line to a higher value, such as 30 or 50 instead of 10. In the next update, this value can be determined in pips and will adjust to the number of price digits by the broker.

Re: Requote in Z strategies? [Re: jcl] #425551
07/08/13 11:39
07/08/13 11:39
Joined: Jun 2013
Posts: 15
C
cbase Offline OP
Newbie
cbase  Offline OP
Newbie
C

Joined: Jun 2013
Posts: 15
Thanks, that's what I was looking for ...


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