# Ilan iMA

Trend-following strategy using iMA with position sizing based on losing positions.

Canonical: https://prismaticalgos.com/compendium/algo/644-ilan-ima
Record ID: 644
Catalog rank: 1105 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trend Following & Directional (A)
Source: https://www.mql5.com/en/code/23540
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: Not specified
- sessions: Not specified
- market_regime: trending

## Indicators

- iMA: {"period": null}; applied to: close

## Recorded long-entry rules

- ma[0]>ma[1] && ma[1]>ma[2] && ma[2]>ma[3] && m_symbol.Ask()<ma[0]

## Recorded short-entry rules

- ma[0]<ma[1] && ma[1]<ma[2] && ma[2]<ma[3] && m_symbol.Bid()>ma[0]

## Recorded exit rules

- Not specified.

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: null
- Take profit: null
- Position sizing: If there are more than one position, the highest volume is multiplied by Lot exponent. If a position is losing at least Step pips, a new position is opened in the same direction.
