Tesla 1hour & 1day Klines Tool (Candlestick & Volume AI Pattern Detector)
π 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
Calls Alpha Vantage to fetch:
π 1-hour OHLCV data π 1-day OHLCV data GPT-4.1 evaluates:
π Candlestick patterns like Doji, Engulfing, Shooting Star π Volume divergence (price/volume inconsistency) 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
Import the Workflow
Name it: Tesla_1hour_and_1day_Klines_Tool
Install Dependencies
β Tesla Financial Market Data Analyst Tool (this is the trigger parent)
Add Required Credentials
Alpha Vantage Premium β via HTTP Query Auth OpenAI GPT-4.1 β via OpenAI credentials
Verify Web Access
This tool fetches data live from Alpha Vantage:
/query?function=TIME_SERIES_INTRADAY&interval=60min
/query?function=TIME_SERIES_DAILY
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.
Related Templates
Get Airtable data via AI and Obsidian Notes
I am submitting this workflow for the Obsidian community to showcase the potential of integrating Obsidian with n8n. Whi...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
π Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments