# Simplest EA using DeMarker indicator

Buys when DeMarker crosses over 0.7 and sells when it crosses under 0.3, with fixed lot size, stop loss, and take profit.

Canonical: https://prismaticalgos.com/compendium/algo/1425-simplest-ea-using-demarker-indicator
Record ID: 1425
Catalog rank: 2841 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Unclassified (?)
Source: https://www.mql5.com/en/code/32418
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

Opacity warnings: UNDEFINED ENTRY TERM: the entry conditions are prose naming a concept with no numeric definition, so two readers would implement them differently. Advisory only -- this does not affect the score.
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: M1
- sessions: any
- market_regime: any

## Indicators

- DeMarker: {"period": 8}; applied to: close

## Recorded long-entry rules

- dmrk[0] < OB && dmrk[1] > OB

## Recorded short-entry rules

- dmrk[0] > OS && dmrk[1] < OS

## Recorded exit rules

- OrderCloseTime() != 0

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: Bid - sl * Point
- Take profit: Bid + tp * Point
- Position sizing: lt
