MT5 · TradingView · Website

Connect alerts to your terminal

Signals flow: TradingView (or manual admin) → website webhook → email/WhatsApp stubs → MT5 EA poll/file. Full steps are in INTEGRATION.md in the project repo.

1. Website

Run the Node app, set wallet addresses and WEBHOOK_SECRET / ADMIN_API_KEY in .env.

2. TradingView

Load integrations/tradingview/APlus_Setup.pine. Create an alert with webhook URL:

https://aplusfxsignals.com/api/webhooks/tradingview
Header: X-Webhook-Secret: YOUR_SECRET

Alert JSON should include symbol, side, setup, rr, timeframe.

3. MT5 Expert Advisor

Install integrations/mt5/APlusSetupEA.mq5. Allow WebRequest for your domain under Tools → Options → Expert Advisors. Set API base URL and admin key. EA polls GET /api/mt5/signals or reads a local signal file.

4. Notifications

Configure SMTP and Twilio WhatsApp env vars. Without them, the server logs notification stubs to the console — no crash on start.

Signal flow

  1. ConfirmAnalyst or Pine alert confirms A+ chain (OB → … → BOS).
  2. IngestPOST webhook or admin publish creates a signal row.
  3. NotifyEmail / WhatsApp stubs fire for matching active subscribers.
  4. ExecuteMT5 EA opens Buy/Sell with SL/TP ≈ 1:3 RR (broker symbols as inputs).

Market hours: signals are intended during session open → close for each instrument. Crypto (BTCUSD) may trade 24/7; FX/indices follow their respective sessions.

Pine & EA limitations

  • Full automatic Order Block / FVG detection in Pine Script is limited; the skeleton exposes inputs and alert templates you wire manually.
  • The MT5 EA is a skeleton — validate lot size, stops level, and symbol names with your broker before live use.
  • Crypto payment auto-confirm is not included; use a processor (e.g. NOWPayments) or admin activation.

Subscribe Strategy