This is a Future Signal Generator for Quotex/QxBroker that:
- ✔ Connects directly to Quotex platform via WebSocket
- ✔ Bypasses Cloudflare protection
- ✔ Generates real trading signals based on technical analysis (RSI, Trend Detection)
- ✔ Displays future signals with time, asset, and direction
- ✔ Works in OFFLINE MODE if connection fails (for demonstration)
-
core/api.py- Direct WebSocket connection to Quotex- Based on reverse engineering from
zagmi/qxbroker - Uses Socket.IO protocol (EIO=3)
- Implements Cloudflare bypass with proper headers
- Fallback to dummy data if connection fails
- Based on reverse engineering from
-
core/analyzer.py- Signal Generation Engine- RSI (Relative Strength Index) calculation
- Trend detection using moving averages
- High-confidence signal filtering (>85%)
-
main.py- Main application- Premium terminal UI
- Auto-login from
.envfile - Real-time signal display
requests
websocket-client
requests-toolbelt
cloudscraper
fake-useragent
rich
numpy
pytz
# Activate virtual environment
.venv\Scripts\Activate.ps1
# Run the system
python main.py# Simply double-click
run_bot.batEdit .env file with your Quotex credentials:
QUOTEX_EMAIL=your_email@example.com
QUOTEX_PASSWORD=your_password-
Login Process:
- Tries multiple Quotex domains (qxbroker.com, quotex.io)
- Sends authentication request to
/api/v1/cabinets/auth/login - Receives authentication token
-
WebSocket Connection:
- Connects to
wss://ws.qxbroker.com/socket.io/?EIO=3&transport=websocket - Sends auth token via Socket.IO protocol
- Subscribes to candle data for each asset
- Connects to
-
Signal Generation:
- Fetches 50 candles for each asset
- Calculates RSI (14-period)
- Detects trend (Bullish/Bearish/Neutral)
- Generates CALL/PUT signals with confidence scores
- Filters signals with confidence > 85%
-
Fallback Mode:
- If connection fails, generates realistic dummy candles
- Still produces valid signals for demonstration
- No errors or crashes
The system generates signals based on:
- RSI Oversold/Overbought (< 30 or > 70)
- Trend Direction (Moving Average crossover)
- Confidence Scoring (85-98%)
✅ Premium Terminal UI with Rich library ✅ Auto-Login from .env file ✅ Cloudflare Bypass with proper headers ✅ Real-time WebSocket connection ✅ Offline Mode for demonstration ✅ High-Confidence Signals (>85%) ✅ Multiple Asset Support (OTC pairs)
Issue: "ModuleNotFoundError" Solution: Make sure you're using the virtual environment:
.venv\Scripts\Activate.ps1Issue: "Login Failed" Solution:
- Check your credentials in
.env - System will still work in OFFLINE MODE for demonstration
Issue: "No candles received" Solution:
- System automatically falls back to dummy data
- Signals will still be generated
- This is for signal generation only, not auto-trading
- Signals are based on technical analysis
- Always verify signals before trading
- Use proper risk management
┌─────────────────────────────────────────┐
│ QUOTEX ELITE PANEL │
├─────────────────────────────────────────┤
│ main.py (Entry Point) │
│ ↓ │
│ core/api.py (WebSocket Connection) │
│ ↓ │
│ core/analyzer.py (Signal Generator) │
│ ↓ │
│ core/utils.py (UI Display) │
└─────────────────────────────────────────┘
- Login:
https://qxbroker.com/api/v1/cabinets/auth/login - WebSocket:
wss://ws.qxbroker.com/socket.io/?EIO=3&transport=websocket - Protocol: Socket.IO v3
- Credentials stored in
.env(not committed to git) - Token-based authentication
- Secure WebSocket connection (WSS)
Created by: PYTHON x MAHIR Owner: @LUX_DOT (MAHIR) 💸