# LSF-X Engine

A high-performance Expert Advisor for MetaTrader 5 that trades based on momentum bursts, least-squares trend fitting, and Kalman-filtered signal smoothing.

Canonical: https://prismaticalgos.com/compendium/algo/11466-lsf-x-engine
Record ID: 11466
Catalog rank: 2520 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trend Following & Directional (A)
Source: https://github.com/dhruuvsharma/LSF-X-Engine
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.

## Recorded profile

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

## Indicators

- Rate of Change Speed: {"SpeedPeriod": 5}; applied to: close
- Least Squares Fitting (LSF) Slope: {"LSF_Window": 10}; applied to: close
- Kalman Filter: {}; applied to: close

## Recorded long-entry rules

- Speed > SpeedThreshold
- LSF Slope > 0
- Kalman Filter is sloping up
- MTF Trend confirms long bias

## Recorded short-entry rules

- Not specified.

## Recorded exit rules

- Stop Loss hit
- Take Profit hit
- Trailing Stop triggered
- Optional exit on signal flip (slope or Kalman reversal)

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: Stop loss distance in pips
- Take profit: Take profit distance in pips
- Position sizing: LotSize
