Back to Templates

Automated Forex News Alert System with Forex Factory and Telegram

Last update

Last update 3 days ago

Share


Get Forex Factory News Release to Telegram

This n8n template demonstrates how to capture Actual Data Releases as quickly as possible for trading decisions.

Use cases:

  1. Get notified if the actual data release is positive or negative for the relevant currency.
  2. Use the Telegram chat message about the news release as a trigger to open a trading position in MetaTrader 4.

How it works

  • A news release event acts as the trigger.
  • Only news with a numerical Forecast value will be processed. Events that cannot be measured numerically (e.g., speeches) are ignored.
  • Extract news details: currency, impact level (high/medium), release date, and news link.
  • Wait 10 seconds to ensure the Actual value is available on the news page.
  • Scrape the Actual value from the news link using Airtop.
  • If the Actual value is not available, wait another 5 seconds and retry scraping.
  • Extract both Actual and Forecast values from the scraped content.
  • Remove non-numeric characters (%, K, M, B, T) and convert values to numbers.
  • Determine the effect:
    If the Actual value is lower than the Forecast value (and lower is better), send it to the True branch.
    Otherwise, send it to the False branch.

How to use

  • Enter all required credentials.
  • Run the workflow.

Requirements

  • Google Calendar credentials
  • Airtop API key
  • Telegram Chat ID
  • Telegram Bot API token

Need Help?

Join the Discord or ask in the Forum!

Thank you!