By filtering price data with highpass or lowpass filters, it's quite easy to write strategies in just a few lines of code that return about 100% per year with FOREX and CFDs. The simplest strategy I found looks like this (in lite-C)
This strategy with only 9 lines of code returns about 75% with EUR/USD in a 4 years backtest. However it is not really tradeable, as the Sharpe Ratio is only 0.72.
But when combining several such simple filter strategies to a compound strategy that trades simultaneously with many filters and uncorrelated assets, I got up to 300% annual profit and Sharpe ratios up to 3 in a walk forward test. I'm asking myself if even higher profits aren't possible with more sophisticated strategies?
Code:
var *Price = series(price());
var *Trend = series(LowPass(Price,1000));
Stop = ATR(100);
if(valley(Trend)) {
sellShort();
buyLong();
} else if(peak(Trend)) {
sellLong();
buyShort();
}
This strategy with only 9 lines of code returns about 75% with EUR/USD in a 4 years backtest. However it is not really tradeable, as the Sharpe Ratio is only 0.72.
But when combining several such simple filter strategies to a compound strategy that trades simultaneously with many filters and uncorrelated assets, I got up to 300% annual profit and Sharpe ratios up to 3 in a walk forward test. I'm asking myself if even higher profits aren't possible with more sophisticated strategies?