connolly
19th April 2006, 08:16 PM
I think I may have a 'look ahead error' and I am not sure if it is in the MS or TS part of my program. The custom formula I created in MS calculates on the last day of data which I think means that it has no Look-Ahead elements. Is this always true?
I have a problem because get different trades in my final MS/TS simulations in forward tests v. back tests. When I eliminate all data after 2/28/06 and run a MS/TS test, I get identical trades until I get closer to 2/28 than if I run a test as of today 4/18/06 and look at the Trade Log for trades before 2/28. This phenomenon happens no matter what my end date.
Since I use no random elements or settings, and the Trade Databases are the same for both the shorter and longer tests before 2/28, something must be "seeing" that something is different after 2/28 for the two tests- No?
I have a problem because get different trades in my final MS/TS simulations in forward tests v. back tests. When I eliminate all data after 2/28/06 and run a MS/TS test, I get identical trades until I get closer to 2/28 than if I run a test as of today 4/18/06 and look at the Trade Log for trades before 2/28. This phenomenon happens no matter what my end date.
Since I use no random elements or settings, and the Trade Databases are the same for both the shorter and longer tests before 2/28, something must be "seeing" that something is different after 2/28 for the two tests- No?