Crossover Detector
Detect when one value crosses above or below another.
The Crossover Detector identifies the exact moment when one value crosses another — like a fast moving average crossing above a slow one, or price crossing above an indicator level. Crossovers are among the most widely used signal types in trading.
Why It Matters
A crossover represents a shift in momentum or trend. When a faster indicator crosses above a slower one, it suggests momentum is turning bullish. The crossover itself is the signal — not just the position of one value relative to another.
Settings Explained
Source A — The first value in the comparison. This can be the output of any indicator block (like an EMA value) or price itself.
Source B — The second value. The crossover triggers when Source A crosses Source B.
Direction — Whether to detect bullish crossovers (A crosses above B), bearish crossovers (A crosses below B), or both.
Look Back Mode — How far back to search for crossover events.
Example Use Case
You connect a 9-period EMA (Source A) and a 21-period EMA (Source B). When the 9 EMA crosses above the 21 EMA, the Crossover Detector fires a bullish signal. When it crosses below, it fires bearish. This classic crossover system catches momentum shifts.
Crossovers work best in trending markets. In ranging conditions, the sources will cross back and forth frequently, generating whipsaw signals. Add a trend filter (like ADX above 25) to reduce false triggers.
