# End of day breakout

Enters long or short positions based on end-of-day breakout and moving averages.

Canonical: https://prismaticalgos.com/compendium/algo/1164-end-of-day-breakout
Record ID: 1164
Catalog rank: 2949 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Time, Session & Seasonality (F)
Source: https://www.prorealcode.com/topic/end-of-day-breakout/
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

Build warnings: DAILY_LOW_COUNT: daily-or-slower timeframe on a single instrument. Expect well under 100 trades in five years, so a backtest will rarely reach statistical significance on its own.

## Recorded profile

- symbols: Not specified
- timeframes: D1
- sessions: Not specified
- market_regime: any

## Indicators

- ExponentialAverage: {"period": 50}; applied to: close
- ExponentialAverage: {"period": 100}; applied to: close
- averagetruerange: {"period": 100}; applied to: null

## Recorded long-entry rules

- close > Highest[50](high[1])
- ExponentialAverage[50](close) > ExponentialAverage[100](close)

## Recorded short-entry rules

- close < lowest[50](low[1])
- ExponentialAverage[50](close) < ExponentialAverage[100](close)

## Recorded exit rules

- if longonmarket then sell at SL1 stop
- SL1 = highpoint - (averagetruerange[100]*3)
- highpoint = max(tradeprice, Highest[50](high[1]))
- if shortonmarket then sell at SL2 stop
- SL2 = lowpoint + (averagetruerange[100]*3)
- lowpoint = min(tradeprice, lowest[50](low[1]))

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: SL1 = highpoint - (averagetruerange[100]*3)
- Take profit: null
- Position sizing: positionsize=2
