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:
@@ -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
|
// Direction doesn't matter - bot filters by timeframe before executing
|
||||||
// This follows same pattern as 15min/1H/Daily data collection
|
// This follows same pattern as 15min/1H/Daily data collection
|
||||||
// CRITICAL: Include @ price format so n8n parser extracts signalPrice correctly
|
// 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)
|
// Send alert every bar close (every 1 minute on 1min chart)
|
||||||
if barstate.isconfirmed
|
if barstate.isconfirmed
|
||||||
|
|||||||
Reference in New Issue
Block a user