// case_study / 04

Trading & Automation Systems

Signal detection, execution, and orchestration automated end-to-end across TradingView, MetaTrader, and n8n.

n8n MQL5 Pine Script Next.js Discord API

01 / Problem

Manual trading workflows — order execution, trade logging, market-structure analysis — are slow and error-prone at the frequency active trading requires.

02 / Approach

The fix was automating the whole loop: signal detection via Pine Script indicators on TradingView, execution and notification via MQL5 Expert Advisors, and orchestration via n8n workflows relaying events to Discord and other systems — plus a local monitoring dashboard to see all of it running in one place.

03 / What Was Built

Pine Script v6 indicators handle multi-timeframe market-structure analysis on TradingView. MetaTrader Expert Advisors include a Discord trade notifier that posts entries, order placements, and modifications via OnTradeTransaction, and a multi-pair sweep-and-engulf scanner feeding a live n8n relay. An n8n instance orchestrates the webhook-driven workflows connecting all of it, and a Next.js local dashboard surfaces workflow health, trade journal data, market scanner output, and infra status in one view.

04 / Outcome

This is an actively used, running system, not a one-off demo — the dashboard and EAs run continuously, and workflows go through a standing validate-then-test process before activation.

← Back to Work