Fix bearish trend RSI logic: change condition from >45 to <55 for proper short signal generation

This commit is contained in:
Justin Oros
2026-01-30 10:30:16 -07:00
parent d115873d21
commit 00aad780c8
+1 -1
View File
@@ -892,7 +892,7 @@ def advanced_signal_generator(symbol):
pullback_ok = True
debug_print(f"Pullback OK: price near short MA")
if pullback_ok and rsi > 45:
if pullback_ok and rsi < 55:
debug_print(f"Pullback and RSI conditions met (RSI={rsi:.2f})")
if hourly_trend in ['bearish', 'neutral']:
debug_print(f"Hourly trend favorable: {hourly_trend}")