Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Prop Firm Guard Panel - indicator for MetaTrader 5

Redouane Moundji
Redouane Moundji
  • MQL5 Developer at  Self-employed
  • France
  • 174
MQL5 & full stack developer based in France. I build clean, well-tested trading robots and indicators for MetaTrader 5.
What I do:
- Prop-firm ready EAs: daily and max loss protection, news filter, weekend close, risk per trade
- TradingView (Pine Script) to MT5 conversions
Views:
107
Rating:
(1)
Published:
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Prop Firm Guard Panel on the chart

Prop Firm Guard Panel is a small on-chart panel for traders working on prop firm challenges or funded accounts. It shows, in real time, how far the account is from the daily loss limit, the maximum loss limit and the profit target, so you always know how much room is left before breaking a rule.

The indicator is display only. It never opens, modifies or closes positions.

What the panel shows:

  • Equity and balance
  • Daily loss: amount used, limit, percentage and remaining room (based on the start-of-day balance)
  • Max loss: percentage used, remaining room and the equity floor
  • Profit target: progress bar and percentage
  • Day start time (server time) and start-of-day balance

The start-of-day balance is rebuilt from today's closed deals, so the panel stays correct after a terminal restart. Colors switch from green to orange to red as limits get closer. Optional alerts (popup and push notification) fire once when a warning level is reached.

Inputs:

  • InpInitialBalance: initial account size (e.g. 100000)
  • InpDailyLossPct: daily loss limit in % of initial balance (default 5)
  • InpMaxLossPct: maximum loss limit in % of initial balance (default 10)
  • InpTargetPct: profit target in % (default 10)
  • InpResetHour: server hour when the trading day resets (default 0)
  • InpWarnPct: warning level, in % of a limit used (default 80)
  • InpPopup: enable popup alerts
  • InpPush: enable push notifications
  • InpCorner, InpX, InpY: panel position on the chart
  • InpFontSize: font size
  • InpTheme: Auto (follows the chart background), Dark or Light

Note: rules differ between prop firms (balance-based or equity-based daily limit, trailing drawdown, reset time). Check your firm's rules and set the inputs accordingly.

Mouse Scroll Zoom in Zoom Out Mouse Scroll Zoom in Zoom Out

Mouse Scroll Zoom in Zoom Out

Trend Regime Indicator Trend Regime Indicator

Trending up, trending down or ranging: a verdict for every bar, and how long it has held. Each stretch of one regime is boxed on the price chart, ADX columns below show how strong it is, and a one-line panel gives the regime, its age and the ADX. Values for Expert Advisors and an alert on closed bars.

Opening Range Breakout with Statistics Dashboard Opening Range Breakout with Statistics Dashboard

Draws the daily opening range and its breakout levels, with a dashboard showing how the range resolved over your lookback: broken up, down, both ways or not at all, and how often a breakout hit its target before the opposite side.

MACD Signals MACD Signals

Indicator edition for new platform.