# EA Hedge Average

Triggers buy and sell orders based on Moving Average crossovers and applies filters.

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

Signal warnings: TIME-ONLY ENTRY: the entry conditions reference only clock time or session, with no market condition. This opens positions on a schedule.
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: any
- sessions: Start_Hour=6, End_Hour=20
- market_regime: any

## Indicators

- Moving Average: {"period": 4}; applied to: close

## Recorded long-entry rules

- totalorder(0)<Max_order && Trade_buy && signal==1 && wt!=Time[0]

## Recorded short-entry rules

- totalorder(1)<Max_order && Trade_sell && signal==2 && wk!=Time[0]

## Recorded exit rules

- not explicitly stated in the source

## Recorded filters

- none explicitly stated in the source

## Risk controls

- Stop loss: SL=100
- Take profit: TP=100
- Position sizing: Lots=0.1
