Automated cryptocurrency trading bot with ICT methodology, GPT-4o & Coinbase
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (9)
- Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - If
n8n-nodes-base.if - Notion
n8n-nodes-base.notion - Telegram
n8n-nodes-base.telegram - Telegram Trigger
n8n-nodes-base.telegramTrigger - Respond to Webhook
n8n-nodes-base.respondToWebhook
What it does
Description π― Overview An advanced automated trading bot that implements ICT (Inner Circle Trader) methodology and Smart Money Concepts for cryptocurrency trading. This workflow combines AI-powered market analysis with automated trade execution through Coinbase Advanced Trading API. β‘ Key Features π ICT Trading Strategy Implementation - Kill Zone Detection: Automatically identifies optimal trading sessions (Asian, London, New York kill zones) - Smart Money Concepts: Analyzes market structure breaks, liquidity grabs, fair value gaps, and order blocks - Session Validation: Real-time GMT time tracking with session strength calculations - Structure Analysis: Detects BOS (Break of Structure) and CHOCH (Change of Character) patterns π€ AI-Powered Analysis - GPT-4 Integration: Advanced market analysis using OpenAI's latest model - Confidence Scoring: AI generates confidence scores (0-100) for each trading signal - Risk Assessment: Automated risk level evaluation (LOW/MEDIUM/HIGH) - ICT-Specific Prompts: Custom prompts designed for Inner Circle Trader methodology π Automated Trading Flow 1. Signal Reception: Receives trading signals via Telegram webhook 2. Data Extraction: Parses symbol, action, price, and technical indicators 3. Session Validation: Verifies current kill zone and trading session strength 4. Market Data: Fetches real-time data from Coinbase Advanced Trading API 5. AI Analysis: Processes signals through GPT-4 with ICT-specific analysis 6. Quality Filter: Multi-condition filtering based on confidence, session, and structure 7. Trade Execution: Automated order placement through Coinbase API 8. Documentation: Records all trades and rejections in Notion databases π± Multi-Platform Integration - Telegram Bot: Receives signals and sends formatted notifications - Coinbase Advanced: Real-time market data and trade execution - Notion Database: Comprehensive trade logging and analysis tracking - Webhook Support: External system integration capabilities π οΈ Setup Requirements API Credentials Needed: - Coinbase Advanced Trading API (API Key, Secret, Passphrase) - OpenAI API Key (GPT-4 access) - Telegram Bot Token and Chat ID - Notion Integration (Database IDs for trade records) Environment Variables: TELEGRAMCHATID=yourchatid NOTIONTRADINGDBID=yourtradingdatabaseid NOTIONREJECTEDDBID=yourrejectedsignalsdatabaseid WEBHOOKURL=yourexternalwebhookurl π Trading Logic Kill Zone Priority System: - London & New York Sessions: HIGH priority (0.9 strength) - Asian & London Close: MEDIUM priority (0.6 strength) - Off Hours: LOW priority (0.1 strength) Signal Validation Criteria: - Signal quality must not be "LOW" - Confidence score β₯ 60% - Active kill zone session required - ICT structure alignment confirmed ποΈ Workflow Components 1. Extract ICT Signal Data: Parses incoming Telegram messages for trading signals 2. ICT Session Validator: Determines current kill zone and session strength 3. Get Coinbase Market Data: Fetches real-time cryptocurrency data 4. ICT AI Analysis: GPT-4 powered analysis with ICT methodology 5. Parse ICT AI Analysis: Processes AI response with fallback mechanisms 6. ICT Quality & Session Filter: Multi-condition signal validation 7. Execute ICT Trade: Automated trade execution via Coinbase API 8. Create ICT Trading Record: Logs successful trades to Notion 9. Generate ICT Notification: Creates formatted Telegram alerts 10. Log ICT Rejected Signal: Records filtered signals for analysis π Use Cases - Automated ICT-based cryptocurrency trading - Smart Money Concepts implementation - Kill zone session trading - AI-enhanced market structure analysis - Professional trading documentation and tracking β οΈ Risk Management - Built-in session validation prevents off-hours trading - AI confidence scoring filters low-quality signals - Comprehensive logging for performance analysis - Automated stop-loss and take-profit calculations This workflow is perfect for traders familiar with ICT methodology who want to automate their Smart