# AZLEMA

Adaptive EMA with zero lag and adaptive period calculation based on I-Q and Cosine IFM methods.

Canonical: https://prismaticalgos.com/compendium/algo/3311-azlema
Record ID: 3311
Catalog rank: 2908 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trend Following & Directional (A)
Source: https://www.prorealcode.com/topic/conversion-request-adaptive-zero-lag-ema-v2/
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: any
- timeframes: any
- sessions: any
- market_regime: any

## Indicators

- EMA: {}; applied to: close
- EC: {}; applied to: close

## Recorded long-entry rules

- crossover(EC,EMA) and 100*LeastError/src > Threshold

## Recorded short-entry rules

- crossunder(EC,EMA) and 100*LeastError/src > Threshold

## Recorded exit rules

- strategy.exit('B.Exit', 'BUY', qty_percent = 100, loss=fixedSL, trail_offset=15, trail_points=fixedTP)
- strategy.exit('S.Exit', 'SELL', qty_percent = 100, loss=fixedSL, trail_offset=15, trail_points=fixedTP)

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: fixedSL points
- Take profit: fixedTP points
- Position sizing: lots = ((risk * balance)/fixedSL)*secScaler
