Yikes....it really depends on what you're doing. A moving average is pretty simple....highest high functions are not too bad, but other functions can get more complex. Depending on the complexity of what you're doing, you might consider using Amibroker, QuantStudio, or something similar (there are also ways to send orders from TS to IB). Used to be you could use Wealthlab but no longer....
SSB