バイナンスSM 4時間インディケータツール
中級
これはFinance, AI分野の自動化ワークフローで、11個のノードを含みます。主にAgent, HttpRequestTool, LmChatOpenAi, ExecuteWorkflowTrigger, MemoryBufferWindowなどのノードを使用、AI技術を活用したスマート自動化を実現。 バイナンスSM 4時間インジケータツール
前提条件
- •ターゲットAPIの認証情報が必要な場合あり
- •OpenAI API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "ex0hMYddq8rZdLHh",
"meta": {
"instanceId": "a5283507e1917a33cc3ae615b2e7d5ad2c1e50955e6f831272ddd5ab816f3fb6"
},
"name": "Binance SM 4hour Indicators Tool",
"tags": [],
"nodes": [
{
"id": "b0fd1949-684e-44dc-895b-82d8203d6cd2",
"name": "OpenAI Chat Model",
"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": "Simple Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-360,
1140
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "c8342413-5338-4018-b647-b5cf03e954a3",
"name": "When Executed by Another Workflow",
"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 Request 4h Indicators Tool",
"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": "## 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": "fcf62b46-38c1-4ea7-bff5-41a9698935f7",
"name": "付箋8",
"type": "n8n-nodes-base.stickyNote",
"position": [
-500,
720
],
"parameters": {
"color": 5,
"width": 500,
"height": 340,
"content": "## System Reasoning Agent\nNode: **Binance SM 4hour Indicators Tool Agent**\n\nSystem prompt defines this as a **swing trend analyzer**.\nIt interprets indicator outputs and transforms them into labeled sentiment for the 4h window."
},
"typeVersion": 1
},
{
"id": "0bc45ef5-54fd-419c-b392-a70b2c2cd513",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-660,
1100
],
"parameters": {
"width": 220,
"height": 600,
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## OpenAI Chat Model\nNode: OpenAI Chat Model **(gpt-4.1-mini)**\n\nInterprets indicator values and returns Telegram-friendly summaries:\n\n\n•** RSI: 65 → Slightly overbought \n• MACD: Bullish cross \n• BB: Expanding volatility \n• EMA > SMA → Uptrend \n• ADX: 31 → Trend **strengthening"
},
"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": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Context Memory\nNode: Simple Memory\nStores session variables like symbol and prior state.\n\nUseful for:\n\n**Inter-agent coordination\n\nSymbol recall\n\nMulti-turn interaction state tracking**"
},
"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": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Webhook Request (Core Tool)\nNode: HTTP Request 4h Indicators Tool\n\n**POSTs to:**\n\nhttps://treasurium.app.n8n.cloud/webhook/4h-indicators\n\nPayload:\n\njson\n{ \"symbol\": \"BNBUSDT\" }\n\nThis backend:\n\n**Pulls 40 candles of 4h OHLCV from Binance**\n\nCalculates:\n\n**RSI (14)\n\nMACD (12,26,9)\n\nBollinger Bands (20/2)\n\nSMA (20)\n\nEMA (20)\n\nADX (14, +DI, −DI)**\n\nReturns a clean JSON object with all indicators and signal summaries.\n\n"
},
"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 4hour Indicators Tool – Documentation\n\nA medium-term trend analyzer for the Binance Spot Market. This tool calculates and interprets key trading indicators using 4-hour candle data to help validate breakout setups, momentum continuation, and trend strength.\n\n---\n\n## 🎯 Purpose\n\n* Pulls the latest 40×4h OHLCV candles for a symbol from Binance\n* Calculates core technical indicators for swing-trade insights:\n\n * RSI, MACD, Bollinger Bands, SMA, EMA, ADX\n* Returns structured Telegram-ready signals interpreted via GPT\n* Supports the **Quant AI Agent** and **Financial Analyst Tool** for higher-timeframe confirmations\n\n---\n\n## ⚙️ Workflow Components\n\n| Node | Role |\n| ----------------------------------- | --------------------------------------------------------------- |\n| `When Executed by Another Workflow` | Triggered by parent workflows |\n| `Binance SM 4hour Indicators Agent` | Core reasoning agent (routes inputs, interprets outputs) |\n| `HTTP Request 4h Indicators Tool` | Sends POST to `/webhook/4h-indicators` for raw indicator values |\n| `OpenAI Chat Model (gpt-4.1-mini)` | Transforms raw values into labeled, human-readable analysis |\n| `Simple Memory` | Tracks user symbol and session for contextual coordination |\n\n---\n\n## 📥 Input Format\n\n```json\n{\n \"message\": \"AVAXUSDT\",\n \"sessionId\": \"telegram_chat_id\"\n}\n```\n\n* `message`: Any valid Binance trading pair (uppercase required)\n* `sessionId`: Used to persist Telegram or session-based memory\n\n---\n\n## 🔧 Indicator Calculation Details\n\n**Webhook Called:**\n\n```\nhttps://treasurium.app.n8n.cloud/webhook/4h-indicators\n```\n\n**POST Payload:**\n\n```json\n{\n \"symbol\": \"AVAXUSDT\"\n}\n```\n\n**Calculated Indicators:**\n\n| Name | Description |\n| -------------- | -------------------------------------------------- |\n| RSI (14) | Overbought / oversold indicator |\n| MACD (12,26,9) | Momentum trend strength / crossover signals |\n| BBANDS (20,2) | Volatility compression and breakout identification |\n| SMA (20) | Medium-term baseline |\n| EMA (20) | Reactivity to momentum |\n| ADX (14) | Trend strength + DI+/DI− comparison |\n\n---\n\n## 🧠 GPT Analysis Output\n\nThe GPT node interprets each indicator and formats results for user consumption:\n\n**Example Output:**\n\n```\n🕓 4h Technical Signals – AVAXUSDT\n\n• RSI: 64 → Slightly Bullish \n• MACD: Bullish Cross above baseline \n• BB: Upper band touch – volatility expanding \n• EMA > SMA → Confirmed Upside Momentum \n• ADX: 31 → Strengthening Trend\n```\n\n---\n\n## 📚 Use Case Scenarios\n\n| Use Case | Result |\n| ----------------------------------------------- | ---------------------------------------------------------------- |\n| Evaluating macro-swing trend | Confirms breakout setups or continuation risk |\n| Filtering false breakouts on 1h | ADX, MACD trend detection help anchor confidence |\n| Multi-frame confluence inside Financial Analyst | Used in tandem with 1h + 1d indicators for trade signal stacking |\n\n---\n\n## 🛠️ Installation Steps\n\n1. **Import** this JSON into your n8n workspace.\n2. **Connect GPT API** to the OpenAI Chat Model node.\n3. **Ensure webhook** `/webhook/4h-indicators` is active and receives valid symbols.\n4. **Parent workflows** that may trigger this:\n\n * Binance SM Financial Analyst Tool\n * Binance Spot Market Quant AI Agent\n\n---\n\n## 🧾 Output Format (Telegram)\n\n* Emoji-labeled\n* Bullet-point structure\n* Timeframe noted explicitly\n* No raw JSON exposed\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.\nThe logic, structure, and orchestration of this tool are proprietary and protected under U.S. copyright and international IP law. Redistribution or resale without license is prohibited."
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "ddffb52d-ba6d-45b4-8f7a-8f7009bfaa15",
"connections": {
"55b4c308-c31b-4709-a197-e06b2f85af28": {
"ai_memory": [
[
{
"node": "39651ecb-c1b5-45ad-8625-324d4a781c13",
"type": "ai_memory",
"index": 0
}
]
]
},
"b0fd1949-684e-44dc-895b-82d8203d6cd2": {
"ai_languageModel": [
[
{
"node": "39651ecb-c1b5-45ad-8625-324d4a781c13",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"e881b384-5dfd-4b5b-b0c5-0f5e6ea1eb94": {
"ai_tool": [
[
{
"node": "39651ecb-c1b5-45ad-8625-324d4a781c13",
"type": "ai_tool",
"index": 0
}
]
]
},
"c8342413-5338-4018-b647-b5cf03e954a3": {
"main": [
[
{
"node": "39651ecb-c1b5-45ad-8625-324d4a781c13",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - 財務, 人工知能
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
Binance SM 15分足指標ツール
Binance SM 15分足指标ツール
Agent
Http Request Tool
Lm Chat Open Ai
+
Agent
Http Request Tool
Lm Chat Open Ai
11 ノードDon Jayamaha Jr
財務
Binance SM 1日足指標ツール
Binance SM 1日足指标ツール
Agent
Http Request Tool
Lm Chat Open Ai
+
Agent
Http Request Tool
Lm Chat Open Ai
11 ノードDon Jayamaha Jr
財務
BN现货市场1时间足指標ツール
Binance SM 1時間足指标ツール
Agent
Http Request Tool
Lm Chat Open Ai
+
Agent
Http Request Tool
Lm Chat Open Ai
11 ノードDon Jayamaha Jr
財務
CoinMarketCap_DEXスキャン_エージェント_ツール
CoinMarketCap AIエージェントを使用してDEXの流動性、取引、先物ペアを分析する
Agent
Lm Chat Open Ai
Execute Workflow Trigger
+
Agent
Lm Chat Open Ai
Execute Workflow Trigger
15 ノードDon Jayamaha Jr
財務
バイナンス価格-24時間統計- orderbook-ローソク足ツール
バイナンス価格-24時間統計- order-book-ローソク図ツール
Agent
Lm Chat Open Ai
Execute Workflow Trigger
+
Agent
Lm Chat Open Ai
Execute Workflow Trigger
17 ノードDon Jayamaha Jr
財務
バイナンススポットマーケット量化AIエージェント
バイナンススポット市場の量化AIエージェント | GPT-4o + Telegram (メインページ)
Set
Code
Telegram
+
Set
Code
Telegram
21 ノード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で表示 →
このワークフローを共有