Templates / Tesla 1hour & 1day klines tool (Candlestick & volume AI pattern detector)

Tesla 1hour & 1day klines tool (Candlestick & volume AI pattern detector)

Needs changes

by Don Jayamaha Jr βœ“ Β· 1,014 views Β· created 2025-05-16 Β· Crypto Trading, AI Summarization

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes), HTTP Request Tool (legacy). 2 breaking item(s) found. Static check, last run 2026-10-19.

What to replace before upgrading

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Tesla 1hour and 1day Klines Agent (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
HTTP Request Tool (legacy)
Candlestick Data Hour, Candlestick Data Day
HTTP Request node connected to the AI Agent's Tool input

Nodes used (5)

Simple MemoryAI AgentHTTP RequestOpenAI Chat Model

What it does

πŸ“‰ 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: Alpha Vantage Premium API Key OpenAI GPT-4.1 access --- πŸ” 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: json { "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: Tesla1hourand1dayKlinesTool 2. Install Dependencies βœ… Tesla Financial Market Data Analyst Tool (this is the trigger parent) 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=TIMESERIESINTRADAY&interval=60min /query?function=TIMESERIESDAILY 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 | Component | Description | | ----------------------- | --------------------------------------------------- | | Candlestick Data Hour | Fetches 60min TSLA candles via Alpha Vantage | | Candlestick Data Day | Fetches daily TSLA candles via Alpha Vantage | | OpenAI Chat Model | GPT-4.1 reasoning engine for pattern detection | | Simple Memory | Maintains short-term logic context | | Tesla Klines Agent | LangChain AI agent analyzing both candle and volume | --- πŸ“Œ Sticky Notes Overview πŸ“˜ Workflow Purpose 🧠 Short-Term Memory Notes πŸ” 1h/1d Data Fetch Logic πŸ“‰ Candlestick Pattern Types Detected πŸ“Š Volume Divergence Definitions πŸ€– GPT-4.1 Prompt Configuration --- πŸ” 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.

View the original on n8n.io β†’ Check your own copy

Get the weekly β€œwhat broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.