Binance SM 4小时指标工具
中级
这是一个Finance, AI领域的自动化工作流,包含 11 个节点。主要使用 Agent, HttpRequestTool, LmChatOpenAi, ExecuteWorkflowTrigger, MemoryBufferWindow 等节点,结合人工智能技术实现智能自动化。 Binance SM 4小时指标工具
前置要求
- •可能需要目标 API 的认证凭证
- •OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "ex0hMYddq8rZdLHh",
"meta": {
"instanceId": "a5283507e1917a33cc3ae615b2e7d5ad2c1e50955e6f831272ddd5ab816f3fb6"
},
"name": "Binance SM 4小时指标工具",
"tags": [],
"nodes": [
{
"id": "b0fd1949-684e-44dc-895b-82d8203d6cd2",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-600,
1140
],
"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": "55b4c308-c31b-4709-a197-e06b2f85af28",
"name": "简单记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-360,
1140
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "c8342413-5338-4018-b647-b5cf03e954a3",
"name": "当由其他工作流执行时",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
-780,
880
],
"parameters": {
"workflowInputs": {
"values": [
{
"name": "message"
},
{
"name": "sessionId"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "39651ecb-c1b5-45ad-8625-324d4a781c13",
"name": "Binance SM 4小时指标工具代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-380,
880
],
"parameters": {
"text": "={{ $json.message }}",
"options": {
"systemMessage": "You are the **Binance 4-Hour Technical Indicator Agent**, tasked with calculating and returning **4-hour interval trading signals** for any Binance Spot Market symbol. Your outputs help assess swing trend continuation, volatility compression, and reversal pressure within the medium-term structure.\n\n---\n\n### 🔗 Connected Tools (via internal workflow)\n\nYou call the following indicators using `https://treasurium.app.n8n.cloud/webhook/4h-indicators`:\n\n* **RSI** (14-period)\n* **MACD** (12/26/9 config)\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\": \"BNBUSDT\",\n \"sessionId\": \"telegram_chat_id\"\n}\n```\n\n* `message`: Binance Spot Market symbol (e.g., BNBUSDT, AVAXUSDT)\n* `sessionId`: Passed context used for continuity and formatting\n\n---\n\n### 📊 Behavior\n\n* Accepts symbol and sends POST request to:\n\n ```\n https://treasurium.app.n8n.cloud/webhook/4h-indicators\n ```\n\n with payload:\n\n ```json\n {\n \"symbol\": \"BNBUSDT\"\n }\n ```\n\n* Pulls **at least 40 4h candles** from Binance\n\n* Calculates each indicator in parallel and returns unified output\n\n---\n\n### 🧠 Use Case Scenarios\n\n* Evaluate **trend momentum and strength** in the 1–2 day horizon\n* Validate **higher timeframe support/resistance** zones\n* Confirm **breakouts or trend continuation** against noise\n* Feed **Financial Analyst** and **Quant AI Agent** for confident, multi-frame synthesis\n\n---\n\n### ⚠️ Operational Notes\n\n* Validate input symbol (must be valid and uppercase)\n* Ensure enough candles are available to compute full indicator set\n* Timestamps should align across outputs for accurate merges\n* Return fallback message if Binance API throttling or empty klines\n\n"
},
"promptType": "define"
},
"typeVersion": 1.9
},
{
"id": "e881b384-5dfd-4b5b-b0c5-0f5e6ea1eb94",
"name": "HTTP 请求 4小时指标工具",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-120,
1120
],
"parameters": {
"url": "https://treasurium.app.n8n.cloud/webhook/4h-indicators",
"method": "POST",
"options": {},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "symbol",
"value": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('parameters0_Value', ``, 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "7e11f80e-a646-4757-855c-afe7217a0e16",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-840,
620
],
"parameters": {
"color": 4,
"height": 440,
"content": "## 工作流触发器"
},
"typeVersion": 1
},
{
"id": "fcf62b46-38c1-4ea7-bff5-41a9698935f7",
"name": "便签8",
"type": "n8n-nodes-base.stickyNote",
"position": [
-500,
720
],
"parameters": {
"color": 5,
"width": 500,
"height": 340,
"content": "## 系统推理代理"
},
"typeVersion": 1
},
{
"id": "0bc45ef5-54fd-419c-b392-a70b2c2cd513",
"name": "便签 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-660,
1100
],
"parameters": {
"width": 220,
"height": 600,
"content": ""
},
"typeVersion": 1
},
{
"id": "ac0bfd01-4371-463a-80bf-ceb511985c18",
"name": "便签 1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-420,
1100
],
"parameters": {
"color": 3,
"width": 220,
"height": 520,
"content": ""
},
"typeVersion": 1
},
{
"id": "eb18f07d-536d-4312-9a10-ae1ba5dce118",
"name": "便签 5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-180,
1100
],
"parameters": {
"color": 6,
"width": 220,
"height": 1000,
"content": ""
},
"typeVersion": 1
},
{
"id": "8a089b09-0478-45e8-ba59-e27c7448ef05",
"name": "便签 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
240,
-400
],
"parameters": {
"width": 1280,
"height": 2760,
"content": "# ⏳ Binance SM 4小时指标工具 – 文档"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "ddffb52d-ba6d-45b4-8f7a-8f7009bfaa15",
"connections": {
"Simple Memory": {
"ai_memory": [
[
{
"node": "Binance SM 4hour Indicators Tool Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Binance SM 4hour Indicators Tool Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"HTTP Request 4h Indicators Tool": {
"ai_tool": [
[
{
"node": "Binance SM 4hour Indicators Tool Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"When Executed by Another Workflow": {
"main": [
[
{
"node": "Binance SM 4hour Indicators Tool Agent",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 财务, 人工智能
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
Binance SM 15分钟指标工具
Binance SM 15分钟指标工具
Agent
Http Request Tool
Lm Chat Open Ai
+3
11 节点Don Jayamaha Jr
财务
Binance SM 1日指标工具
Binance SM 1日指标工具
Agent
Http Request Tool
Lm Chat Open Ai
+3
11 节点Don Jayamaha Jr
财务
币安现货市场1小时指标工具
Binance SM 1小时指标工具
Agent
Http Request Tool
Lm Chat Open Ai
+3
11 节点Don Jayamaha Jr
财务
特斯拉15分钟指标工具 n8n
特斯拉15分钟指标工具(短期AI技术分析)
Agent
Http Request Tool
Lm Chat Open Ai
+3
11 节点Don Jayamaha Jr
财务
特斯拉单日指标工具 n8n
特斯拉单日指标工具(宏观层面技术AI分析)
Agent
Http Request Tool
Lm Chat Open Ai
+3
11 节点Don Jayamaha Jr
财务
特斯拉1小时指标工具 n8n
特斯拉1小时指标工具(中期技术分析AI)
Agent
Http Request Tool
Lm Chat Open Ai
+3
11 节点Don Jayamaha Jr
财务
工作流信息
难度等级
中级
节点数量11
分类2
节点类型6
作者
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.
外部链接
在 n8n.io 查看 →
分享此工作流