fix: Use syminfo.ticker for multi-asset 1-minute data feed

- Changed hardcoded 'SOLUSDT' to syminfo.ticker
- Enables FARTCOIN, SOL, and other assets to use same script
- Script now auto-detects chart symbol (SOLUSDT, FARTCOINUSDT, etc.)
- CRITICAL: Must update PineScript in TradingView for both SOL and FARTCOIN alerts
This commit is contained in:
mindesbunister
2025-12-07 22:13:54 +01:00
parent 097ee748d7
commit 66c6f6dea5

View File

@@ -28,7 +28,8 @@ hline(25, "ADX 25", color=color.orange, linestyle=hline.style_dashed)
// Direction doesn't matter - bot filters by timeframe before executing
// This follows same pattern as 15min/1H/Daily data collection
// CRITICAL: Include @ price format so n8n parser extracts signalPrice correctly
jsonMessage = 'SOLUSDT buy 1 @ ' + str.tostring(close) + ' | ADX:' + str.tostring(adx) + ' | IND:v9'
// CRITICAL (Dec 7, 2025): Use syminfo.ticker for multi-asset support (SOL, FARTCOIN, etc.)
jsonMessage = syminfo.ticker + ' buy 1 @ ' + str.tostring(close) + ' | ADX:' + str.tostring(adx) + ' | IND:v9'
// Send alert every bar close (every 1 minute on 1min chart)
if barstate.isconfirmed