Skip to main content

Stock technical analysis with Google Gemini

Workflow preview

Workflow preview
100%
Stock technical analysis with Google Gemini preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 p...

Best for

  • Crypto Trading automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.chattrigger, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.toolserpapi

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Udit Rawat.

Original n8n.io source

1.1 Workflow description

Title
Stock technical analysis with Google Gemini
Workflow name
Stock technical analysis with Google Gemini

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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - TradingView Chart

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 2 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.7

Block 3 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 4 - Window Buffer Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 5 - When chat message received

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.1

Block 6 - Edit Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - SerpAPI

Type / Role
@n8n/n8n-nodes-langchain.toolSerpApi - toolSerpApi
Config choices
Version 1

3. Summary Table

Workflow Stock technical analysis with Google Gemini
Complexity intermediate
Nodes 7
Categories Crypto Trading, Multimodal AI
Author Udit Rawat
Published 16 Jan 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2735/2735.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Stock technical analysis with Google Gemini do?

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 p...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Crypto Trading, Multimodal AI use case.