# Trendline Trader

Detects trendlines using least squares fit and generates buy/sell signals when prices touch these lines.

Canonical: https://prismaticalgos.com/compendium/algo/234-trendline-trader
Record ID: 234
Catalog rank: 1887 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Time, Session & Seasonality (F)
Source: https://www.mql5.com/en/articles/19077
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: _Symbol
- timeframes: any
- sessions: any
- market_regime: trending|volatile

## Indicators

No indicator stack recorded.

## Recorded long-entry rules

- price touches upward-sloping trendline

## Recorded short-entry rules

- price touches downward-sloping trendline

## Recorded exit rules

- not explicitly stated in the source

## Recorded filters

- not explicitly stated in the source

## Risk controls

- Stop loss: not explicitly stated in the source
- Take profit: not explicitly stated in the source
- Position sizing: not explicitly stated in the source
