Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Dico, AndrewAMD, TipmyPip, NewbieZorro, Grant), 15,791 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
z2nfa could not close trade on Oanda MT4 #425091
06/26/13 16:24
06/26/13 16:24
Joined: Jun 2013
Posts: 6
F
freedom0x0 Offline OP
Newbie
freedom0x0  Offline OP
Newbie
F

Joined: Jun 2013
Posts: 6
Hi,

I am runnig demo using z2nfa script on oanda mt4 using the mt4 plugin provided in zorro 1.10.
The script managed to open trade but having issue in closing trade.
There is print out message in log
Can't close 1@0.9343 at 12.21

Anyone encounter similar issue before?

Re: z2nfa could not close trade on Oanda MT4 [Re: freedom0x0] #425092
06/26/13 16:35
06/26/13 16:35
Joined: May 2013
Posts: 87
Boone, NC USA
G
GlennR Offline
Junior Member
GlennR  Offline
Junior Member
G

Joined: May 2013
Posts: 87
Boone, NC USA
I've seen it a few times, but it has always closed a few seconds later after it has tried again.


???
Re: z2nfa could not close trade on Oanda MT4 [Re: GlennR] #425093
06/26/13 17:26
06/26/13 17:26
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
You can normally see the reason in the message under the MT4 "Experts" tab - for instance, off quotes or similar.

Re: z2nfa could not close trade on Oanda MT4 [Re: jcl] #425125
06/27/13 10:55
06/27/13 10:55
Joined: Jun 2013
Posts: 6
F
freedom0x0 Offline OP
Newbie
freedom0x0  Offline OP
Newbie
F

Joined: Jun 2013
Posts: 6
Hmm..
In the experts log,it says
"Hedging is prohibited"

Re: z2nfa could not close trade on Oanda MT4 [Re: freedom0x0] #425126
06/27/13 11:05
06/27/13 11:05
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Z2nfa is not supposed to hedge.

Please check the trades: do you have the same number of trades in MT4, as in Zorro? Was there an open trade in opposite direction of the trade that could not be closed?

Re: z2nfa could not close trade on Oanda MT4 [Re: jcl] #425131
06/27/13 12:53
06/27/13 12:53
Joined: Jun 2013
Posts: 6
F
freedom0x0 Offline OP
Newbie
freedom0x0  Offline OP
Newbie
F

Joined: Jun 2013
Posts: 6
There is 2 sell trade on usd/chf (opened at the same time) and 1 sell trade on usd/jpy and 1usd/eur
Total trade is 4 with is the same between zorro the the mt.
Just before the closing error message.
There is a message log "Stop Loss"
Then it continue log the message "Cant close 1@0.9xxx at xx:xx"

Last edited by freedom0x0; 06/27/13 12:53.

Moderated by  Petra 

Gamestudio download | 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