Originally posted by jboydston
Does anyone know how to speed up optimization on TradeStation 6?
TS4 was really slow. TS2000i runs a bit quicker. I'd hope that TS6 is slightly faster still. Yes, optimizations are really slow. Compared to other software packages, it's painful to watch TS run through any size optimization. I've compared the same optimization on a 1.9G machine w/ 512M RAM with a 667M machine w/ 512 RAM. *Slightly* faster, but not by much.
Some points that might help:
Make sure your code is very clean. For example, instead of calling a function twice, create a variable that will store the value of the function. This helps speed up the code. An example: consider the Stochastic RSI. Instead of saying StoRSI=(RSI()-Lowest(RSI()))/(Highest(RSI())-Lowest(RSI())), use a varaible like LWST=Lowest(RSI()) and RelStrength=RSI(), then insert those into your code. You'll find these opportunities in many places.
Manage your number of trials. Perhaps take a large step sample (step size = 10 instead of 1), then take a subset of interest using a smaller step size. Or you can code one variable as a function of another to limit your optimization steps. A simplistic example is a two MA crossover system. Instead of testing MA1 from 10 to 100 and MA2 from 10 to 100 (yielding 91*91 trials), you could say MA2=0.1*MA1. Then vary that 0.1 from 0.1 to 1.0 (yielding 91*10 trials).
This is probably not the answer you are looking for, but I haven't found any hardware solutions that appreciably speed things up.
If you hear otherwise, please let me know!