# News Sentiment Filter

Uses real-time news sentiment to filter trades and exits.

Canonical: https://prismaticalgos.com/compendium/algo/10501-news-sentiment-filter
Record ID: 10501
Catalog rank: 614 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Mean Reversion & Counter-Trend (B)
Source: https://www.mql5.com/en/articles/22830
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

Opacity warnings: PARTLY OPAQUE ENTRY: 2.0 of 4 entry conditions reference a value the source never published. The rest is specified.

## Recorded profile

- symbols: EURUSD
- timeframes: M15
- sessions: any
- market_regime: any

## Indicators

- EMA: {"period": 20}; applied to: close
- EMA: {"period": 40}; applied to: close
- RSI: {"period": 7}; applied to: close

## Recorded long-entry rules

- Fast EMA crosses above Slow EMA
- News sentiment is bullish with confidence >= 0.7

## Recorded short-entry rules

- Fast EMA crosses below Slow EMA
- News sentiment is bearish with confidence >= 0.7

## Recorded exit rules

- Position is long and news sentiment is bearish with confidence >= 0.55
- Position is short and news sentiment is bullish with confidence >= 0.55

## Recorded filters

- news filter

## Risk controls

- Stop loss: SL is placed at price * (1 - slPricePerc / 100)
- Take profit: TP is placed at price * (1 + tpPricePerc / 100)
- Position sizing: Lots = inpLots
