Skip to content

v5.0.0 — Institutional ICT, SQLite Memory, TradingView Charts & 67 MCP Tools

Choose a tag to compare

@JonusNattapong JonusNattapong released this 16 Aug 10:39
· 10 commits to main since this release

🚀 popmely v5.0.0 — The Ultimate MetaTrader 5 Institutional MCP Server

We are thrilled to announce the official release of popmely v5.0.0, transforming your MetaTrader 5 terminal into an autonomous, institutional-grade AI trading workstation with 67 MCP Tools, 4 Resources, 2 Prompts, and a persistent SQLite database.


🌟 What's New in v5.0.0

👑 1. Institutional & ICT Strategy Suite (4 Tools)

  • mt5_analyze_silver_bullet: Detects liquidity sweeps (BSL/SSL), Market Structure Shifts (MSS), and active FVG trigger zones with 1:2.5 R:R plans.
  • mt5_detect_judas_swing: Scans Asian Session high/low manipulation sweeps during London/NY open for sniper reversal entries.
  • mt5_analyze_ifvg: Scans for broken FVGs inverted into high-probability support/resistance zones.
  • mt5_confluence_matrix: Multi-timeframe scoring (H4 Macro + H1 Structure + M15 FVG + RSI 14) yielding 0–100% confluence probabilities.

📰 2. High-Impact News Filter & Straddle Breakouts (4 Tools)

  • mt5_get_economic_calendar: Live economic calendar feed from FairEconomy/ForexFactory JSON API.
  • mt5_check_news_blackout: Volatility filter to prevent slippage during FOMC, CPI, NFP events.
  • mt5_execute_news_straddle: Places two-sided bracket pending orders (BUY_STOP + SELL_STOP) right before news spikes.
  • mt5_analyze_news_volatility: Real-time ATR expansion and price displacement measurement.

⚡ 3. Smart Scale-Out & Risk-Free Profit Locking (3 Tools)

  • mt5_take_partial_profit: Closes 50%/33% of an active position and automatically steps Stop Loss to Breakeven (+offset points).
  • mt5_scale_out_all_profitable: Bulk partial profit taking across all winning positions in 1 click.
  • mt5_lock_profit_target: Steps up SL to guaranteed profit levels (+points beyond entry).

📈 4. TradingView-Style Candlestick Chart Generator (mplfinance)

  • mt5_generate_candlestick_chart: Generates high-res dark-theme .png charts with compact TradingView-style Long/Short Position risk-reward boxes, FVG/OB highlight zones, and EMAs (20, 50, 200).

💾 5. Embedded SQLite Persistence Engine (v5.0.0)

  • ~/.popmely/popmely.db (WAL mode): Automatically persists Credit Score history, journal notes, bot signals, and backtest archives across server restarts.

🧠 6. AI Memory & Setup Recall Suite (5 Tools)

  • mt5_recall_similar_trades: Recalls past setup statistics, Win Rate %, and AI reflection lessons.
  • mt5_recall_trading_mistakes: Pre-trade psychological safety checklist to prevent recurring errors.
  • mt5_recall_strategy_rankings: Historical strategy performance leaderboard.
  • mt5_recall_recent_order: Emergency undo button to immediately close accidental orders within N seconds.
  • mt5_recall_all_pending_orders: 1-click cancel all pending orders.

📱 7. Freeform Telegram Messaging & Chart Sharing

  • mt5_send_telegram_message: Send custom briefings and alerts with HTML formatting.
  • mt5_send_telegram_photo: Send candlestick chart images directly to Telegram.

⚙️ 8. Dynamic Configuration via MCP

  • mt5_get_config & mt5_set_config: Dynamically set Telegram tokens, chat IDs, max lot sizes, and safety limits via MCP and persist to .env without server restart.

📺 9. Real-Time Streaming Terminal Console

  • python -m popmely.live --symbol XAUUSD --interval 2 --auto-trade: Interactive auto-refreshing dashboard.

📦 Quick Installation & Usage

# Clone and install dependencies
git clone https://github.com/JonusNattapong/popmely.git
cd popmely
pip install -e .

# Run MCP Server
python -m popmely

# Run Live Streaming Dashboard
python -m popmely.live --symbol XAUUSD --interval 2