# 002 - Inside Bar

Searches for a classic Inside Bar pattern and places Stop Orders based on the Main Bar's close direction.

Canonical: https://prismaticalgos.com/compendium/algo/324-002-inside-bar
Record ID: 324
Catalog rank: 649 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Price Action & Market Structure (E)
Source: https://www.mql5.com/en/code/73884
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: EURUSD, XAUUSD, SP500
- timeframes: H1, M15
- sessions: Not specified
- market_regime: any

## Indicators

No indicator stack recorded.

## Recorded long-entry rules

- Main Bar closes bullish

## Recorded short-entry rules

- Main Bar closes bearish

## Recorded exit rules

- Stop Loss placed as a fraction of Main Bar range
- Take Profit based on Risk/Reward ratio

## Recorded filters

- ATR Filter
- Inside Bar Filter

## Risk controls

- Stop loss: Stop Loss (x Main Bar Range)
- Take profit: TakeProfit (Risk/Reward)
- Position sizing: Lot Type - Fixed Lot or % Risk from Start Balance
