Yep, that's the long and short of it. I've done only limited backtesting with Ensign, and this idea isn't that complicated...Quote from no_pm_please: So, I'd go short on a cross below 45 and go long on a cross above 55? Stops on a cross back to avoid a big loss? And use some trailing stop to treat it as a breakout?
Quote from bidask:
can you explain this line in the code?
"if adx(14) < 1.01*(adx(14)[1])"
Quote from bidask:
can you also explain the process you used to find the filters?
Quote from no_pm_please:
I calculated the expected return for 2003 - 2006 using the different approaches to see if a edge was present. Using a 1% risk per-trade with no compounding here's the results.
Original starting method
2003 -7.89%
2004 42.67%
2005 10.7%
2006 -9.77% (through October)
Total expected return 35.71%
Using optimization of 2003 - 2006 the total expected return drops to 25.98%, so choosing a single general purpose number for the variable is a poor strategy.