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

Daily Loss Meter for Prop Firm Rules - indicator for MetaTrader 5

Abderrazak Abderrahmani
Abderrazak Abderrahmani
  • Full Stack Developer at  inscited Co
  • Germany
  • 114
MQL5 developer: indicators, Expert Advisors and prop-firm risk tools
Views:
57
Published:
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Daily Loss Meter shows on the chart how much of today's daily loss limit you have used. It is built for traders on funded or prop-firm accounts, where breaking the daily loss rule ends the account. The panel counts closed P/L (including commission and swap) and floating P/L since the daily reset. It shows the loss so far, the money left before the limit and the equity floor your account must stay above.

Daily Loss Meter in the OK state

The limit can be set as a percentage of the base or as a fixed amount. The base is the balance, the equity, or the higher of the two at the daily reset, matching how different prop firms measure the rule. Set the reset hour in server time to match your firm. Equity at the reset is recorded while the indicator is running; until it has been recorded, the panel uses the balance and says so.

The progress bar turns from green to orange at 50% and red at 80% of the limit. One alert fires at the warning level and one at the limit, with optional push notifications. The meter covers the whole account across all symbols and EAs, and deposits made today are not counted as P/L.

Daily Loss Meter in the warning state

Inputs

Input Default What it does
Daily loss limit, % of base 5.0 Limit as a share of the base
Fixed daily loss limit in account currency 0 Fixed limit amount; 0 uses the % above
Base for the limit Balance at the daily reset Balance, equity, or the higher of the two at the reset
Daily reset hour, server time 0 Server hour when the trading day starts
Orange from this % of the limit 50 Caution level
Red and alert from this % of the limit 80 Warning level and alert
Pop-up alerts true Alert at the warning level and at the limit
Push notifications to MetaTrader mobile false Same alerts sent to your phone
Panel corner, offsets, font size, colours Top left Position and look of the panel

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

NyTime - broker server time to New York time with US and EU daylight saving NyTime - broker server time to New York time with US and EU daylight saving

Converts broker server time to UTC and New York time with US and EU daylight saving rules. Works the same live and in the Strategy Tester, where TimeGMT() returns server time.

News Day Blocker - no new trades on US CPI and FOMC days News Day Blocker - no new trades on US CPI and FOMC days

Blocks new trades on US CPI and FOMC days (New York date). Built-in calendar 2015-2027, works in the Strategy Tester. Never opens trades.

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

MACD Signals MACD Signals

Indicator edition for new platform.