FlameBot Desktop + MT4/MT5 EA (Windows)

What’s included
- No Python install required. The app bundles all runtime deps (PyQt, Telethon, etc.).
- Works on Windows 10/11. Admin is only required for the installer itself — daily runs are non‑elevated.

1) Install and Run
- Recommended: run `FlameBot-Setup-v*.exe` and complete the wizard, then launch from Start Menu/Desktop.
- Portable: open `FlameBot.exe` from the portable folder.

First‑run login (Telegram)
- Enter your phone number in FlameBot.
- Click “Verify in Telegram” — Telegram Desktop opens the Flame Check bot.
- Press Start in the Telegram chat once. The verification window closes automatically within ~10 seconds.

Telegram API credentials (managed)
- The desktop app gets its API ID/Hash from the backend. Do not add files unless support asks.
- Optional override (advanced): create `%USERPROFILE%\.tg_copier\telegram_app.json` with
   {
      "api_id": 1234567,
      "api_hash": "your_api_hash"
   }
   then restart FlameBot.

2) Install the EA (pick one)
A) In‑app (recommended)
    - Open FlameBot → Settings → “Install MT4/MT5 EA” and follow the prompts.

B) Scripted (PowerShell)
    - Right‑click `Install_EAs.ps1` → Run with PowerShell
    - Or from PowerShell in this folder:
       `./Install_EAs.ps1 -Force`

C) Manual copy
    - MT4: copy `eas\FLAMEBOT MT4 EA.ex4` → `<MT4 Data Folder>\MQL4\Experts\Advisors\`
    - MT5: copy `eas\FLAMEBOT MT5 EA.ex5` → `<MT5 Data Folder>\MQL5\Experts\Advisors\`

Find your MetaTrader Data Folder via: MT4/MT5 → File → Open Data Folder.
After copying, restart MetaTrader and attach the EA to a chart.

3) EA prerequisites (MT4 → Tools → Options → Expert Advisors)
- Allow automated trading
- Allow DLL imports
- Allow WebRequest for the following URL:
   https://api.flamebotapp.com

Troubleshooting
- Telegram didn’t open: on Windows, ensure `tg://` protocol is associated with Telegram Desktop (Apps → Default apps → Choose defaults by protocol → tg → Telegram).
- Verification stuck: click “Verify in Telegram” once, press Start in bot, wait ~10 seconds. If it still doesn’t close, restart the app and try once more.
- EA can’t reach the server: verify the WebRequest URL above is added under MT4 Options → Expert Advisors.