Skip to main content

Automated cryptocurrency trading bot with ICT methodology, GPT-4o & Coinbase

Workflow preview

Workflow preview
100%
Automated cryptocurrency trading bot with ICT methodology, GPT-4o & Coinbase preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 powere...

Best for

  • Crypto Trading automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.set, n8n-nodes-base.code, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.if, n8n-nodes-base.notion, n8n-nodes-base.telegram, n8n-nodes-base.telegramtrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Tegar karunia ilham.

Original n8n.io source

1.1 Workflow description

Title
Automated cryptocurrency trading bot with ICT methodology, GPT-4o & Coinbase
Workflow name
Automated cryptocurrency trading bot with ICT methodology, GPT-4o & Coinbase

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:

TELEGRAM_CHAT_ID=your_chat_id
NOTION_TRADING_DB_ID=your_trading_database_id
NOTION_REJECTED_DB_ID=your_rejected_signals_database_id
WEBHOOK_URL=your_external_webhook_url

πŸ“ˆ 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 Money Concepts trading strategy with AI-enhanced decision making.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Extract ICT Signal Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 1

Block 2 - ICT Session Validator

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Get Coinbase Market Data

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 4 - ICT AI Analysis

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 5 - Parse ICT AI Analysis

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - ICT Quality & Session Filter

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 7 - Execute ICT Trade

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 8 - Create ICT Trading Record

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2

Block 9 - Generate ICT Notification

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 10 - Send ICT Telegram Alert

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.1

Block 11 - Log ICT Rejected Signal

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2

Block 12 - ICT Telegram Signal Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 13 - ICT Webhook Response

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1

Block 14 - HTTP Request

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 15 - Get a chat

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

3. Summary Table

Workflow Automated cryptocurrency trading bot with ICT methodology, GPT-4o & Coinbase
Complexity advanced
Nodes 15
Categories Crypto Trading, AI Chatbot
Author Tegar karunia ilham
Published 10 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8453/8453.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automated cryptocurrency trading bot with ICT methodology, GPT-4o & Coinbase do?

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 powere...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Crypto Trading, AI Chatbot use case.