# Trade forex with Telegram: n8n workflow template

> Started by a clock, and works across Telegram. 19 steps, 1 branch: a working afternoon to understand properly.

Source: https://millionrounds.com/workflow/trade-forex-with-telegram (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [E-commerce](https://millionrounds.com/workflows?category=E-commerce#library)

# Trade forex with Telegram

Started by a clock, and works across Telegram. 19 steps, 1 branch: a working afternoon to understand properly.

Medium

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftrade-forex-with-telegram)

**19 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Logic 12 Service 6

The steps in the order they run, from what starts it.

- 1 **Run Every 5 Minutes** Schedule trigger *Starts it*
- 2 **Time Filter** Code *Logic*
- 3 **Set Inputs** Set *Logic*
- 4 **Set Inputs2** Set *Logic*
- 5 **Set Inputs3** Set *Logic*
- 6 **Fetch Candles (Strategy1)** Http Request *Service*
- 7 **Fetch Candles (Strategy2)** Http Request *Service*
- 8 **Fetch Candles (Strategy3)** Http Request *Service*
- 9 **Strategy1: Momentum EMA** Code *Logic*
- 10 **Strategy2: RSI Breakout** Code *Logic*
- 11 **Strategy3: MACD Crossover** Code *Logic*
- 12 **Combine Strategy Signals** Merge *Logic*
- 13 **Filter Active Signals** Code *Logic*
- 14 **Has Valid Signal** If *Logic*
- 15 **Combine Signal With Balance** Merge *Logic*
- 16 **Get Account Balance** Http Request *Service*
- 17 **Calculate Position Size** Code *Logic*
- 18 **Send Telegram Message** Telegram *Service*
- 19 **Place OANDA Order** Http Request *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 19, with 1 branch
- **Size:** Medium: a working afternoon
- **Connects to:** Telegram
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Telegram account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 19 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 19 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftrade-forex-with-telegram)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also e-commerce, with the same services where possible, closest in size first.

- [**Convert Telegram channel posts to WooCommerce products** 20 steps · Telegram, WooCommerce](https://millionrounds.com/workflow/convert-telegram-channel-posts-to-woocommerce-products)
- [**E-commerce price monitor with Firecrawl and Claude** 17 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/e-commerce-price-monitor-with-firecrawl-and-claude)
- [**Handle order tracking and FAQ requests with Telegram** 16 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/handle-order-tracking-and-faq-requests-with-telegram)
- [**Telegram Bot that uses Shopify API, n8n** 16 steps · calls a model · Gmail, Telegram](https://millionrounds.com/workflow/telegram-bot-that-uses-shopify-api-n8n)
- [**Sync WooCommerce customers to Odoo and notify with Gmail** 15 steps · Gmail, Telegram](https://millionrounds.com/workflow/sync-woocommerce-customers-to-odoo-and-notify-with-gmail)
- [**Sync new Shopify customers to Odoo and notify with Gmail** 15 steps · Gmail, Telegram](https://millionrounds.com/workflow/sync-new-shopify-customers-to-odoo-and-notify-with-gmail)
