๐Ÿ“ˆ Tesla 1hour & 1day klines tool (Candlestick & volume AI pattern detector)

โšก 983 views ยท ๐Ÿ“ˆ Crypto Trading & Stock Market

Description

๐Ÿ“‰ Detect key candlestick reversal patterns and volume divergence on Tesla (TSLA) using GPT-4.1 and real-time OHLCV data. This AI agent evaluates 1-hour and 1-day candles and is an essential part of the Tesla Financial Market Data Analyst Tool. It identifies signals like Doji, Engulfing, Hammer, and volume anomalies to support trade entry and exit logic.

โš ๏ธ Not a standalone template โ€” must be triggered by the Tesla Financial Market Data Analyst Tool ๐Ÿ” Requires:


๐Ÿ” What This Agent Does

  1. Calls Alpha Vantage to fetch:

    • ๐Ÿ• 1-hour OHLCV data
    • ๐Ÿ“… 1-day OHLCV data
  2. GPT-4.1 evaluates:

    • ๐Ÿ“Š Candlestick patterns like Doji, Engulfing, Shooting Star
    • ๐Ÿ”„ Volume divergence (price/volume inconsistency)
  3. Returns a structured JSON output like:

{
  "summary": "Bearish signs detected on 1-day chart. A shooting star formed on high volume while RSI is elevated. Volume divergence seen on 1h chart as price rises but volume weakens.",
  "candlestickPatterns": {
    "1h": "None",
    "1d": "Shooting Star"
  },
  "volumeDivergence": {
    "1h": "Bearish",
    "1d": "None"
  },
  "ohlcv": {
    "1h": {
      "close": 174.1,
      "volume": 1430000,
      "high": 175.0,
      "low": 173.8
    },
    "1d": {
      "close": 188.3,
      "volume": 21234000,
      "high": 189.9,
      "low": 183.7
    }
  }
}

๐Ÿ› ๏ธ Setup Instructions

  1. Import the Workflow

    • Name it: Tesla_1hour_and_1day_Klines_Tool
  2. Install Dependencies

  3. Add Required Credentials

    • Alpha Vantage Premium โ†’ via HTTP Query Auth
    • OpenAI GPT-4.1 โ†’ via OpenAI credentials
  4. Verify Web Access

    • This tool fetches data live from Alpha Vantage:

      • /query?function=TIME_SERIES_INTRADAY&interval=60min
      • /query?function=TIME_SERIES_DAILY
  5. Run via Execute Workflow Trigger This tool will activate only when called by the Financial Analyst Agent. Inputs:

    • message (optional)
    • sessionId (used for memory continuity)

๐Ÿง  Agent Architecture

ComponentDescription
Candlestick Data HourFetches 60min TSLA candles via Alpha Vantage
Candlestick Data DayFetches daily TSLA candles via Alpha Vantage
OpenAI Chat ModelGPT-4.1 reasoning engine for pattern detection
Simple MemoryMaintains short-term logic context
Tesla Klines AgentLangChain AI agent analyzing both candle and volume

๐Ÿ“Œ Sticky Notes Overview


๐Ÿ” Licensing & Support

ยฉ 2025 Treasurium Capital Limited Company Logic, pattern reasoning, and prompt structure are proprietary IP.

๐Ÿ”— Don Jayamaha โ€“ LinkedIn ๐Ÿ”— n8n Creator Profile


๐Ÿš€ Automate technical edge: detect TSLA candle reversals and volume anomalies with precision using GPT-4.1 and Alpha Vantage. Required by the Tesla Financial Market Data Analyst Tool.

๐Ÿ”— Nodes Used

Execute Workflow Trigger, AI Agent, OpenAI Chat Model, Simple Memory, HTTP Request Tool

๐Ÿ“ฅ Import

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

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup