Z12 and Oanda: !trade not open

Posted By: jj02520024

Z12 and Oanda: !trade not open - 03/28/20 00:38

Hi, I'm running the Z12 strategy with Oanda. I'm using the following settings in z.ini (US account):

NFA = 1
FXOnly = 1
Phantom = 1
Hedge = 5
StopFactor = 0

In the attached transaction log from Oanda, two trades are opened successfully and filled under tickets 32 and 35. However, in the Zorro log, I'm repeatedly getting "!trade not open - 32" and "!trade not open - 35" back from Oanda. Why? Is the algo trying to close these trades, but can't?

I tried out everything I can think of in TradeTest.c, including partial closing of trades using Hedge = 5 and NFA = 1 and don't get any errors.

Attached picture Log.PNG
Attached picture OandaLog.PNG
© 2024 lite-C Forums