πŸ“ˆ Generate crypto trading signals from Binance data with GPT-4o and Telegram

⚑ 585 views Β· πŸ“ˆ Crypto Trading & Stock Market

Description

Automated crypto TA scanner that calculates 15+ indicators from Binance data, uses AI to generate objective BUY/SELL/HOLD signals with entry/SL/TP levels, and delivers alerts via Telegram with Google Sheets logging.

Who is this for?

Crypto traders and enthusiasts who want automated, objective technical analysis of their watchlist β€” without manually checking charts or relying on paid signal groups. Works for both beginners (just follow the signals) and experienced traders (use as a second opinion alongside your own analysis).

What it does

This workflow runs every 4 hours and automatically:

  1. Reads your watchlist from Google Sheets β€” add or remove coins anytime, no workflow changes needed
  2. Fetches real-time market data from Binance public API (4H klines, daily klines, 24h ticker, order book depth) β€” no Binance API key required
  3. Calculates 15+ technical indicators natively in JavaScript β€” RSI-14, EMA20/50, full MACD (line + signal + histogram + crossover detection), Bollinger Bands (width + position %), buy/sell volume ratio, candlestick pattern recognition (Hammer, Shooting Star, Doji, Three White Soldiers, Three Black Crows), and price structure analysis. No external TA library or paid API needed.
  4. Analyzes with AI using a structured 5-step scoring system β€” the prompt forces the AI to list all bearish signals, all bullish signals, assess conflicts, evaluate reliability based on volume, then conclude. Scoring starts from 5 (neutral) with strict rules: +1 per confirming signal, βˆ’0.5 per conflict, automatic HOLD when signals are ambiguous.
  5. Returns actionable trading signals β€” BUY/SELL/HOLD with entry price, stop-loss (2–5%), take-profit (min 1:2 R:R), confidence score, risk level, and a list of any conflicting signals
  6. Sends formatted alerts to Telegram (only BUY/SELL β€” no HOLD spam) and logs all results to Google Sheets for tracking history

Key features that make this different

How to set up

  1. Create a Google Sheet with two tabs:
    • watchlist β€” add a symbol column with your coins (e.g., BTCUSDT, ETHUSDT, SOLUSDT)
    • chatgpt β€” this will be auto-populated with analysis results
  2. Import the workflow into n8n
  3. Connect three credentials:
    • Google Sheets (OAuth2) β€” for reading watchlist and writing results
    • OpenAI β€” GPT-4o recommended for best analysis quality
    • Telegram β€” create a bot via @BotFather and set your chat ID
  4. Paste your Google Sheet document ID into both Google Sheets nodes
  5. Set the Telegram chat ID in the β€œSend Telegram Alert” node
  6. Activate β€” the workflow runs every 4 hours automatically

Requirements

Customization ideas

πŸ”— Nodes Used

Google Sheets, HTTP Request, Telegram, Schedule Trigger, OpenAI

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup