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

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

Ready for 3.0

by Rahul Joshi ✓ · 2,857 views · created 2026-01-05 · Crypto Trading, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 10 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects Google Sheets and Gmail. It also calls alphavantage.co over HTTP.

How it runs

Trigger: On a schedule (every day) (plus 1 other trigger).

  1. Define Stock List (Code): runs custom JavaScript code
  2. Send Error Alert (Gmail): uses Gmail
  3. Loop Through Stocks (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Fetch Historical Prices (Alpha Vantage) (HTTP Request): calls alphavantage.co
  5. Prepare Price Series (Code): runs custom JavaScript code
  6. Check Price Data Exists (If): checks a condition and branches into true / false
  7. Calculate RSI, MA & MACD (Code): runs custom JavaScript code
  8. Store Indicator Signals in Google Sheets (Google Sheets): append or update

Services it uses

Google SheetsGmail

HTTP calls to: alphavantage.co

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (8)

From the author

📊 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…

Excerpt from Rahul Joshi's description on n8n.io.

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.