# Supertrend-against-the-trend

Long entry if supertrend is short and price goes over EMA, closing under Bollinger bands middle; exit long if supertrend is long and price goes under EMA and closes under Bollinger bands middle.

Canonical: https://prismaticalgos.com/compendium/algo/1059-supertrend-against-the-trend
Record ID: 1059
Catalog rank: 2925 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trend Following & Directional (A)
Source: https://www.prorealcode.com/prorealtime-trading-strategies/supertrend-against-trend/
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: DAX, EUROSTOX, CAC, MIB, GOLD, WTI
- timeframes: H1
- sessions: 8:00-22:00 GMT, 8:00-18:00 GMT, 0:00-24:00 GMT
- market_regime: any

## Indicators

- EMA: {"period": 10}; applied to: close
- Bollinger Bands: {"period": 25}; applied to: close
- Average True Range: {"period": 14}; applied to: close

## Recorded long-entry rules

- supertrend is short
- price goes over EMA
- current hour is between OraInizio and OraFine
- volatility is high (AverageTrueRange[ATRvolaDown] > AverageTrueRange[ATRvolaUp])

## Recorded short-entry rules

- supertrend is long
- price goes under EMA
- current hour is between OraInizio and OraFine
- volatility is high (AverageTrueRange[ATRvolaDown] > AverageTrueRange[ATRvolaUp])

## Recorded exit rules

- exit long if supertrend is long and price goes under EMA and closes under Bollinger bands middle
- exit short if supertrend is short and price goes over EMA and closes above Bollinger bands middle

## Recorded filters

- time of day filter for spread considerations

## Risk controls

- Stop loss: stop price = AverageTrueRange[ATR](close) * x
- Take profit: Not specified
- Position sizing: number of contracts = 1
