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:
The score is the highest of the four. A score of 1.0 or above is an anomaly.
What you see
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
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.
Comments