Hidden Redirect Link

Anomaly Risk Filter


Loading...
$8/Month
The subscription will be paid monthly. Cancel anytime

Anomaly Risk Filter flags abnormal market conditions so you can avoid opening new trades during unstable moments, without relying on an economic news calendar.

How it works
Each bar gets an anomaly score built from four checks, each divided by its own threshold:

  • True Range spike versus recent average range
  • Return spike versus historical return volatility
  • Gap between the open and the previous close
  • Tick volume spike (optional)

The score is the highest of the four. A score of 1.0 or above is an anomaly.

What you see

  • Anomaly Score (orange line): how unusual the current bar is. Below 1.0 is normal.
  • Threshold (red line): the 1.0 anomaly level.
  • Anomaly Alert (red circle): a new anomaly was detected on this bar.
  • Cooldown Block (orange cross): bars after an anomaly during which new entries are considered blocked.

How to use it
Treat Anomaly Alert and Cooldown Block bars as "do not open new trades". Once the markers stop and the score is back well below 1.0, normal conditions have returned. It works as a risk filter next to your own strategy and gives no buy or sell signals.

Inputs

  • Lookback Bars: history used to define "normal".
  • ATR Window: bars used for the average range.
  • TR/ATR, Return Z, Gap/ATR, Volume Z thresholds: sensitivity of each check.
  • Use Tick Volume: turn off if volume data is unreliable for your instrument.
  • Cooldown Bars: how many bars stay blocked after an anomaly.

Tuning tips
Aim for anomalies on a small share of bars (roughly 2-5%). If markers appear too often, raise the thresholds or the lookback. If they almost never appear, lower the thresholds. Lower timeframes such as 1 minute usually need higher thresholds or a longer lookback.

Notes
All calculations use data available at bar close, with no lookahead. This indicator does not predict direction. Large moves can go either way. Test it on your own instruments and timeframes before relying on it.

Disclaimer: for educational and analytical purposes only. This is not financial advice. Trading involves risk.

$8/Month
The subscription will be paid monthly. Cancel anytime

Comments

loading