A/ attached script cannot be imported, you must copy its contents to custom directory and then compile the strategy, because script uses methods from UserDefinedMethods.cs.
Bugs:
1/ in beta15 and beta16 this script (AC05V02) freezes and I must kill NT process in task manager.
It happened to me on these market replay data:
EURGBP, 15 Min timeframe, time: 20.7.2009 12:32:54 or 10.7.2009 2:16:53
BUT in beta 13 it works just fine IF there is no lot size defined (is different from default 1 - see question 2) - Why? Is there a bug in the script or in NT7 beta versions?
2/ The same script returns strange error if I want to set specific lot size for forex market (we want to trade on minilots at forex.com). For futures it is not necessary to set as the 1 contract is just fine for futures.
It opens a position (see the picture) and when closing this position-cut-in-parts it returns errors (see attached pictures).
It happened on market replay data, EURGBP, 15Min timeframe, Time: 6.7.2009 19:18:00
I asked before about this issue and someone answered me this:
,, When you are simulating if you do not want partial fills you should check the option to enforce immediate fills and uncheck the option to have partial fills in Tools>Options.,,
So I unmarked ,,enforce partial fills,, and marked ,,enforce immediate fill,, but the problem persists. Respectively the two trades are not going to be opened (as on one picture with 1+ 99 999 trades) but instead only one (0,1M trade) trade is opened. BUT the problems when closing the position persist.
Thank you in advance for your help, without that, we cannot go live with some of our strategies (we have the same problem with all other strategies we developed).
N.
PS. please do not forget that the zip file is not a strategy to be imported but copied.

Comment