NadirAliOfficial
monsterfx-reliable-trader
MQL5

MT5 Expert Advisor + Discord bot for automated Forex trading signals with Gold VIP channel

Last updated Jul 1, 2026
11
Stars
0
Forks
0
Issues
0
Stars/day
Attention Score
41
Language breakdown
MQL5 100.0%
Python 0.0%
โ–ธ Files click to expand
README

MonsterFX Reliable Trader v5.0

A complete automated trading system that connects MetaTrader 5 to a Discord community server via a Python webhook bot.

How It Works

MT5 (EA running on chart)
        โ”‚
        โ”‚  HTTP POST (JSON)
        โ–ผ
Python Bot (Flask webhook server)
        โ”‚
        โ”‚  Discord API
        โ–ผ
Discord Server (channels: open trades, closed trades, gold signals, daily report)
  • The MT5 Expert Advisor detects trade signals, opens/closes positions, and sends updates to the Python bot over HTTP.
  • The Python bot receives those updates and posts them as rich embeds to the correct Discord channels.
  • Gold (XAUUSD) signals are sent to a VIP-only channel for manual execution โ€” Gold is never auto-traded.
  • A daily report is posted at 21:00 UTC summarising all Gold signal performance.

Strategy

  • Pairs: EURUSD, USDCAD, EURGBP (auto-traded) + XAUUSD (signals only)
  • Timeframes: M15 trend filter + M5 entry
  • Indicators: EMA 21/50 crossover, EMA 200 trend filter, RSI 14, VWAP, ATR-based SL/TP
  • Session filter: London (08:00โ€“16:00 GMT) + New York (13:00โ€“21:00 GMT)
  • Risk limits: Max 2 concurrent trades, max 7 trades/day, 20% max drawdown, 10% max daily loss

Setup

1. Python Bot

Install dependencies:

pip install -r requirements.txt

Configure environment:

cp env.example env

Edit _env and fill in:

| Variable | Description | |---|---| | DISCORDBOTTOKEN | Your bot token from Discord Developer Portal | | WEBHOOK_SECRET | Must match SecretKey in the MT5 EA settings | | WEBHOOK_PORT | Port the Flask server listens on (default: 5000) | | TRADEALERTSCHANNEL | Channel ID for closed trade alerts | | GOLDSIGNALSCHANNEL | Channel ID for Gold VIP signals | | BOTLOGSCHANNEL | Channel ID for bot logs | | SUBSCRIBER_ROLE | Role ID for paid subscribers | | GOLDVIPROLE | Role ID for Gold VIP (server boosters) |

Run the bot:

python3 bot_production.py

2. MT5 Expert Advisor

  • Copy MonsterFX_AutoTrader.mq5 into your MT5 MQL5/Experts/ folder.
  • Compile it in MetaEditor (F7).
  • In MT5: Tools โ†’ Options โ†’ Expert Advisors
- Check "Allow WebRequest for listed URL" - Add http://127.0.0.1:5000
  • Attach the EA to a chart and set:
- ServerURL = http://127.0.0.1:5000 - SecretKey = same value as WEBHOOKSECRET in your env file
Important: Start the Python bot before attaching the EA in MT5, so the webhook server is ready when the EA sends its first startup message.

Discord Commands

| Command | Permission | Description | |---|---|---| | /status | Everyone | Show live account balance, equity, drawdown | | /trades | Everyone | List all currently open positions | | /gold | Admin | Manually send a Gold signal to the VIP channel | | /goldtp | Admin | Manually record a Gold TP/SL result | | /goldreport | Admin | Send the Gold daily report immediately | | /addsub | Admin | Grant subscriber role to a user | | /removesub | Admin | Remove subscriber role from a user |

Channel Structure (Recommended)

Discord Server
โ”œโ”€โ”€ #open-trades       โ† Live open positions (auto-updated, auto-deleted on close)
โ”œโ”€โ”€ #trade-alerts      โ† Closed trades + system messages
โ”œโ”€โ”€ #gold-signals      โ† Gold VIP signals (visible to Gold VIP role only)
โ””โ”€โ”€ #gold-report       โ† Daily Gold performance report

Security Notes

  • Never commit your _env file โ€” it is listed in .gitignore.
  • If your Discord bot token is ever shared publicly, regenerate it immediately in the Discord Developer Portal.
  • The WEBHOOK_SECRET / SecretKey prevents unauthorised requests to the Flask server.

Files

| File | Description | |---|---| | bot_production.py | Main Python bot (Discord + Flask webhook server) | | MonsterFX_AutoTrader.mq5 | MT5 Expert Advisor source code | | requirements.txt | Python dependencies | | _env.example | Environment variable template | | _env | Your local secrets โ€” do not commit |

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท NadirAliOfficial/monsterfx-reliable-trader ยท Updated daily from GitHub