# Smart Trend Follower

Automatically captures market trends using technical signals from Moving Averages and Stochastic.

Canonical: https://prismaticalgos.com/compendium/algo/88-smart-trend-follower
Record ID: 88
Catalog rank: 674 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Mean Reversion & Counter-Trend (B)
Source: https://www.mql5.com/en/code/53022
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: VAGUE ENTRY: every entry rule is a placeholder phrase rather than a testable condition (no comparison, threshold or number anywhere). The rules were not actually recovered from the source.
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: any
- sessions: any
- market_regime: trending|ranging|volatile

## Indicators

- MA: {"period": "inMAPeriodFast"}; applied to: close
- MA: {"period": "inMAPeriodSlow"}; applied to: close
- Stochastic: {"period": "inSTOKPeriod", "slow_k_period": "inSTOSlowing", "slow_period": "inSTODPeriod"}; applied to: close

## Recorded long-entry rules

- eTypeTrend signal detected

## Recorded short-entry rules

- eTypeTrend signal detected

## Recorded exit rules

- modifTPSL() function updates TP/SL

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: set or updated by setTPSL() function
- Take profit: set or updated by setTPSL() function
- Position sizing: calculated by getLotSize() function
