# FFCal_XAUUSD

Automatically opens/closes XAU/USD orders based on Forex Factory news events.

Canonical: https://prismaticalgos.com/compendium/algo/11774-ffcal-xauusd
Record ID: 11774
Catalog rank: 859 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Time, Session & Seasonality (F)
Source: https://github.com/nhasibuan/news
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.
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: XAUUSD
- timeframes: any
- sessions: any
- market_regime: any

## Indicators

No indicator stack recorded.

## Recorded long-entry rules

- Forecast > Previous for Employment / Claims / PMI / GDP / Retail / Home Sales in USD
- Forecast < Previous for CPI / PCE / Inflation in USD
- Forecast < Previous for Unemployment Rate in USD
- Forecast < Previous for Manufacturing PMI in CNY

## Recorded short-entry rules

- Forecast < Previous for Employment / Claims / PMI / GDP / Retail / Home Sales in USD
- Forecast > Previous for CPI / PCE / Inflation in USD
- Forecast > Previous for Unemployment Rate in USD
- Forecast > Previous for Manufacturing PMI in CNY

## Recorded exit rules

- N minutes after event

## Recorded filters

- Bias Logic

## Risk controls

- Stop loss: InpSL_Points points
- Take profit: InpTP_Points points
- Position sizing: InpLotSize
