# Larry Williams XGBoost Onnx

Combines Larry Williams Outside Bar strategy with AI for trade prediction.

Canonical: https://prismaticalgos.com/compendium/algo/2517-larry-williams-xgboost-onnx
Record ID: 2517
Catalog rank: 970 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Statistical, Quantitative & Machine Learning (I)
Source: https://www.mql5.com/en/code/68424
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

Opacity warnings: OPAQUE ENTRY: every entry condition reads a value out of something the source never defined -- a custom-indicator buffer, an iCustom() call, or an author-named score. The rule names the signal without specifying it, so it cannot be reproduced bar-for-bar from this record.

## Recorded profile

- symbols: XAUUSD
- timeframes: H4
- sessions: Not specified
- market_regime: any

## Indicators

- Outside Bar: {}; applied to: close

## Recorded long-entry rules

- AI probability for Class 1 > InpThreshold

## Recorded short-entry rules

- AI probability for Class 2 > InpThreshold

## Recorded exit rules

- Stop Loss at the Low of the signal candle, Take Profit based on InpRR ratio

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: at the Low of the signal candle
- Take profit: automatically based on InpRR ratio
- Position sizing: InpLotSize
