I recently switched from FXCM in the US to gainforex.com via MT4.
Zorro is up and running vs. very small live account. It opened 1 lot of short aud/usd last night. Now though it is printing the below warning again and again in the log and also in the Zorro window :
[Tue 14.03.17 12:22] 501 +0 +1 / 1.0638/1.06501.0630/1.0635. [AUD/USD:BB:S3167] Can't close 1@0.75537 at 12:35:12. [AUD/USD:BB:S3167] Can't close 1@0.75560 at 12:58:12. [AUD/USD:BB:S3167] Can't close 1@0.75538 at 13:22:13. [AUD/USD:BB:S3167] Can't close 1@0.75542 at 13:47:13. [AUD/USD:BB:S3167] Can't close 1@0.75573 at 14:13:13. [AUD/USD:BB:S3167] Can't close 1@0.75636 at 14:40:13. [AUD/USD:BB:S3167] Can't close 1@0.75651 at 15:08:13
I found this in the documentation :
Warning 073: Can't close nn lots An exitShort/exitLong command could not be fully executed because not enough trades were open to close the given number of lots.
Ok but what should I do to resolve this ?
I noticed this same warning in Demo before switching to live and I think eventually Zorro was able to close the position. I am trying to get Zorro running properly before increasing size.
Zorro can step around all NFA restrictions - except for low leverage, missing assets, and limited trades - when the NFA flag is set. It must be set for all US based accounts, except when trading through MT4.
What I have found is: Z can happily run for long periods with above settings but when there is a large move in Zs favor - for example last night is USD/CAD then Z would like to open an opposite trade under a new strategy. However the FIFO hedging is not working and I get the dreaded :
[USD/CAD:VO:S5435] Can't close 3@1.33253 at 20:14:31
in the log file. In the MT4 log it says trade prohibited by FIFO rules. Ive reviewed the manual for NFA, Hedge and Phantom settings a few times and I can't see what I could change.
(why the phantom setting called phantom when it only seems relevant to equity curve trading ? )
Yes, of course this is a serious problem - do not trade on a FIFO account with a non FIFO compliant strategy. Check if old trades are always closed before newer trades. Hedge=4 should do that, but also do not use partial closing and make sure to have no remaining open trades from other sessions. You must restart the strategy afresh after changing Hedge mode.