# Astra Pact V24

Trades gold (XAUUSD) intraday range breakouts in the direction of the H4 trend, using six independent time windows.

Canonical: https://prismaticalgos.com/compendium/algo/10685-astra-pact-v24
Record ID: 10685
Catalog rank: 1371 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Time, Session & Seasonality (F)
Source: https://www.mql5.com/en/market/product/202127
Evidence label (unverified): backtest_shown

## 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
- timeframes: M15, H1, H4
- sessions: B1 00-06, B2 02-08, B3 01-09, B4 04-10, B5 02-12, B6 00-14
- market_regime: trending

## Indicators

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

## Recorded long-entry rules

- range must be between 0.12% and 1.30% of the price
- H4 trend is up (EMA 50 above EMA 200, close above EMA 200, EMA 200 rising over the last 3 candles, ADX(14) at least 20)
- first M15 close beyond the range
- server time between the end of the range and the last entry hour

## Recorded short-entry rules

- range must be between 0.12% and 1.30% of the price
- H4 trend is down (EMA 50 below EMA 200, close below EMA 200, EMA 200 falling over the last 3 candles, ADX(14) at least 20)
- first M15 close beyond the range
- server time between the end of the range and the last entry hour

## Recorded exit rules

- target: 0.7 x H1 ATR from the average price (at least 20 pips)
- for three positions: breakeven plus 3 pips

## Recorded filters

- range filter: the range must be between 0.12% and 1.30% of the price
- news filter: NFP, CPI and FOMC from the MetaTrader economic calendar (60 minutes before, 30 minutes after)
- calendar: no new entries on NFP day, a pause from 15 December to 15 January, no entries on Friday after 22:00, selectable trading days and hours, maximum spread and slippage

## Risk controls

- Stop loss: 2% of the balance
- Take profit: 0.7 x H1 ATR from the average price (at least 20 pips)
- Position sizing: auto lot of 0.01 lot per 2,000 / 1,000 / 600 / 400 / 300 of balance (Very Low to Very High), fixed lot, or fixed lot per balance step
