A professional-grade Quantitative Signal Scanner and Risk Management Terminal built for MetaTrader 5. Designed specifically for funded traders (FTMO, The 5%ers) to enforce discipline, calculate position sizing instantly, and identify high-probability setups using a normalized scoring model.
The system does not use basic indicators. It uses a Normalized Weighted Probability Model to rank every pair in real-time:
- Trend Strength (30%): Distance from 200 EMA + ADX Power.
- Momentum Alignment (20%): RSI Curves (penalizes exhaustion).
- Structure Proximity (25%): Distance to Donchian Breakout levels.
- Volatility Quality (15%): Healthy ATR % range.
- Liquidity Quality (10%): CRITICAL. Punishes high spreads (News/Rollover).
- Portfolio Protection: Blocks new trades if total open risk > Max %.
- Spread Filter: Automatically ignores assets with poor liquidity.
- Jitter-Free Math: Calculates lot sizes based on Tick Value (Accurate for JPY, Indices, & Metals).
- Live Scoreboard: Color-coded table (Green/Yellow/Red) for instant decision making.
- Active Alerts: Visual arrows (▲/▼) show real-time score momentum.
- One-Click Config: Adjust Risk % (0.5%, 1.0%) and R:R Ratio (1:2, 1:3) on the fly.
- MetaTrader 5 (MT5) installed and logged into your broker.
- "Algo Trading" enabled in the MT5 toolbar.
- Python 3.10+ installed.
-
Clone the repository:
git clone [https://github.com/YourUsername/PropGuard-Quant-Scanner.git](https://github.com/YourUsername/PropGuard-Quant-Scanner.git) cd PropGuard-Quant-Scanner -
Install dependencies:
pip install PyQt6 MetaTrader5 pandas pandas_ta
-
Run the terminal:
python scanner.py
- Select Markets: Check the boxes on the left (Forex, Indices, Crypto).
- Set Risk: Choose your risk per trade (e.g., 0.50%) and Target R:R (e.g., 1:2).
- Start Scan: Click "▶ START SCANNER".
The scanner normalizes all data into a 0-100 score.
| Score | Rating | Action |
|---|---|---|
| 85 - 100 | 🟩 INSTITUTIONAL | TRADE NOW. High trend, perfect momentum, breakout imminent. |
| 70 - 84 | 🟨 VALID SETUP | WATCH. Good conditions, wait for price action trigger. |
| 0 - 69 | 🟥 WEAK / NOISE | STAY AWAY. Low quality or high spread. |
The table provides the exact Lot Size, Stop Loss, and Take Profit based on your account balance and risk settings. Simply enter these figures into MT5.
You can modify PropGuardConfig in the code to adjust sensitivity:
class PropGuardConfig:
ATR_MULTIPLIER = 1.5 # Tightness of Stop Loss
EMA_PERIOD = 200 # Trend Baseline
LOOKBACK = 20 # Breakout Sensitivity
⚠️ Disclaimer
This software is a decision-support tool, not a financial advisor. Algo trading involves risk. Always test on a Demo account before using real funds.
Author: sonofmecury Built for: Prop Firm Compliance (FTMO / 5ers Rules)