A crossover compares a fast average with a slower average.
Free lesson· Module 08 · 3/31
01 / Core concept
Core concept: Moving average crossover
A crossover compares a fast average with a slower average.
How it works
A bullish crossover is an event when fast was at or below slow and is now above it, rather than every bar with fast above slow. Choose execution after the completed signal. In sideways markets repeated crosses can incur high turnover.
02 / Worked example
Worked example: Moving average crossover
Fast moves from 99 to 102 while slow stays 101.
Values from the example above, in order of appearance. Not a live chart.
Try it yourself: Fast stays above slow for five bars. How many new crosses necessarily occurred?
Explanation: None after the original crossing, unless the relationship changed again.
03 / Risk and limitations
Limitations and common mistakes
Whipsaws can dominate in ranges.
Separate the observation from the trading decision. Test the rule with realistic execution and costs; a hypothetical example is not evidence of a profitable strategy.
Before you begin: Calculate fast and slow moving averages.
Define the crossing event
Separate state from signal
Align execution after completed data
Mechanism and interpretation
A bullish crossover event requires the fast average to move from at or below the slow average to above it under this convention. Remaining above is a state, not a new crossing every bar. Equality handling affects events near the boundary. If averages use a closing price, the event is known only after that close. Entry assumptions must then respect available execution prices instead of automatically using a price observed before confirmation.
Worked case — synthetic data
Synthetic fast-minus-slow differences are −0.4,0,0.2,0.5,−0.1. The bullish event occurs at the third observation, because the previous difference was nonpositive and the current one positive. The fourth observation remains bullish but is not another event. The fifth is a bearish cross under the mirrored rule. Repeated reversals around zero illustrate whipsaw in a sideways market.
Context and failure modes
Fast and slow averages share inputs, and parameter combinations can be heavily correlated. Testing many pairs on one sample and selecting the best can overfit apparent performance.
Practice task
Apply the bullish rule to differences 0.1,0.2,0,0.3. Identify the event index.
Worked practice answer
Only the fourth observation creates a new event: its predecessor is zero and it is positive. The first positive value has no prior value supplied, so an initial crossing cannot be inferred.
Topic assessment
Choose an answer before opening each explanation. These questions test the specific mechanism in this lesson.
1. What distinguishes a signal from an above-average state?
A rising candle body alone
A transition across the boundary
Any positive fast-minus-slow difference
Reveal answer and explanation
B. Crossovers require a relationship on two consecutive observations.
2. When is a close-based crossing known?
At the bar's earlier low
Before the fast average is calculated
After the close is available
Reveal answer and explanation
C. The close is an input to both the value and event.
3. What is whipsaw here?
Repeated opposing crossings with little sustained progress
A guaranteed trend continuation
The slow average never changing
Reveal answer and explanation
A. Sideways fluctuations can repeatedly switch the relationship.
Further reading
Original TradeViora Academy explanation and hypothetical example. See the primary-reference scope below. External resources do not endorse or independently verify this lesson.
Inspect actual provider-hosted market prices or load your own historical OHLCV in the Market Chart Lab. For volume-at-price and bid/ask analysis, use the profile workbench with appropriate data. These are exploration tools, not verified historical examples of this specific lesson.
Source scope
The explanations, definitions used for chart labels, synthetic cases, and exercises above are original. Exchange documentation is a reference for order mechanics; it does not validate a chart strategy or identify trader intent. Indicator documentation provides formula context where applicable.