Stock technical analysis with Google Gemini
Needs changesNeeds changes. This template uses 2 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes), SerpApi (Google Search). 2 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
| SerpApi (Google Search) SerpAPI | No direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node |
Nodes used (7)
- HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Edit Fields (Set)
n8n-nodes-base.set - SerpApi (Google Search)
@n8n/n8n-nodes-langchain.toolSerpApi
What it does
The purpose of this workflow, "Sell: Stock Vision," is to create an AI-powered technical analysis agent capable of analyzing financial charts for equity stocks and cryptocurrencies. This workflow provides users with actionable insights into market trends, price movements, candlestick patterns, and technical indicators to support informed trading decisions. How It Works - Integration with TradingView: The workflow uses the Chart-Img.com API to fetch detailed financial charts for the specified stock or cryptocurrency. - AI-Powered Analysis: The workflow employs advanced AI models, including Google's Gemini Chat Model, to analyze the retrieved charts for candlestick patterns, support/resistance levels, and technical indicators like MACD and RSI. - News and Sentiment Analysis: By integrating with SerpAPI, the workflow gathers relevant news about the stock or cryptocurrency to evaluate its potential impact on market movements. - Comprehensive Insights: It provides detailed trading strategies, including buy/sell recommendations, stop-loss levels, and risk-reward evaluations. - Continuous Memory: The AI agent uses buffer memory to retain context for enhanced analysis and continuity. Use Case This workflow is perfect for traders and analysts who need reliable and AI-powered market analysis to make informed trading decisions efficiently. Tutorial - Obtain API keys for Chart-Img.com and SerpAPI. - Configure the workflow in your n8n instance by inputting the required API keys and connecting the nodes. - Trigger the workflow by providing the stock or cryptocurrency symbol, and let the agent do the rest! https://youtu.be/9fR4qNMT5LM