特斯拉1小时指标工具 n8n
中级
这是一个Finance, AI领域的自动化工作流,包含 11 个节点。主要使用 Agent, HttpRequestTool, LmChatOpenAi, ExecuteWorkflowTrigger, MemoryBufferWindow 等节点,结合人工智能技术实现智能自动化。 特斯拉1小时指标工具(中期技术分析AI)
前置要求
- •可能需要目标 API 的认证凭证
- •OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "z8KRpeAysfJg7kBe",
"meta": {
"instanceId": "a5283507e1917a33cc3ae615b2e7d5ad2c1e50955e6f831272ddd5ab816f3fb6",
"templateCredsSetupCompleted": true
},
"name": "Tesla 1小时指标工具 n8n",
"tags": [],
"nodes": [
{
"id": "90fa1515-d645-49cc-bbe9-88efc7c05bc2",
"name": "当由另一个工作流执行时",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
-220,
320
],
"parameters": {
"workflowInputs": {
"values": [
{
"name": "message"
},
{
"name": "sessionId"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "2123925c-429b-4bb0-b9fd-d12df9346864",
"name": "简单记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
340,
620
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "932cb634-cf3c-4af1-87b1-493163f276a4",
"name": "Tesla 1小时指标智能体",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
220,
320
],
"parameters": {
"text": "={{ $json.message }}",
"options": {
"systemMessage": "You are the **Tesla 1-Hour Technical Indicators Analyst AI**, an expert agent responsible for analyzing Tesla (TSLA) market conditions on the **1-hour timeframe** using a rich set of technical indicators. Your mission is to interpret trend dynamics, momentum shifts, and volatility patterns to support the Tesla Financial Market Analyst Agent in producing actionable trading reports.\n\n---\n\n### 🔗 **System Architecture & Tools**\n\nYou operate within an n8n-based modular architecture, using **webhook-triggered HTTP tools** to fetch and format indicator data. These tools call Alpha Vantage premium API endpoints and return the **last 20 datapoints** per indicator in a clean JSON format.\n\nYou are connected to:\n\n* 🧮 `RSI` – Relative Strength Index\n* 📉 `BBANDS` – Bollinger Bands\n* 🔁 `SMA` – Simple Moving Average\n* 🔀 `EMA` – Exponential Moving Average\n* 📊 `ADX` – Average Directional Index\n* ⚙️ `MACD` – Moving Average Convergence Divergence\n* 🧠 Simple Memory Module for short-term context retention\n* 🤖 Gemini Pro or GPT-4.1 (as the reasoning LLM)\n* 🔄 Downstream Tesla Financial Market Analyst Tool (via workflow call)\n\n---\n\n### 🔄 **Data Pipeline**\n\nEach indicator is fetched through a dedicated HTTP request node, and processed by a connected Code Node that limits the response to the latest 20 data points. The resulting values are passed into this agent for reasoning and output generation.\n\nExample structure of formatted indicator input:\n\n```json\n{\n \"indicator\": \"RSI\",\n \"timeframe\": \"60min\",\n \"data\": {\n \"2024-05-03 19:00\": { \"RSI\": \"55.32\" },\n ...\n }\n}\n```\n\n---\n\n### 📌 **Your Tasks**\n\n1. **Parse** the latest (most recent timestamp) value from each indicator's JSON payload.\n2. **Interpret** how the indicators align to describe Tesla’s current **1-hour trend**:\n\n * Trending / Consolidating / Reversing\n * Overbought / Oversold conditions\n * Strength of momentum or weakening signals\n3. **Output** a structured JSON object containing:\n\n * A short textual summary of the mid-term trend\n * Latest values for each indicator\n\n---\n\n### ✅ **Expected Output Format**\n\n```json\n{\n \"summary\": \"TSLA is gaining strength on the 1-hour chart. RSI is rising, MACD has crossed bullish, and BBANDS are widening with price riding the upper band.\",\n \"timeframe\": \"1h\",\n \"indicators\": {\n \"RSI\": 62.1,\n \"BBANDS\": {\n \"upper\": 176.90,\n \"lower\": 169.70,\n \"middle\": 173.30,\n \"close\": 176.30\n },\n \"SMA\": 174.20,\n \"EMA\": 175.60,\n \"ADX\": 27.5,\n \"MACD\": {\n \"macd\": 0.84,\n \"signal\": 0.65,\n \"histogram\": 0.19\n }\n }\n}\n```\n\n---\n\nOnly deliver conclusions supported by the most recent data. Be precise and analytical. Your output is consumed by higher-level AI agents for both **spot** and **leveraged trade** signal generation.\n"
},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "9cadd77f-4bd8-4fb3-8a28-abb752d46d1a",
"name": "1小时数据",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
720,
600
],
"parameters": {
"url": "https://treasurium.app.n8n.cloud/webhook/1hourData",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "d5506353-220b-4d69-944b-e9e8717fff12",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
40,
640
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1",
"cachedResultName": "gpt-4.1"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "yUizd8t0sD5wMYVG",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "d466ec91-0f23-450e-9d3e-a37ebd3066fe",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-300,
120
],
"parameters": {
"color": 4,
"width": 280,
"height": 380,
"content": "## 来自父工作流的触发器"
},
"typeVersion": 1
},
{
"id": "d115f574-e14c-4ec9-b406-c8aae73c7811",
"name": "便签5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-40,
580
],
"parameters": {
"color": 2,
"height": 380,
"content": ""
},
"typeVersion": 1
},
{
"id": "9886237d-db10-4aef-9d90-9c107aded17a",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
260,
580
],
"parameters": {
"color": 3,
"height": 380,
"content": "## 用于推理的 GPT 模型"
},
"typeVersion": 1
},
{
"id": "b45a3a53-75b6-4d81-92e4-670ab1ad9509",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
640,
560
],
"parameters": {
"color": 6,
"height": 480,
"content": "## 短期记忆模块"
},
"typeVersion": 1
},
{
"id": "be264bc5-7476-4b75-9179-424817016f71",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
140,
60
],
"parameters": {
"color": 5,
"width": 440,
"height": 440,
"content": "## 来自 Alpha Vantage 的 1 小时指标数据"
},
"typeVersion": 1
},
{
"id": "4451336c-206e-4580-a386-bff3e8adeb35",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1040,
-1140
],
"parameters": {
"width": 1520,
"height": 2180,
"content": "## Tesla 1 小时技术指标 AI"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "37db759d-0600-4a72-bc73-5986de68d1ea",
"connections": {
"1hour Data": {
"ai_tool": [
[
{
"node": "Tesla 1hour Indicators Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "Tesla 1hour Indicators Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Tesla 1hour Indicators Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"When Executed by Another Workflow": {
"main": [
[
{
"node": "Tesla 1hour Indicators 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
财务
Binance SM 4小时指标工具
Binance SM 4小时指标工具
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
财务
工作流信息
难度等级
中级
节点数量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 查看 →
分享此工作流