I've made a simple test based on SampleMACrossOver strategy tester code.
When adding simple C# code to append text in a file, the basket test results (33 symbols) generating inconsistent "COMBINED RESULT" and it's details.
If removing the statement, the results always consistent. Also, the same code work correctly under NT6.
Only following was added as a first line under "OnBarUpdate":
PrintInfo("c:\\process3.txt","file is process3");
The sub is:
private void PrintInfo(string fname, string msg)
{
StreamWriter SW;
SW=File.AppendText(fname);
SW.WriteLine(msg);
SW.Close();
}
Thanks for your support.
--------------------------------
NT version 7.0.0.20.
Comment