- Joined
- 28 May 2020
- Posts
- 127
- Reactions
- 229
Hi,
I'm backtesting a system, here is a code excerpt:
In all cases, the first column in SetSortColumns is a Date column.
However, this sorts in character order, not chronological order.
See attached screenshot.
Thanks,
Linus
I'm backtesting a system, here is a code excerpt:
// Set Column Sort Order
switch(Status("action")) {
case actionScan:
SetSortColumns(3, 2, 4);
break;
case actionExplore:
SetSortColumns(2, -3, -4, 7);
break;
case actionBacktest:
SetSortColumns(3, 2);
break;
}
In all cases, the first column in SetSortColumns is a Date column.
However, this sorts in character order, not chronological order.
See attached screenshot.
Thanks,
Linus