Перейти к содержанию
НОВОЕПознакомьтесь с Alaaddin — вашим ИИ-джинном с голосом. trig8n запускается 1 января 2027. Что нового

Библиотека / Финансы, счета и бухгалтерия

Финансы, счета и бухгалтерия

Торговля на форекс с ордерами OANDA по трем стратегиям и оповещениями в Telegram

Запускает стратегии EMA, RSI и MACD каждые 5 минут в торговые часы, размещает ордера OANDA с размером позиции по риску, стоп-лоссом и тейк-профитом, и публикует оповещения о сделках в Telegram.

Что делает

## Forex Multi-Strategy Trading Bot with OANDA and Telegram Alerts Who is this for? Forex traders who want to automate signal detection and order execution across multiple technical strategies on an OANDA practice account, with real-time Telegram notifications. What it does Runs three independent trading strategies (EMA Momentum, RSI Breakout, MACD Crossover) in parallel every 5 minutes during market hours. When a signal fires, it calculates position size based on account balance and risk percentage, places a market order on OANDA with stop-loss and take-profit, and sends a detailed alert to Telegram. How it works 1. Schedule Trigger fires every 5 minutes 2. Time Filter blocks execution during weekend market closures 3. Three parallel paths set instrument, timeframe, and risk inputs 4. Each path fetches 50 candles from OANDA and runs its strategy logic 5. Signals merge and are filtered — only BUY/SELL pass through 6. Account balance is fetched from OANDA 7. Position size, stop-loss, and take-profit are calculated from risk % 8. A market order is placed on OANDA with SL/TP 9. A formatted alert is sent to a Telegram group topic Setup steps 1. Create an OANDA practice account and generate an API token 2. Add the token as a Bearer Auth credential in n8n 3. Create a Telegram bot via BotFather and add the API credential 4. Update the three Set Inputs nodes with your account IDs, instrument, timeframes, risk %, and Telegram chat/topic IDs 5. Activate the workflow

Шаги

  1. Run Every 5 Minutes
  2. Time Filter
  3. Set Inputs
  4. Fetch Candles (Strategy1)
  5. Fetch Candles (Strategy2)
  6. Fetch Candles (Strategy3)
  7. Strategy1: Momentum EMA
  8. Strategy2: RSI Breakout
  9. Strategy3: MACD Crossover
  10. Get Account Balance
  11. Send Telegram Message
  12. Place OANDA Order
  13. Combine Strategy Signals
  14. Calculate Position Size

Всего шагов: 19.

Похожие автоматизации