//@version=6 indicator("Money Line - 1min Price Feed (Simplified)", overlay=false) // ========================================== // PURPOSE: Lightweight 1-minute price updates for market data cache // CHANGE (Dec 4, 2025): Removed all indicators to reduce TradingView alert queue pressure // // WHY: 60 alerts/hour with full metrics can cause 5-minute trading signals to be skipped // SOLUTION: Send ONLY price + symbol + timeframe (70% smaller payload) // // USAGE: Create alert on indicator with "alert() function calls" // WEBHOOK: https://flow.egonetix.de/webhook/tradingview-bot-v4 (SAME as trading signals) // FORMAT: Minimal format - bot recognizes timeframe="1" and routes to data collection // ========================================== // Display current price (visual confirmation alert is working) plot(close, "Price", color=color.white, linewidth=2) // Build MINIMAL JSON message - ONLY essential data // Format: "SYMBOL buy 1 @ PRICE" // Bot uses timeframe="1" to route to BlockedSignal (no trade execution) // Indicators (ATR/ADX/RSI/etc) removed - calculated from DB when needed jsonMessage = 'SOLUSDT buy 1 @ ' + str.tostring(close) // Send alert every bar close (every 1 minute on 1min chart) if barstate.isconfirmed alert(jsonMessage, alert.freq_once_per_bar)