I found your program and tested it out.
Initially I had a problem with readdata when I clicked on execute after selecting an input CSV file on the first screen. Matlab returned the following error:
??? Undefined function or method 'readdata' for input arguments of type
Error in ==> CSVconvert>execute at 126
[TheData TheName] = readdata(tempname);
??? Error while evaluating uicontrol Callback
As a work around, I copied the contents of TradingStrat into the CSV folder. This seemed to work.
Then, while using your STE.csv file:
I found that if I removed all data after 6/11/10 15:32, The data range is incorrectly displayed as 2/11/10 to 6/10/10.
If I add anymore data points from 6/11/10 after 15:32, the range is fine.
I found that if I removed all data after 6/10/10 15:36, The data range is incorrectly displayed as 2/11/10 to 0/69/10
(which I assume is a formatting error combined with the incorrect date). If I add anymore data points from 6/10/10 after 15:36, the range is fine.
I found that if I removed all data after 6/09/10 15:35, The data range is incorrectly displayed as 2/11/10 to 0/68/10.
If I add anymore data points from 6/09/10 after 15:35, the range is fine (although there is still the formatting error of 0/69/10).
In conclusion, it seems as though the correct day is not registered until some time after 15:30pm. Any ideas?
I have been using matlab for one day so unfortunately I do not have the knowledge to fix these errors! Any input you could provide would be greatly appreciated.
Thanks again for posting this program.