# Stochastic Daily Breakout for Gold

Buys when the stochastic signal line turns down and the open three bars ago is below the upper Bollinger band; sells when the signal line turns up and the open three bars ago is above the lower Bollinger band.

Canonical: https://prismaticalgos.com/compendium/algo/7100-stochastic-daily-breakout-for-gold
Record ID: 7100
Catalog rank: 113 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Mean Reversion & Counter-Trend (B)
Source: https://www.mql5.com/en/code/77900
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: H1
- sessions: Not specified
- market_regime: any

## Indicators

- Stochastic: {"DPeriod": 3, "KPeriod": 23, "Slowing": 7}; applied to: close
- Bollinger Bands: {"Deviation": 2.0, "Period": 9, "Price": "weighted price"}; applied to: close

## Recorded long-entry rules

- the stochastic signal line turns down and the open three bars ago is below the upper Bollinger band

## Recorded short-entry rules

- the signal line turns up and the open three bars ago is above the lower Bollinger band

## Recorded exit rules

- unfilled order is cancelled after 9 bars; a new signal on the same side replaces it

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: 1.9% of the entry price each
- Take profit: 1.9% of the entry price each
- Position sizing: null
