Skip to main content

Generate daily stock buy/sell signals using technical indicators and Google Sheets

Workflow preview

Workflow preview
100%
Generate daily stock buy/sell signals using technical indicators and Google Sheets preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Description This automation calculates commonly used technical indicators for selected stocks and presents the results in a simple, structured dashboard. It removes the need for manual chart ana...

Best for

  • Crypto Trading automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.code, n8n-nodes-base.splitinbatches, n8n-nodes-base.if, n8n-nodes-base.googlesheets, n8n-nodes-base.httprequest, n8n-nodes-base.stickynote, n8n-nodes-base.errortrigger

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate daily stock buy/sell signals using technical indicators and Google Sheets
Workflow name
Generate daily stock buy/sell signals using technical indicators and Google Sheets

πŸ“Š Description

This automation calculates commonly used technical indicators for selected stocks and presents the results in a simple, structured dashboard. It removes the need for manual chart analysis by automatically fetching price data, calculating indicators, and generating clear Buy, Sell, or Neutral signals. The workflow is designed to run daily and provides a consistent technical snapshot for each tracked stock. It is suitable for traders and analysts who want a repeatable and transparent way to monitor technical conditions without relying on manual tools.

βš™οΈ What This Template Does

  • Runs automatically on a daily schedule
  • Processes a predefined list of stock symbols
  • Fetches recent daily price data from a market data API
  • Calculates RSI, Moving Averages, and MACD
  • Applies rule-based logic to generate Buy, Sell, or Neutral signals
  • Stores indicator values and signals in Google Sheets

βœ… Key Benefits

  • Eliminates manual technical analysis
  • Uses standard, widely accepted indicators
  • Produces clear and easy-to-interpret signals
  • Keeps all results in a single dashboard
  • Easy to customize and extend

🧩 Features

  • Daily scheduled execution
  • Historical price data integration
  • RSI (14-period) calculation
  • Moving Averages (SMA 20 and SMA 50)
  • MACD (12, 26, 9) calculation
  • Rule-based Buy / Sell / Neutral classification
  • Google Sheets dashboard output
  • Built-in data validation checks

πŸ” Requirements

  • To use this workflow, you will need:
  • A market data API key (Alpha Vantage or similar)
  • A Google Sheets account for storing results
  • Google Sheets credentials configured in n8n
  • An active n8n instance (cloud or self-hosted)

🎯 Target Audience

  • Stock traders and investors
  • Technical analysts
  • Finance and research teams
  • Automation builders working with market data

πŸ›  Customization Options

  • Update the stock list to track different symbols
  • Adjust indicator periods or thresholds
  • Modify Buy / Sell signal rules
  • Change the schedule frequency
  • Extend the dashboard with additional indicators

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 - Schedule Trigger – Run Daily

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 2 - Define Stock List

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Loop Through Stocks

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 4 - Check Price Data Exists

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 5 - Prepare Price Series

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Calculate RSI, MA & MACD

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Store Indicator Signals in Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 8 - Fetch Historical Prices (Alpha Vantage)

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

Block 9 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Error Handler Trigger

Type / Role
n8n-nodes-base.errorTrigger - errorTrigger
Config choices
Version 1

Block 13 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Send Error Alert

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 15 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate daily stock buy/sell signals using technical indicators and Google Sheets
Complexity advanced
Nodes 15
Categories Crypto Trading, AI Summarization
Author Rahul Joshi
Published 05 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12485/12485.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 Generate daily stock buy/sell signals using technical indicators and Google Sheets do?

Description This automation calculates commonly used technical indicators for selected stocks and presents the results in a simple, structured dashboard. It removes the need for manual chart ana...

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, AI Summarization use case.