# SMA crossover on multiple timeframes

Enters long when short-term SMAs on 2h and daily timeframes cross above long-term SMAs, and enters short when they cross below.

Canonical: https://prismaticalgos.com/compendium/algo/3572-sma-crossover-on-multiple-timeframes
Record ID: 3572
Catalog rank: 2530 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trend Following & Directional (A)
Source: https://www.prorealcode.com/topic/medie-mobili-su-diversi-time-frame-2/
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: Daily, 2h
- sessions: Not specified
- market_regime: any

## Indicators

- SMA: {"period": 5}; applied to: close
- SMA: {"period": 10}; applied to: close

## Recorded long-entry rules

- Not LongOnMarket AND Sma5h2 > Sma5h2[1] AND Sma5Daily > Sma5Daily[1] AND Sma10h2 > Sma10h2[1] AND Sma10Daily > Sma10Daily[1]

## Recorded short-entry rules

- Not ShortOnMarket AND Sma5h2 < Sma5h2[1] AND Sma5Daily < Sma5Daily[1] AND Sma10h2 < Sma10h2[1] AND Sma10Daily < Sma10Daily[1]

## Recorded exit rules

- LongOnMarket AND (S3 OR S4)
- ShortOnMarket AND (L3 OR L4)

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: null
- Take profit: null
- Position sizing: 1 Contract
