r/algorithmictrading • u/dunealgos • May 31 '26
Question Regime Detection With Near Accuracy
I have been working on my algos and I noticed one-piece of the puzzle is missing and I believe can help me greatly - Ability to detect market regime with high precision.
I am currently using RSI, ATR and Vol to define regimes but it has not significantly improved my strategy.
Am I going on a wild goose chase or it is something feasible?
7
Upvotes
2
u/elliot2383 Jun 01 '26
What about AROON on a more extended timeframe (eg 50 or 100 days)?
2
u/Obviously_not_maayan Jun 01 '26
the thing is , all of those are lagging indicators, if you combine those you will achieve some sort of regime filtering and it can be very accurate, but the cost function is lag vs accuracy. so yeah, it's a wild goose chase. from my little experience, knowing what regime your in is quite easy but not as useful as knowing when it changed, which is what will make regime detection actually useful.
1
u/strat-run Jun 01 '26
If your strategy has no edge then regime detection doesn't help. If you detect extreme bull markets then it might seem to help but a strategy with random entries and exits will look better under that regime. That's why you have to come it to buy and hold.
Also, a regime isn't a single thing. What you are after with regime detection is "when should I run this strategy" which is unsurprisingly specific to your strategy. You can ask people what indicators they use but you'll have to build something custom that fits your strategy.
1
u/Zestyclose-Eagle1809 Jun 01 '26
Quick reframe that saved me a lot of wasted effort: regime detection isn't a precision problem, it's a usefulness problem. Chasing "high precision" on regime labels is the wild goose chase. A regime classifier that's 60% right but changes how you size or which setups you take can add real edge. One that's 90% right but doesn't change a single decision adds nothing.
RSI, ATR and Vol are all measuring the same axis (volatility state) in slightly different clothes, so stacking them isn't adding information. If you want a genuinely different signal, add a trend-persistence measure (Hurst, or autocorrelation of returns) so you're separating trending vs mean reverting, not just calm vs volatile.
Test it the honest way: split your strategy's results by detected regime and check if EV per trade is actually different across them. If it isn't, the regime split isn't real for your edge no matter how clean the labels look.
What's the regime supposed to change once you detect it, position size, setup selection, or whether you trade at all?
2
u/Adorable_Market3621 Jun 01 '26
Logically speaking, a regime is a large time period of some sort of price movement. Certain indicators that define regimes I assume would not work, because anything can happen tomorrow; meaning that those indicators might be showing we are or will be in a extremely bullish regime, but tomorrow a bomb can drop and tank the market, followed by some extremely bullish news and spiking the market. The cycle of such can continue until there is a period of massive market downturn or uptrends indicating a new regime, at that point the previous regime which was assumed bullish or whatever turned out to be completely different.
So logically speaking only the past is able to be classified and associated with some sort of regime.
2
u/BottleInevitable7278 Jun 01 '26 edited Jun 01 '26
That is the million if not billion dollar question, everyone wants to have its answer.
1
u/Glass-Economy4814 Jun 02 '26
if you are trying to use RSI to detect regime i recommend using higher timeframes like h1, then use m1 and m5 for entries
1
u/coder_1024 Jun 04 '26
What about using Volatility regime? Its a leading indicator
1
u/Dismal-Breakfast-844 Jun 07 '26
What about using gaussian mixture model and then move forward with hybrid approach hmm-gmm later.