# Millenium Code

A simple system based on opening one trade per day using moving averages crossover and price conditions.

Canonical: https://prismaticalgos.com/compendium/algo/1441-millenium-code
Record ID: 1441
Catalog rank: 1760 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trend Following & Directional (A)
Source: https://www.mql5.com/en/code/13995
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.; DAILY_LOW_COUNT: daily-or-slower timeframe on a single instrument. Expect well under 100 trades in five years, so a backtest will rarely reach statistical significance on its own.

## Recorded profile

- symbols: any
- timeframes: D1
- sessions: any
- market_regime: trending|volatile

## Indicators

- MA: {"period": "Fast MA"}; applied to: close
- MA: {"period": "Slow MA"}; applied to: close

## Recorded long-entry rules

- yFastMAprice < ySlowMAprice && FastMAprice > SlowMAprice && Ask > SlowMAprice && Ask > FastMAprice && pL1 < SlowMAprice && pL1 < FastMAprice

## Recorded short-entry rules

- ...

## Recorded exit rules

- ...

## Recorded filters

- ReverseSignal

## Risk controls

- Stop loss: not specified
- Take profit: not specified
- Position sizing: not specified
