# 均線策略

基於簡單移動平均線的自動交易策略，通過價格突破均線進行交易決策。

Canonical: https://prismaticalgos.com/compendium/algo/12142-unnamed
Record ID: 12142
Catalog rank: 2784 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Unclassified (?)
Source: https://github.com/micrighost/moving-average-strategy
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: Not specified
- timeframes: Not specified
- sessions: Not specified
- market_regime: any

## Indicators

- MA: {"period": 20}; applied to: low

## Recorded long-entry rules

- 當前價格的最低價如果低於均線，而昨天的最低價高於均線

## Recorded short-entry rules

- 當前價格的最高價如果高於均線，而昨天的最高價低於均線

## Recorded exit rules

- Not specified.

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: 停損設置在當前均線
- Take profit: null
- Position sizing: null
