Here is the code copied directly from the wiki ladding community components
CODE:
Please log in to see this code.
I am not using my file. I am using a file called Book1.csv which contains these two lines starting at row 1.
QUOTE:
Short,QQQ,25-06-2009,36,25-06-2009,35.5,
Long,AAPL,12-05-2009,18.01,26-05-2009,18.59,
The file excludes headers.
Regarding the checklist.
1) Trade size can be specified in the file, and it is supported using Wealth-Lab version 5.6 and up (optional parameter).
Does not include trade size
2) Here, the separator char is ';' but it also can be any one of these: tab, comma, dot with comma.
separator is comma
3) Here, the date format is dd-MM-yyyy but as stated above, it can be any supported format. Just make sure to pass a correct DateTime description string the method.
Date format is precisely as specified in the wiki
4) The first line of the file can't contain a heading.
See above
5) Empty lines are ignored
Not Applicable
6) The Strategy should be executed in single symbol mode backtest (SSB), not MSB
I don't know what this means.
I have done two things to resolve.
a.) Create a dataset w/ the two symbols (AAPL and QQQ) and I click on that and run backtest and no trades appear.
b.) I open the strategy and click on each symbol individually and no trades appear.
7) Dividend adjustments must be disabled for providers like Yahoo! Finance.
Data provider is FIDO
I also disable the dividend and retry and this does not change the result. (No trades executed)
8) Is your trade trying to enter above the high or below the low of bar?
Data for trades from FIDO
AAPL 5/12/2009 Low:17.61 High 18.53
AAPL 5/26/2009 Low:17.79 High 18.69
QQQ 6/25/2009 Low:35.28 High:36.36
Please see above for my prices.
9) If your position isn't exited properly, check if you tried to exit below the low or above the high.
I don't think this is applicable
10)Does the bar exist in your datasource? Refresh it if required.
Went back to dates on chart mode and bar is there
11)Is the bar range correct? Edit the bar if required
I don't think this is applicable .
12) Is the symbol present in the DataSet?
I created a symbol specific dataset w/ the two symbols present.
I also have the strategy open and type in each symbol individually to trigger a trade which has worked for me in the past
13) 'Index out of range' most likely indicates that the symbol requires updating its data.
Not applicable
14) Are trades being duplicated? Ensure it's not running in a multi-symbol backest (MSB).
Not applicable
Thanks.