1. Regarding this code:
// This is the output string that is written to the text file. 'Environment.NewLine' feeds the file to a new line for further writing.
string ohlc = ToDay(Time[0]) + " " + Open[0] + " " + High[0] + " " + Low[0] + " " + Close[0] + Environment.NewLine;
ToDay is an integer value and the Open, High, Low and Close are doubles. Why don't they have to be explicitly converted to strings?
2. When all of the lines are written to the file for the day, I don't see where the file is closed before the text file is opened for reading.
Thanks,
Stephen
Comment