FactorSage

Technical Signals · Lesson 2.4

EMA crossovers

A crossover signal fires only on the day one indicator crosses another, rather than every day the comparison is true. It captures the transition itself.

The crossover operators

FactorSage exposes CROSSES_ABOVE and CROSSES_BELOW operators in the strategy builder. They evaluate true only on the bar where the crossover happens, not on every subsequent bar.

Two practical examples

  • EMA_21 CROSSES_ABOVE EMA_50 — a fast-line-over-slow-line bullish trigger.
  • PRICE CROSSES_BELOW DAILY_EMA_100 — a momentum break used as an exit.