Here is the TradeStation code if anyone is interested. I am getting similar results to mcshort so I assume that I got the code right for the most part. If there are any errors, please feel free to point them out and I can repost it. I will also post the trades since Jan 2000 for SPY and QQQ. I'd be interested to know if I got the same ones as you mcshort.
Since it doesn't trade very often, the sample size is really too small to judge robustness. The test was run using 100 share lots and deducted 1 cent per share commissions. Due to the small quantity of signals, the returns are small, but of course they beat the heck out of buy and hold since 2000.
Also, I am only taking 1 position with this code, so the exit is coming at the 1 ATR target level. You would need to add the multiple exit portion to get the same trades that mcshort is getting.
Since it doesn't trade very often, the sample size is really too small to judge robustness. The test was run using 100 share lots and deducted 1 cent per share commissions. Due to the small quantity of signals, the returns are small, but of course they beat the heck out of buy and hold since 2000.
Also, I am only taking 1 position with this code, so the exit is coming at the 1 ATR target level. You would need to add the multiple exit portion to get the same trades that mcshort is getting.