4 Proven Methods to Filter Bad Trades and Boost Your Algo Performance
Every algo trader faces the same frustrating problem: your strategy has an edge, but a chunk of its trades are dragging performance down. You see it in the equity curve – those flat or declining periods where the strategy keeps entering trades that go nowhere or immediately reverse.
The good news is that you can systematically filter bad trades out of your strategies. Not with gut feeling. Not with discretionary overrides. With specific, testable techniques that I have used across hundreds of strategies throughout my career. In this video from BTA Live, I break down four proven ways to filter bad trades in algo trading – plus a critical insight about what “bad trades” actually means.
First: What Is Actually a Bad Trade?
Before we can filter bad trades, we need to define what a bad trade actually is. And here is where most traders get it wrong: a bad trade is not simply a losing trade.
Losing trades are a normal, expected part of any trading strategy. If your strategy has a 55% win rate, you should expect 45 losses out of every 100 trades. Those losses are not bad – they are the cost of doing business. The sweet spot for most breakout strategies is a 45-60% win rate with a 1.5 to 2.0 reward-to-risk ratio. Any losing trade that falls within those parameters is perfectly fine.
Bad trades are trades with poor maximum favorable excursion – meaning the trade never moved meaningfully in your favor before either stopping out or barely breaking even. These are the entries where price went against you immediately, or drifted sideways until your stop was hit. They never had a chance.
When you shift your definition from “losing trade” to “low-MFE trade,” your entire filtering approach changes. You stop trying to predict winners and losers – which is impossible – and start identifying the conditions under which trades never get a chance to work. That is a much more productive question, and it is exactly what these four filtering techniques address.
Filter 1: Time Frame Selection
The first and often most impactful way to filter bad trades in algo trading is simply moving to a higher time frame. This sounds almost too basic, but the data is compelling.
When you run a breakout strategy on a 1-minute chart versus a 15-minute chart versus a 60-minute chart, you will consistently see better maximum favorable excursion on higher timeframes. The reason is noise. Lower timeframes are dominated by market microstructure noise – bid-ask bounce, small lot retail orders, algorithmic spoofing. Breakouts on a 1-minute chart are frequently nothing more than noise masquerading as signal.
On a 15-minute to 120-minute chart, the breakouts that trigger your entry are more likely to represent genuine institutional order flow. The moves are bigger, the follow-through is stronger, and your MFE improves dramatically. Yes, you get fewer trades. But the trades you get are substantially better quality.
I generally recommend the 15-minute to 60-minute range for most intraday breakout strategies. This is the sweet spot where you get enough trades for statistical reliability while filtering out the worst of the microstructure noise. Your specific market may vary – the E-mini NASDAQ tends to work well on 15-30 minute bars, while some European markets prefer 45-60 minutes.
Filter 2: Higher Timeframe Daily Conditions
The second filter adds context from a higher timeframe – typically the daily chart. The idea is simple: use daily chart conditions to determine whether today is a good day for your intraday strategy to trade.
One of the most effective daily filters is the ADX indicator. ADX measures trend strength, and it turns out that breakout strategies perform very differently depending on whether the daily ADX is above or below 25. In trending environments (ADX above 25), breakouts tend to follow through. In ranging environments (ADX below 25), breakouts tend to reverse.
By adding a simple condition – only trade when daily ADX is above 25, for example – you can filter out the days when your strategy is most likely to produce low-MFE trades. You are not predicting direction. You are identifying the market regime that is most favorable for breakout trading.
Another powerful daily filter is the previous day’s price pattern. Did yesterday close higher than it opened? Was yesterday’s range larger or smaller than average? Did yesterday make a new 5-day high or low? These simple daily conditions can meaningfully improve the quality of your intraday entries. The key is to validate these filters properly so you are capturing a real edge, not curve fitting.
Filter 3: The Confirmation Bar Technique
The third method to filter bad trades focuses on the bar immediately before your entry. I call it the confirmation bar technique, and it is one of the most underused filters in breakout trading.
The concept is straightforward. Before entering a long breakout, check whether the last closed bar was an “up bar” – meaning it closed higher than it opened, or it made a higher high and higher low compared to the bar before it. If the last bar confirms the direction of your intended trade, enter. If it does not, skip.
Why does this work? Because it ensures there is immediate momentum supporting your breakout direction. A breakout that occurs after a down bar is more likely to be a false breakout – price is breaking a level, but the most recent price action was actually moving against the breakout direction. That contradiction is a warning sign.
The confirmation bar acts as a final sanity check before committing capital. It does not require any indicators – just basic price action on the bar before entry. This makes it incredibly robust because it is rooted in raw price behavior rather than derived calculations. You can combine this technique with the trend filter approach for even stronger results.
Filter 4: The Timing Pyramid
The fourth filter is the most comprehensive. I call it the Timing Pyramid, and it organizes all trade timing decisions into four hierarchical levels: general timing, system timing, volatility timing, and market timing.
General timing covers broad questions: what is the best time of day to trade? Are there days of the week that consistently underperform? Should you trade around major economic releases?
System timing deals with your strategy-specific conditions. Is the current pattern consistent with your entry logic? Does the setup meet your minimum quality threshold? Are there conflicting signals from your rules?
Volatility timing asks whether current volatility conditions are favorable. Too much volatility can produce erratic fills and whipsaws. Too little volatility means breakouts lack follow-through. The ATR indicator is your primary tool here.
Market timing evaluates broader market context. What is the trend on the daily chart? Is there major support or resistance nearby? Are correlated markets confirming or diverging?
Each level of the pyramid acts as a filter gate. A trade must pass through all four levels before entry. By itself, each level is simple. But stacked together, they create a powerful system for identifying and avoiding low-probability entries.

Putting It All Together
The most effective approach is not to pick just one of these filters – it is to understand when each one adds value and layer them appropriately. Start with timeframe selection as your foundation. Then add one daily condition filter. Then test the confirmation bar technique. And if you want to go further, implement the full Timing Pyramid framework.
The critical rule is to test each filter independently and validate that it improves out-of-sample performance – not just in-sample backtest results. Every filter you add reduces your trade count, so you need to make sure the trades you are removing are genuinely bad trades, not just random losers that happened to have a common characteristic. Proper robustness testing is essential.
Remember: the goal is not to eliminate all losing trades. That is impossible and attempting it leads to extreme curve fitting. The goal is to filter out the trades with the lowest probability of ever moving in your favor. Focus on maximum favorable excursion, test rigorously, and let the data guide your decisions.
Key Takeaways
- Redefine “bad trades.” Bad trades are not just losers – they are trades with low maximum favorable excursion that never had a real chance of working.
- Higher timeframes reduce noise. Moving from 1-minute to 15-60 minute bars dramatically improves breakout quality and MFE.
- Daily conditions add context. ADX, previous day patterns, and other daily filters help you trade only on favorable days.
- Confirmation bars catch false breakouts. Checking whether the last bar supports your trade direction is a simple but effective final filter.
- The Timing Pyramid is comprehensive. Four layers of timing filters create a systematic approach to avoiding low-probability entries.
If you want to take your filtering skills to the next level, start with our guide on getting started with algorithmic trading – it covers the complete workflow from idea generation through filtering and validation.
Frequently Asked Questions
What is the most effective way to filter bad trades in algorithmic trading?
The most effective filters use structural market logic with zero or minimal optimizable parameters. A simple trend direction check – verifying that the market is already moving in your trade direction before entry – can improve the profit-to-drawdown ratio by over 50% without any overfitting risk.
How do you know if a trade filter is overfitted?
If a filter requires specific parameter values to show improvement, it is likely overfitted. Robust filters work across a range of settings or have no parameters at all. Test any filter on out-of-sample data and across related markets.
Should I use multiple filters on one trading strategy?
Yes, but with caution. Stacking two or three complementary filters from different categories can compound improvements. Beyond three layers, the risk of overfitting increases sharply and trade count drops to questionable levels.
Related Research: For the complete study of all 5 techniques with before/after data, see 5 Proven Techniques to Filter False Breakouts (Data From 2,500+ Strategies).
Want more profit from the strategies you already trade? The Double Your Profits Playbook shows you 10 plays to pull more out of your existing strategies without adding risk, with real examples and code for any platform.