# MA Crossover

Detects a crossover between a fast and slow moving average to generate buy/sell signals.

Canonical: https://prismaticalgos.com/compendium/algo/2835-ma-crossover
Record ID: 2835
Catalog rank: 1808 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trend Following & Directional (A)
Source: https://www.earnforex.com/guides/how-to-detect-a-crossover-of-indicators-with-mql4/
Evidence label (unverified): source_code

## Scope and limitations

These are machine-extracted research records, not verified trading systems. Catalog rank measures specification detail and claimed evidence, not profitability. The catalog extraction pipeline did not independently backtest these records. Its separate selected testing ledger does not validate the wider corpus. Rules, labels and parameters can be incomplete or wrong; consult the original source and its reuse terms.

No endorsement, ownership claim or source-code reuse permission is implied.

## Extraction warnings

Build warnings: MT4_ONLY: the captured source is MQL4 / written for MetaTrader 4. It needs porting (order functions, indicator handles) before it runs on MT5.

## Recorded profile

- symbols: any
- timeframes: any
- sessions: any
- market_regime: any

## Indicators

- MA: {"period": 50}; applied to: close
- MA: {"period": 10}; applied to: close

## Recorded long-entry rules

- MASlowPrev > MAFastPrev && MAFastCurr > MASlowCurr

## Recorded short-entry rules

- MASlowPrev < MAFastPrev && MAFastCurr < MASlowCurr

## Recorded exit rules

- not specified in the source

## Recorded filters

- not specified in the source

## Risk controls

- Stop loss: not specified in the source
- Take profit: not specified in the source
- Position sizing: not specified in the source
