# trailEA

自动设置止盈止损，达到一定盈利后将止盈位移至建値，并根据盈利情况自动调整止盈止损位。

Canonical: https://prismaticalgos.com/compendium/algo/12028-trailea
Record ID: 12028
Catalog rank: 49 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Unclassified (?)
Source: https://github.com/Aj1905/trailEA
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

Build warnings: MT4_ONLY: the captured source is MQL4 / written for MetaTrader 4. It needs porting (order functions, indicator handles) before it runs on MT5.

## Recorded profile

- symbols: Not specified
- timeframes: Not specified
- sessions: Not specified
- market_regime: any

## Indicators

No indicator stack recorded.

## Recorded long-entry rules

- Not specified.

## Recorded short-entry rules

- Not specified.

## Recorded exit rules

- 含み益がBreakEvenTriggerPipsに達するとStopLossを建値に設定

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: 初始止损根据账户余额和允许的损失率自动设置
- Take profit: 建値移至后，根据含み益的增加自动调整止损
- Position sizing: null
