1) CalculateOnBarClose = false;
2) In OnBarUpdate() I write Time[0]...Close[0] into file stream.
I run my strategy with ES (march) 1 tick.
I found the strange bug in NT. Description:
1) I start my strategy first time. It writes data into file.txt
2) I rename the file.txt to file1.txt
3) I start my strategy second time. It writes data into file.txt
4) I rename the file.txt to file2.txt
When I compare those two .txt files with diff utility I can see that in file1.txt there is no data for approx. 1 min before I started it. This data is present in file2.txt, but not in file1.txt. So, I can figure out that NT pushes history except last minute.
I tried this several times, but got the same result
Here is the screenshot (can't upload it to this forum): http://depositfiles.com/files/p7xk2uahn

Comment