Библиотека / Финансы, счета и бухгалтерия
Финансы, счета и бухгалтерия
Торговля на форекс с ордерами 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
Шаги
- Run Every 5 Minutes
- Time Filter
- Set Inputs
- Fetch Candles (Strategy1)
- Fetch Candles (Strategy2)
- Fetch Candles (Strategy3)
- Strategy1: Momentum EMA
- Strategy2: RSI Breakout
- Strategy3: MACD Crossover
- Get Account Balance
- Send Telegram Message
- Place OANDA Order
- Combine Strategy Signals
- Calculate Position Size
Всего шагов: 19.
Похожие автоматизации
Финансы, счета и бухгалтерияУчёт счетов из Telegram в Notion с Gemini и диаграммамиШагов: 21Финансы, счета и бухгалтерияСоздание PDF-счетов в Telegram с APITemplate.ioШагов: 6Финансы, счета и бухгалтерияSend weekly Bitcoin DCA signals from Coinbase Exchange to TelegramШагов: 6Финансы, счета и бухгалтерияУчёт чеков по фото из Telegram с Google Vision OCRШагов: 23