A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
It looks like Excel is not the best tool for such analysis, and definitely it is above my capabilities right now. Although I thank you for your time and effort, I appreciate it.
You're right. If you're with Tradestation, you've got some good strategy testing tools. See
https://help.tradestation.com/10_00/eng/tradestationhelp/st_testing/strategy_testing.htm
May I lastly ask you how did you corrected the date formats ?
In the link you supplied in your message in this thread of 23 Mar 2024 10:22:24 PM to TS.xlsx (hopefully:
https://1drv.ms/x/s!AnQVWPhytqkwga0hvM-BdIhtd-rYNw?e=qOrlp8 ) I've done the following:
- Changed the formatting of column A to General
- Scrolled down to the vicinity of row 2290 where you can see a mix of text and numbers in column A, where:
- the text values are unconverted data which Excel failed to convert
- numbers which Excel has converted from text to dates... only it's got them ALL wrong (months/days the wrong way round)
So: see the formula in cell I2286:
=IF(ISNUMBER(A2286),DATE(YEAR(A2286),DAY(A2286),MONTH(A2286))+MOD(A2286,1),DATEVALUE(A2286)+TIMEVALUE(A2286))
which I've copied down for 10 or so cells. You need to copy this up and down for the whole range of data.
This formula says: If column A is a number then swap days and months, otherwise convert the text to date and time using DateValue and TimeValue.
This works well for me here in the UK but it (DateValue) may not work in your locale, so check that the results are correct (the dates/times should flow consecutively). Then only if all is OK, copy/paste-values from column I to column A over the existing data.
If the results are not OK, come back and I'll have a workaround.