Herramienta de indicadores de 1 hora del mercado spot de Binance
Este es unFinance, AIflujo de automatización del dominio deautomatización que contiene 11 nodos.Utiliza principalmente nodos como Agent, HttpRequestTool, LmChatOpenAi, ExecuteWorkflowTrigger, MemoryBufferWindow, combinando tecnología de inteligencia artificial para lograr automatización inteligente. Binance SM herramienta de indicador de 1 hora
- •Pueden requerirse credenciales de autenticación para la API de destino
- •Clave de API de OpenAI
Nodos utilizados (11)
Categoría
{
"id": "cmA9VcPQYLFfdLqE",
"meta": {
"instanceId": "a5283507e1917a33cc3ae615b2e7d5ad2c1e50955e6f831272ddd5ab816f3fb6"
},
"name": "Binance SM 1hour Indicators Tool",
"tags": [],
"nodes": [
{
"id": "a6f12769-4e3c-43b7-a288-dc9ca6bbd191",
"name": "Modelo de chat OpenAI",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
760,
840
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini",
"cachedResultName": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "yUizd8t0sD5wMYVG",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "eec01f23-2628-4476-807f-a0a562496509",
"name": "Simple Memoria",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
1000,
840
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "804c71f0-7c43-4caa-8194-dd0b9e8fe2d5",
"name": "When Executed by Another Workflow",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
600,
520
],
"parameters": {
"workflowInputs": {
"values": [
{
"name": "message"
},
{
"name": "sessionId"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "551b288d-10ac-48e8-b4e1-ab36d0764b74",
"name": "Binance SM 1hour Indicators Agente",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
920,
520
],
"parameters": {
"text": "={{ $json.message }}",
"options": {
"systemMessage": "You are the **Binance 1-Hour Technical Indicator Agent**, responsible for calculating and delivering **1-hour interval trading signals** for any Binance Spot Market trading pair. You support higher-level agents in detecting medium-term trend direction, volatility phases, and price action momentum.\n\n---\n\n### 🔗 Connected Tools (via internal workflow)\n\nYou call the following indicators using `https://treasurium.app.n8n.cloud/webhook/1h-indicators`:\n\n* **RSI** (14-period)\n* **MACD** (12/26/9 standard)\n* **Bollinger Bands** (20-period, 2×STD)\n* **SMA** (20-period)\n* **EMA** (20-period)\n* **ADX** (14-period, with DI+ and DI−)\n\n---\n\n### 📥 Expected Input Format\n\n```json\n{\n \"message\": \"ETHUSDT\",\n \"sessionId\": \"telegram_chat_id\"\n}\n```\n\n* `message`: A valid Binance Spot Market symbol (e.g., BTCUSDT, ADAUSDT)\n* `sessionId`: Workflow context or user ID for session memory\n\n---\n\n### 📊 Behavior\n\n* Extract `symbol` and format input for internal HTTP POST request:\n\n ```\n https://treasurium.app.n8n.cloud/webhook/1h-indicators\n ```\n\n ```json\n {\n \"symbol\": \"ETHUSDT\"\n }\n ```\n\n* Internally, fetch **40 latest 1h candles** via Binance API and calculate the indicators above.\n\n* You **merge all indicator outputs** and return them in a clean JSON array format ready for downstream reasoning or formatting.\n\n---\n\n### 🧠 Use Case Scenarios\n\n* Evaluate **1-hour trends** for swing trading alignment\n* Confirm **mid-frame structure** between 15m and 4h signals\n* Serve **Financial Analyst Tool** and **Quant AI Agent** with structured indicators\n* Support **entry/exit precision** on higher timeframes\n\n---\n\n### ⚠️ Operational Notes\n\n* Ensure enough data is returned from Binance (minimum 40 candles)\n* Validate input symbol format before execution\n* Use consistent timestamp alignment across all indicators\n* If any module fails, log the error but return valid others\n"
},
"promptType": "define"
},
"typeVersion": 1.9
},
{
"id": "fb7b461e-fde3-4e9e-a1e8-e2c5e863e0fb",
"name": "Solicitud HTTP 1h Indicators Tool",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
1240,
820
],
"parameters": {
"url": "https://treasurium.app.n8n.cloud/webhook/1h-indicators",
"method": "POST",
"options": {},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "symbol",
"value": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('parameters0_Value', ``, 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "76059b12-d48f-46ec-87c0-bacfc6e9cb45",
"name": "Nota adhesiva",
"type": "n8n-nodes-base.stickyNote",
"position": [
520,
200
],
"parameters": {
"color": 4,
"height": 500,
"content": "## Workflow Trigger\nNode: When Executed by Another Workflow\nThis workflow does not start on its own — it is always triggered by:\n\n**Binance SM Financial Analyst Tool**\n\n**Binance Quant AI Agent**"
},
"typeVersion": 1
},
{
"id": "b090748a-f361-425e-962f-1bb36c17f6fa",
"name": "Nota adhesiva8",
"type": "n8n-nodes-base.stickyNote",
"position": [
800,
160
],
"parameters": {
"color": 5,
"width": 500,
"height": 540,
"content": "## Main Reasoning Agent\nNode: **Binance SM 1hour Indicators Agent**\n\nYou are the **Binance 1-Hour Technical Indicator Agent**.\nYour job is to extract **momentum, direction, and structure using 1h indicators** for any Binance Spot Market symbol.\n\nIt:\n\n**Receives the symbol**\n\n**Calls the 1h indicator tool**\n\nReturns structured JSON and natural-language signal labels\n\n"
},
"typeVersion": 1
},
{
"id": "af0c41e0-3e8c-4fa1-9012-a33913a71195",
"name": "Nota adhesiva2",
"type": "n8n-nodes-base.stickyNote",
"position": [
700,
780
],
"parameters": {
"width": 220,
"height": 520,
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## OpenAI Chat Model\nNode: OpenAI Chat Model\nModel: **gpt-4.1-mini**\n\nTranslates raw indicator data into:\n\n**Natural signal summaries\n\nMomentum interpretations**\n\nSummary suitable for Telegram display\n"
},
"typeVersion": 1
},
{
"id": "8099df6b-8407-41c0-8948-b48bc44d5126",
"name": "Nota adhesiva1",
"type": "n8n-nodes-base.stickyNote",
"position": [
940,
780
],
"parameters": {
"color": 3,
"width": 220,
"height": 520,
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Memory System\nNode: Simple Memory\nStores **session context (sessionId, symbol, last query).**\nUsed for:\n\n**Persistent multi-turn interactions\n\nCross-agent symbol consistency**"
},
"typeVersion": 1
},
{
"id": "c767ae7b-0043-4c0b-9d59-44dce6fca107",
"name": "Nota adhesiva5",
"type": "n8n-nodes-base.stickyNote",
"position": [
1180,
780
],
"parameters": {
"color": 6,
"width": 220,
"height": 820,
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## 1-Hour Indicator Webhook\nNode: HTTP Request 1h Indicators Tool\n\n**POSTs to:**\n\nhttps://treasurium.app.n8n.cloud/webhook/1h-indicators\n\nPayload:\n\njson\n{ \"symbol\": \"ETHUSDT\" }\n\nThe backend calculates:\n\n**RSI (14)\n\nMACD (12/26/9)\n\nBBANDS (20, 2 STD)\n\nEMA + SMA (20)\n\nADX (+DI / −DI, 14)**\n\nUsing the latest **40 candles of 1h kline data.**"
},
"typeVersion": 1
},
{
"id": "b7c581f0-c1c9-4007-8c32-62f603b719a5",
"name": "Nota adhesiva3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1660,
-600
],
"parameters": {
"width": 1320,
"height": 2820,
"content": "# 🧪 Binance SM 1hour Indicators Tool – Documentation\n\nThis workflow calculates and interprets technical trading indicators using **1-hour candlestick data** from Binance for any Spot Market pair. It provides medium-term signals and serves as the core engine for swing-trade setup validation.\n\n---\n\n## 🎯 Purpose\n\n* Fetches the latest 40 × 1h klines for a symbol\n* Calculates key indicators: RSI, MACD, BBANDS, SMA, EMA, ADX\n* Labels signals using GPT (e.g., “Neutral RSI”, “MACD Crossover Up”)\n* Returns structured JSON + natural-language summary ready for use in Telegram or AI agents\n\n---\n\n## ⚙️ Key Components\n\n| Node Name | Function |\n| ----------------------------------- | -------------------------------------------------------------------- |\n| `When Executed by Another Workflow` | Trigger: This is not a standalone tool; it's triggered via sub-agent |\n| `Binance SM 1hour Indicators Agent` | Core logic agent that orchestrates HTTP call and formats data |\n| `HTTP Request 1h Indicators Tool` | Calls backend webhook that calculates the actual indicator values |\n| `OpenAI Chat Model (gpt-4.1-mini)` | Interprets indicator values into human-readable signal summaries |\n| `Simple Memory` | Tracks session context (symbol, user ID, previous query) |\n\n---\n\n## 📥 Input Format\n\nExpected input when called by another workflow:\n\n```json\n{\n \"message\": \"ETHUSDT\",\n \"sessionId\": \"telegram_chat_id\"\n}\n```\n\n---\n\n## 🔧 Indicator Calculation Logic\n\nThis tool POSTs data to an internal webhook:\n\n**Endpoint:**\n\n```\nhttps://treasurium.app.n8n.cloud/webhook/1h-indicators\n```\n\n**Payload:**\n\n```json\n{\n \"symbol\": \"ETHUSDT\"\n}\n```\n\n**Backend calculates:**\n\n* **RSI (14)**\n* **MACD (12/26/9)**\n* **BBANDS (20, 2×STD)**\n* **SMA (20)**\n* **EMA (20)**\n* **ADX (14)** with DI+/DI−\n\nIt uses the latest **40 × 1h candles** pulled from Binance.\n\n---\n\n## 🧠 GPT Analysis\n\nAfter fetching the numeric data, the workflow sends it to the `OpenAI Chat Model` using gpt-4.1-mini.\n\nThe model:\n\n* Identifies overbought/oversold signals (RSI)\n* Detects MACD crossover or divergence\n* Labels trend strength (ADX > 25 = strong)\n* Provides a short summary in Telegram-readable format\n\n**Example Output:**\n\n```\n📊 1h Technical Overview – ETHUSDT\n\n• RSI: 59 (Neutral) \n• MACD: Bullish Crossover \n• BBANDS: Price at Upper Band \n• EMA > SMA → Positive Slope \n• ADX: 28 → Moderate Trend Strength\n```\n\n---\n\n## 🧩 Use Cases\n\n| Scenario | Behavior |\n| ---------------------------------- | --------------------------------------------------------------- |\n| Part of full market analysis | Helps confirm swing-trade setups in Quant AI Agent |\n| User asks “What’s BTC’s 1h trend?” | Tool gives labeled indicators with interpretation |\n| Risk filter for Financial Analyst | Cross-checks high-probability entries via momentum confirmation |\n\n---\n\n## 📦 Installation Instructions\n\n1. **Import workflow** into your n8n instance\n2. Ensure backend webhook `/1h-indicators` is reachable\n3. Add your OpenAI API key to enable GPT node\n4. Confirm it's triggered by:\n\n * Binance Financial Analyst Tool\n * Binance Spot Market Quant AI Agent\n\n---\n\n## 🔐 Licensing & Support\n\n🔗 **Don Jayamaha – LinkedIn**\n[http://linkedin.com/in/donjayamahajr](http://linkedin.com/in/donjayamahajr)\n\n© 2025 Treasurium Capital Limited Company. All rights reserved.\nThis tool and its architecture—including API chaining, reasoning flow, and Telegram summary generation—are proprietary. Commercial use, redistribution, or duplication is prohibited without an active license.\n"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "9868a86d-7b04-4db6-8587-66e6cbdee043",
"connections": {
"Simple Memory": {
"ai_memory": [
[
{
"node": "Binance SM 1hour Indicators Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Binance SM 1hour Indicators Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"HTTP Request 1h Indicators Tool": {
"ai_tool": [
[
{
"node": "Binance SM 1hour Indicators Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"804c71f0-7c43-4caa-8194-dd0b9e8fe2d5": {
"main": [
[
{
"node": "Binance SM 1hour Indicators Agent",
"type": "main",
"index": 0
}
]
]
}
}
}¿Cómo usar este flujo de trabajo?
Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.
¿En qué escenarios es adecuado este flujo de trabajo?
Intermedio - Finanzas, Inteligencia Artificial
¿Es de pago?
Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.
Flujos de trabajo relacionados recomendados
Don Jayamaha Jr
@don-the-gem-dealerWith 12 years of experience as a Blockchain Strategist and Web3 Architect, I specialize in bridging the gap between traditional industries and decentralized technologies. My expertise spans tokenized assets, crypto payment integrations, and blockchain-driven market solutions.
Compartir este flujo de trabajo