# MA Cross

A simple trend-following Expert Advisor that generates buy/sell signals based on moving average crossovers.

Canonical: https://prismaticalgos.com/compendium/algo/10915-ma-cross
Record ID: 10915
Catalog rank: 89 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trend Following & Directional (A)
Source: https://www.mql5.com/en/code/78686
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

No automated warnings recorded; this is not validation.

## Recorded profile

- symbols: Not specified
- timeframes: current chart by default
- sessions: Not specified
- market_regime: trending

## Indicators

- EMA: {"period": 10}; applied to: close
- EMA: {"period": 30}; applied to: close

## Recorded long-entry rules

- fast MA crosses above slow MA on closed bars (fast ≤ slow on bar 2 and fast > slow on bar 1)

## Recorded short-entry rules

- slow MA crosses above fast MA on closed bars (slow ≤ fast on bar 2 and slow > fast on bar 1)

## Recorded exit rules

- opposite signal closes the position and opens the opposite one

## Recorded filters

- free margin check
- spread filter
- retries on requotes and price changes
- indicator handles released in OnDeinit

## Risk controls

- Stop loss: in points, 0 = none
- Take profit: in points, 0 = none
- Position sizing: Lot (fixed) – 0.10
