ENHANCEMENTS: - Revenge system now checks fresh ADX from 1-minute market data cache - Blocks revenge if ADX < 20 (weak trend - not worth re-entering) - Executes revenge if ADX >= 20 (strong trend - high probability) - Saves revengeFailedReason='ADX_TOO_LOW_X.X' for blocked attempts - Telegram notification shows ADX check result DATABASE: - Added revengeFailedReason field to StopHunt table - Added revengePnL field to track revenge trade outcomes INTEGRATION: - Uses getPythPriceMonitor().getCachedPrice() for fresh data - Falls back to originalADX if cache unavailable - Logs ADX validation: 'ADX check: X.X (threshold: 20)' 1-MINUTE DATA COLLECTION COMPLETE: - TradingView alerts recreated with new format - Bot correctly filters timeframe='1' → BlockedSignal - Market data cache updates every 60 seconds - Verified working: 2 signals collected, 0 trades executed
21 KiB
21 KiB