# Gold_BarClose_MA50_DynamicSL

A trading strategy that uses EMA50, breakout bar, and dynamic stop loss.

Canonical: https://prismaticalgos.com/compendium/algo/11608-gold-barclose-ma50-dynamicsl
Record ID: 11608
Catalog rank: 18 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Time, Session & Seasonality (F)
Source: https://github.com/LiinIT/Bot-EA-Trading-XAUUSD-Scaping_MA50
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: XAUUSDm
- timeframes: M1
- sessions: Not specified
- market_regime: trending|ranging|volatile

## Indicators

- EMA: {"period": 50}; applied to: close

## Recorded long-entry rules

- Close above EMA50
- EMA50 slope up
- Bar increase
- Breakout (optional)
- Spread ≤ 1.50
- Volume not spiked (< 2 × MA20)

## Recorded short-entry rules

- Close below EMA50
- EMA50 slope down
- Bar decrease
- Breakout (optional)
- Spread ≤ 1.50
- Volume not spiked (< 2 × MA20)

## Recorded exit rules

- Initial SL: Entry - 10
- Profit SL: Entry + 3 when bar closes ≥ +4
- Rolling SL: lowest low of 15 M1 bars - 0.2, min +3, step ≥ 0.3
- Trailing SL: price - 0.7, min +3, step ≥ 0.2

## Recorded filters

- Spread ≤ 1.50
- Volume not spiked (< 2 × MA20)

## Risk controls

- Stop loss: Initial SL: Entry - 10, Profit SL: Entry + 3 when bar closes ≥ +4, Rolling SL: lowest low of 15 M1 bars - 0.2, Trailing SL: price - 0.7
- Take profit: Not specified
- Position sizing: 1 lot (InpLotSize = 0.01)
