Skip to content

Kaltorim/MT5-PropFirm-Drawdown-Guard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Topics: metatrader5, mql5, prop-firm, expert-advisor, mql4, metatrader, forex-trading, automated-trading, risk-management, money-management, ftmo, funded-account, drawdown-protection, mt4, mt5, trading-bot, mt5-drawdown-guard, ftmo-equity-protector, prop-firm-kill-switch

Information

Drawdown protection and equity guard suite for prop firm traders using MT5 / MT4. The project enforces daily loss limits, total drawdown rules, and equity shields with a hard kill-switch, helping traders survive funded challenges and live phases without breaking the firm's risk parameters.

🛡️ PropFirm Drawdown Guard MT5/MT4

Real-time equity guard with daily / overall drawdown enforcement, hard kill-switch, and full prop firm rule simulation.


Stars Forks Issues Platform License

Preview


📸 Screenshot

Drawdown guard UI


🎬 Demo

Demo

Why a Drawdown Guard?

Most prop firm failures are not from bad strategies, they are from one bad day that breaks a hard limit.

This project keeps you funded by:

  • Watching equity tick by tick
  • Closing trades before the rule breaks
  • Locking the account for the rest of the session

What It Does

PropFirm Drawdown Guard MT5/MT4 mirrors typical prop firm risk rules and enforces them locally before the broker server flags you.

Module Description
Equity Monitor Tick-level equity tracking
Daily Loss Engine Resets at broker server midnight
Max DD Engine Trailing or static drawdown
Kill Switch Closes all & blocks new orders
Buffer Layer Configurable safety buffer
Session Log Full audit trail of triggers

Features

Feature Description
Daily Limit Rule Loss-of-day shutdown
Overall Limit Rule Max account drawdown
Trailing Drawdown High-water-mark mode
Soft Warn / Hard Stop Two-level alert system
MT4 / MT5 Support Platform selection system
Broker Time Sync Resets exactly on broker midnight
Audio Alerts Pre-trigger warning
Account Selector Multiple challenges side by side
Rule Presets FTMO, MFF, FundedNext, custom
Recovery Mode Manual unlock after review

System Behavior

  • Tick-frequency equity sampling
  • Server-time aware, no local-clock drift
  • Closes positions sequentially to limit slippage
  • Refuses new orders while locked, even from external EAs

Quick Start

Requirements:

  • Windows 10 / 11
  • .NET 8+
  • Visual Studio 2022
git clone https://github.com/your-username/propfirm-drawdown.git

Open solution → Press F5


How to Use

  1. Launch app
  2. Select MT4 / MT5
  3. Enter login
  4. Click CONNECT
  5. Load prop firm preset
  6. Set buffer percent
  7. Click ARM GUARD
  8. Trade with a hard safety net

Interface Logic

START   ████████████████████   100%
NOW     ██████████████░░░░░░    72%
LIMIT   ████░░░░░░░░░░░░░░░░    25%  <- KILL LINE
  • Green band = safe zone
  • Yellow band = warning zone
  • Red band = trigger zone
  • Locked panel = guard fired

Roadmap

  • Equity monitor
  • Kill switch
  • Rule presets
  • Real MT5 EA bridge
  • Cloud rule sync
  • Per-symbol risk caps
  • Mobile alert push

Contributing

1. Fork
2. git checkout -b feature/new-feature
3. git commit -m "Add feature"
4. git push
5. Open PR

License

MIT


PropFirm Drawdown Guard MT5/MT4 · v1.0

About

Equity guard and drawdown protector MetaTrader for MT5 / MT4 prop firm traders. Enforces daily loss limits, trailing or static max drawdown, hard kill-switch and FTMO / MyForexFunds / FundedNext rule presets to keep funded accounts alive.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors