# ASQ SafeScalping v1.20

A strict seven-condition breakout scalping Expert Advisor for MetaTrader 5.

Canonical: https://prismaticalgos.com/compendium/algo/322-asq-safescalping-v1-20
Record ID: 322
Catalog rank: 148 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Mean Reversion & Counter-Trend (B)
Source: https://www.mql5.com/en/code/71189
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: XAUUSD, XAGUSD, EURUSD, GBPUSD
- timeframes: M5, M15
- sessions: 08:00-20:00 GMT
- market_regime: breakout

## Indicators

- EMA: {"period": 150}; applied to: close
- EMA: {"period": 510}; applied to: close
- ATR: {}; applied to: close
- RSI: {"period": 14}; applied to: close
- EMA: {"period": 50}; applied to: close
- EMA: {"period": 200}; applied to: close

## Recorded long-entry rules

- EMA Trend Direction — Fast EMA (150) above Slow EMA (510)
- Trend Strength — EMA separation exceeds ATR-based minimum
- Price Position — Close above both EMAs
- Breakout Detection — Close exceeds N-bar high/low with ATR buffer
- RSI Filter — RSI in healthy buy zone (40-65)
- Momentum Confirmation — Close higher than previous close
- Higher-TF EMA Agreement (optional) — H1 EMA 50/200 confirms the direction

## Recorded short-entry rules

- EMA Trend Direction — Fast EMA (150) below Slow EMA (510)
- Trend Strength — EMA separation exceeds ATR-based minimum
- Price Position — Close below both EMAs
- Breakout Detection — Close exceeds N-bar high/low with ATR buffer
- RSI Filter — RSI in healthy sell zone (35-60)
- Momentum Confirmation — Close lower than previous close
- Higher-TF EMA Agreement (optional) — H1 EMA 50/200 confirms the direction

## Recorded exit rules

- Breakeven — Moves the stop loss to protect the entry after a configurable profit threshold
- Trailing Stop — Follows price at a fixed distance, locking profit as the trend extends
- Partial Close — Takes profit on a percentage of the position at TP1 while letting the remainder run to full TP

## Recorded filters

- Session filter
- Spread filter
- News filter
- Friday afternoon cutoff

## Risk controls

- Stop loss: Fixed stop loss
- Take profit: Fixed take profit
- Position sizing: Percentage-based position sizing
