Strategy not executing trades
I created a mean reversion strategy but it's not making any trades. The backtest showed 50+ trades but in paper trading it's been 2 days with zero entries. My entry condition is: RSI < 30 and price > SMA_200 Am I doing something wrong?
2 Replies
I see the issue! Your entry condition requires **both** RSI < 30 **and** price > SMA_200. This is quite restrictive. RSI below 30 is rare (only happens during sharp drops), and requiring price to be above the 200-day MA at the same time makes it even rarer. **Solution:** Try relaxing the RSI threshold to 35-40, or make the conditions "OR" instead of "AND": ```python if RSI < 35 and price > SMA_200: buy() ``` **Related docs:** • [Strategy Not Trading Guide](https://docs.locus.ai/troubleshooting/strategy-not-trading) • [Entry Conditions Best Practices](https://docs.locus.ai/strategies/entry-conditions) Does this help? Let me know if you'd like me to explain further!
The bot is right. I had the same issue. Also check if your symbols are liquid enough - low volume stocks may not trigger entries even if conditions are met.