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
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Ayumi, 7th_zorro, 1 invisible), 1,060 guests, and 5 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
Zorro placed EURUSD trade, but platform placed USDJPY trade #438635
03/19/14 08:14
03/19/14 08:14
Joined: Jul 2013
Posts: 110
B
bfleming Offline OP
Member
bfleming  Offline OP
Member
B

Joined: Jul 2013
Posts: 110
I've been seeing some very strange behavior with a strategy I'm testing.

1) according to the Zorro display window, Zorro placed a EURUSD trade, but the MT4 platform placed a USDJPY trade. The Zorro window shows that it closed the EURUSD trade for a -1.78$ loss, while MT4 shows that the USDJPY trade was closed two seconds after it was opened for the same loss.

2) when Zorro opened that EURUSD trade, the window shows a risk of "Risk 51198 p", however, the strategy uses a SL of 5*ATR(20) on 4-hour bars, so that risk can't be right.

3) the Zorro window shows that the EURUSD target was hit at a price of "47.62", but since EURUSD has never traded at a price like this, this can't be accurate. Nor would this reflect the USDJPY price in any way.

4) the strategy skipped a trade with the message "(EUR/USD:CNTR1B:S) Skipped: Price 1.3933, TP 6.097". Why would it skip this trade?

Here is the relevant info from Zorro's display window:

Quote:
[Tue 18.03. 20:00] 9439 +51 +0
[760] Error 010: Invalid Stop == 121.9499.
[EUR/USD:CNTR1A:S3939] Short 10@1.3933 Risk 51198 p
[EUR/USD:CNTR1A:S3939] Target 10@47.62: -1.78 at 20:00
(EUR/USD:CNTR1B:S) Skipped: Price 1.3933, TP 6.097

[Wed 19.03. 00:00] 9415 +49 +0


And attached is a screenshot of the USDJPY trade the MT4 platform took instead of the EURUSD trade.

EDIT: I noticed that all of this happened after I had changed the time frame of the USDJPY chart the EA was attached to, would this cause this sort of behavior? (Sorry for the separate posts in the Broker forum, I just realized now that these problems might be related).

Attached Files Screen Shot 2014-03-19 at 8.14.43 AM.png
Re: Zorro placed EURUSD trade, but platform placed USDJPY trade [Re: bfleming] #438637
03/19/14 09:13
03/19/14 09:13
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Yes - that's mentioned in the manual. You must disconnect Zorro before you close or modify the EA chart. Otherwise, Zorro will continue to trade with a wrong chart.

This is of course dangerous. I'll notify the MT4 bridge author to detect chart resets and let Zorro terminate with an error message in such a case.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1