Comparing SMA, EMA, breakout and RSI rules
Core concept
Rules represent different hypotheses, not universal buy or sell advice. SMA equally weights closes; EMA emphasizes recent closes; breakout tests prior range; RSI measures relative gains and losses.
Worked example
A fast average crossing a slow average is only known after the observation completes. A breakout rule should exclude the current bar from its reference range.
Practice task
Use the same data, cost model and starting cash to compare all four rules in Algo Lab.
Limitations
Avoid selecting a winner based solely on in-sample net profit. Compare risk, stability and unseen periods.
