Here's the TS2000i code for a system posted a while ago on Chuck Le Beau's forum. It is a basic breakout system that modifies its behaviour according to changes in longer-term (LT) versus short-term (ST) volatility. I managed to get some quite respectable results from this on indices (eg SPX), but not futures.
You will need to experiment with the parameters and the time-frame of the charts you use - it is possible to obtain some good theoretical results. But would you trade it in practice?
inputs: len(5), LT(21), ST(6), Price(Close);
vars: activity(0), factor(0), Breakout(0);
activity = xaverage(truerange, len);
factor = xaverage(TrueRange, LT)/xaverage(TrueRange, ST);
Breakout = activity * factor;
If marketposition <> 1 then buy Price + Breakout stop;
If marketposition <> -1 then sell Price - Breakout stop;
Paul
You will need to experiment with the parameters and the time-frame of the charts you use - it is possible to obtain some good theoretical results. But would you trade it in practice?
inputs: len(5), LT(21), ST(6), Price(Close);
vars: activity(0), factor(0), Breakout(0);
activity = xaverage(truerange, len);
factor = xaverage(TrueRange, LT)/xaverage(TrueRange, ST);
Breakout = activity * factor;
If marketposition <> 1 then buy Price + Breakout stop;
If marketposition <> -1 then sell Price - Breakout stop;
Paul