This workflow corresponds to n8n.io template #4744 — we link there as the canonical source.
This workflow follows the Agent → Execute Workflow Trigger recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "cmA9VcPQYLFfdLqE",
"name": "Binance SM 1hour Indicators Tool",
"tags": [],
"nodes": [
{
"id": "a6f12769-4e3c-43b7-a288-dc9ca6bbd191",
"name": "OpenAI Chat Model",
"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": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "eec01f23-2628-4476-807f-a0a562496509",
"name": "Simple Memory",
"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 Agent",
"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### \ud83d\udd17 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\u00d7STD)\n* **SMA** (20-period)\n* **EMA** (20-period)\n* **ADX** (14-period, with DI+ and DI\u2212)\n\n---\n\n### \ud83d\udce5 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### \ud83d\udcca 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### \ud83e\udde0 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### \u26a0\ufe0f 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": "HTTP Request 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": "Sticky Note",
"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 \u2014 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": "Sticky Note8",
"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": "Sticky Note2",
"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": "Sticky Note1",
"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": "Sticky Note5",
"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 / \u2212DI, 14)**\n\nUsing the latest **40 candles of 1h kline data.**"
},
"typeVersion": 1
},
{
"id": "b7c581f0-c1c9-4007-8c32-62f603b719a5",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1660,
-600
],
"parameters": {
"width": 1320,
"height": 2820,
"content": "# \ud83e\uddea Binance SM 1hour Indicators Tool \u2013 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## \ud83c\udfaf Purpose\n\n* Fetches the latest 40 \u00d7 1h klines for a symbol\n* Calculates key indicators: RSI, MACD, BBANDS, SMA, EMA, ADX\n* Labels signals using GPT (e.g., \u201cNeutral RSI\u201d, \u201cMACD Crossover Up\u201d)\n* Returns structured JSON + natural-language summary ready for use in Telegram or AI agents\n\n---\n\n## \u2699\ufe0f 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## \ud83d\udce5 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## \ud83d\udd27 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\u00d7STD)**\n* **SMA (20)**\n* **EMA (20)**\n* **ADX (14)** with DI+/DI\u2212\n\nIt uses the latest **40 \u00d7 1h candles** pulled from Binance.\n\n---\n\n## \ud83e\udde0 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\ud83d\udcca 1h Technical Overview \u2013 ETHUSDT\n\n\u2022 RSI: 59 (Neutral) \n\u2022 MACD: Bullish Crossover \n\u2022 BBANDS: Price at Upper Band \n\u2022 EMA > SMA \u2192 Positive Slope \n\u2022 ADX: 28 \u2192 Moderate Trend Strength\n```\n\n---\n\n## \ud83e\udde9 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 \u201cWhat\u2019s BTC\u2019s 1h trend?\u201d | Tool gives labeled indicators with interpretation |\n| Risk filter for Financial Analyst | Cross-checks high-probability entries via momentum confirmation |\n\n---\n\n## \ud83d\udce6 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## \ud83d\udd10 Licensing & Support\n\n\ud83d\udd17 **Don Jayamaha \u2013 LinkedIn**\n[http://linkedin.com/in/donjayamahajr](http://linkedin.com/in/donjayamahajr)\n\n\u00a9 2025 Treasurium Capital Limited Company. All rights reserved.\nThis tool and its architecture\u2014including API chaining, reasoning flow, and Telegram summary generation\u2014are proprietary. Commercial use, redistribution, or duplication is prohibited without an active license.\n"
},
"typeVersion": 1
}
],
"active": false,
"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
}
]
]
},
"When Executed by Another Workflow": {
"main": [
[
{
"node": "Binance SM 1hour Indicators Agent",
"type": "main",
"index": 0
}
]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
openAiApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
A precision trading signal engine that interprets 1-hour candlestick indicators for Binance Spot Market pairs using a GPT-4.1-mini LLM. Ideal for swing traders seeking directional bias and momentum clarity across medium timeframes.
Source: https://n8n.io/workflows/4744/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
A short-term technical analysis agent for 15-minute candles on Binance Spot Market pairs. Calculates and interprets key trading indicators (RSI, MACD, BBANDS, ADX, SMA/EMA) and returns structured summ
A medium-term trend analyzer for the Binance Spot Market that leverages core technical indicators across 4-hour candle data to provide human-readable swing-trade signals via AI.
This advanced agent analyzes long-term price action in the Binance Spot Market using 1-day candles. It calculates key macro indicators like RSI, MACD, BBANDS, EMA, SMA, and ADX to identify high-confid
⏱️ Analyze Tesla (TSLA) short-term market structure and momentum using 6 technical indicators on the 15-minute timeframe. This AI agent tool is part of the Tesla Quant Trading AI Agent system. It is d
🕒 Evaluate Tesla (TSLA) price action and market structure on the 1-hour timeframe using 6 real-time indicators. This sub-agent is designed to feed mid-term technical insights into the Tesla Financial