Prop Limit Panel
- Yardımcı programlar
-
Bayram Erhan Partal
MQL5 / MQL4 geliştiricisi: MetaTrader 5 ve MetaTrader 4 için Expert Advisor,
indikatör, script ve yardımcı araçlar.
Kodu şartnamenize birebir uygun teslim ederim ve bunu kanıtlarım.
Her işte teslim ettiklerim
- Kaynak kod (.mq5/.mq4) ve derlenmiş dosya; input adları şartnamenizdeki gibi - Sürüm: 1.0
Prop Limit Panel keeps your prop firm limits on the chart while you trade. It never opens, modifies or closes a position.
What it shows
- Daily loss: realized + floating loss of the day against your daily limit, with the amount left.
- If all SL hit: the day's result if every open stop loss is hit now. Positions without a stop loss are flagged in red.
- Max loss: equity against your overall limit, static or trailing.
- Open risk: money at risk from the current price to the stops of all open positions, on every symbol of the account.
- Target: progress to the profit target.
- Status: OK, WARNING or DANGER, with an alert (and an optional push notification) when a limit is 50% / 80% used.
Why the day anchor matters
Most panels take the day's starting balance when they load. Restart the terminal in the afternoon and the daily loss starts again from zero. Prop Limit Panel rebuilds the anchor from the account's deal history at the firm's reset hour, so a restart, re-attaching the panel or a chart change never moves it.
Inputs
- InpDailyPct (4.0): daily loss limit, % of the daily base.
- InpDailyBase (balance): the daily base is the balance at the reset hour, or the higher of balance and equity at the reset hour. Equity at the reset hour is known only if the panel was running at that moment; after a restart later in the day the balance is used.
- InpResetHour (0): the hour your firm starts a new day, in server time (the Market Watch clock).
- InpMaxPct (10.0): max loss limit, % of the initial balance.
- InpMaxMode (static): static counts from the initial balance; trailing counts from the highest equity seen.
- InpInitial (0): initial balance; 0 takes the first deposit in the account history.
- InpTargetPct (10.0): profit target %; 0 hides the row.
- InpShowIfAllSl, InpShowRisk, InpShowTarget (true): show or hide each row.
- InpAlerts (true), InpWarnPct (50), InpDangerPct (80): alert levels in % of a limit used.
- InpPush (false): also send the alert to the MetaTrader mobile app.
- InpX, InpY, InpFontSize, InpBack, InpText: panel position, font size and colors.
Set the reset hour and the percentages to your firm's rules. Attach the panel to one chart only; it reads the whole account.
Feedback wanted
This is the first version. Please tell me in the comments:
- Which prop firm and account type do you use, and does the panel match the firm's dashboard?
- Which feature would you want next: close all at the daily limit, block new trades after the limit, cut risk after a drawdown step, or flat before news and weekends?
- Anything shown wrong or missing on your account?
