# BHS system

Placing pending orders based on the position of the price relative to the Adaptive Moving Average (AMA) and round prices.

Canonical: https://prismaticalgos.com/compendium/algo/57-bhs-system
Record ID: 57
Catalog rank: 1399 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trade & Execution Management (K)
Source: https://www.mql5.com/en/code/20132
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

No automated warnings recorded; this is not validation.

## Recorded profile

- symbols: EURUSD
- timeframes: H1
- sessions: Not specified
- market_regime: any

## Indicators

- AMA: {"horizontal_shift": 0, "period": 50, "period_fast": 9, "period_slow": 21, "price_type": 0}; applied to: close

## Recorded long-entry rules

- If the Close price of bar #0 is above the indicator, a pending Buy Stop order will be placed at the upper round price.

## Recorded short-entry rules

- If the Close price of bar #0 is below the indicator, a pending Sell Stop order will be placed at the lower round price.

## Recorded exit rules

- Trailing Stop BUY and Trailing Stop SELL are applied for BUY and SELL positions respectively.

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: Stop Loss BUY and Stop Loss SELL are configured as input parameters.
- Take profit: Not specified
- Position sizing: Lots - volume is an input parameter.
