Funded Account Trade Manager

Built for funded accounts, where the rules differ by firm. Set your drawdown model — static or trailing — drag your stop to the level that matters, and the lot size follows so every trade risks the same share of equity. The limits are enforced, not merely displayed.

What a funded account actually asks of you

A funded programme hands you the firm's capital and a short list of limits. Breach one and the account is gone — not reduced, gone — however good the trading was up to that point. The two that end accounts are a daily loss limit and an overall drawdown limit, and both are usually measured on equity, which means an open position moving against you can breach them before any loss is realised.

The limits are not defined the same way twice

This is where tools go wrong, and where it costs you an account rather than a percentage.

The daily limit may be measured from the balance the day opened at, or from the highest equity the day has reached. The second is a trailing floor: run a trade into profit and the floor follows it up and stays there, so giving the profit back costs room even though your equity is where it started. Traders who have only met the first kind are routinely caught by the second.

The overall drawdown comes in two shapes:

  • Static — a fixed level below your starting balance. It never moves. Profit never raises it, so a good month buys permanent breathing room.
  • Trailing (or floating) — it follows the account's equity high. Profit raises the floor behind you, so unrealised gains become a permanent constraint. Some firms stop it once it reaches the starting balance; others never do.

And on top of those, firms commonly add a minimum holding time to exclude scalping, and require flat positions around high-impact news. Both can be breached by accident while you are doing nothing wrong — the minimum hold in particular contradicts the news rule unless something stops you entering a trade you will not be allowed to close in time.

So the same account balance gives a different amount of room depending on which firm holds it. A tool that assumes one model shows you a figure that is simply wrong on another, and you find out at the breach.

What this does about it

You choose the model, and the panel shows the arithmetic. A pill switches the account-wide drawdown between static and trailing. The daily floor trails the day's peak equity and resets at server midnight. Both are measured on equity including open trades, both percentages are inputs, and the panel displays the peak, the binding floor and the room between them rather than asking you to trust a single number.

Everything below follows from getting that right.

Most position-size tools ask you for a lot size. This one refuses to.

You place the stop where market structure says it belongs. The panel computes the lot that makes that stop cost exactly the percentage of equity you chose, recomputes it as you drag, and recomputes it again at the instant you commit — because price moves between the click and the fill, and the guarantee is the money, not the lot number that happened to be on screen.

Everything else exists to stop a good trade becoming a breached account.

The stop cannot be placed on the wrong side. Drag a buy's stop above the bid and it stops dead at the boundary, which is drawn on the chart so the limit is visible rather than discovered.

Both account floors, measured on equity including open trades. A daily floor that trails the day's highest equity, and an account floor that is either fixed below your opening balance or trails the account's equity high — whichever your firm uses. The nearer of the two binds. The panel shows the peak, the floor and the room between, so the arithmetic is visible instead of being a number you have to trust.

Open risk consumes the room. A trade's size is measured against what is left once every open stop has been hit, not against live equity. Four trades that each pass the floor check alone cannot breach it between them.

Risk tapers as the floor approaches. Within reach of the floor, a trade is capped at a share of what remains, so the approach is a taper rather than a full-stride walk into it.

And if the room runs out, it leaves. Rather than waiting to be stopped into a breach, the panel closes out — every position on a funded account, or only its own on a personal one.

News blackouts around the releases your firm names, built from the terminal's own calendar. Entries stop well before the window opens, so a position can always be closed in time without breaking a minimum-hold rule — two rules that otherwise contradict each other. When the window does open, the account goes flat, not just the chart.

A day's warning, and an early way out. Inside 24 hours of a release the panel grows a section naming it and counting down. Half an hour out, with a position open, it offers to close you out early — before the spread does what it does in the last minutes — or to carry on. Carrying on dismisses the warning for that event only; the blackout still closes everything when it arrives.

Reward levels on an open trade. Dotted rays at the next two multiples of the risk you actually took, measured from the stop the trade opened with, sliding forward as the trade works.

Market and pending orders. Two layouts. State survives a timeframe change, an input change and a terminal restart.

What it is not

It does not find trades, and it does not manage them after entry. There is no signal, no trailing stop, no partial-close logic. You decide the direction, the entry and the stop; it decides the size and whether the rules allow it.

Inputs

Risk

Input Default Meaning
InpRiskPercent 0.50 Risk per trade, % of the equity basis
InpRiskMaxPercent 1.00 Ceiling the panel's +/- cannot pass
InpFallbackSL_Dollars 6.00 Where the stop line is born, $ per 0.01 lot
InpSLBuffer_Dollars 0.00 Extra buffer placed beyond the dragged line

Execution

Input Default Meaning
InpMaxSlippage_Dollars 0.25 Slippage tolerance, $ per 0.01 lot
InpMagicNumber 20261018 Tags orders this panel places

Account limits

Input Default Meaning
InpAccountMode Funded Funded enforces; Personal shows but does not refuse
InpDDMode Floating Account floor trails the equity high, or sits below the opening balance
InpDailyLossPct 5.00 Daily floor, % below the day's peak equity
InpMaxDrawdownPct 10.00 Account floor, % below its base
InpOpeningBalance 0 0 derives it from deal history
InpTrailingPeak 0 Equity high for a trailing drawdown; 0 derives it
InpMinHoldSecs 120 Minimum hold before the panel's close button works
InpFloorRiskShare 20.0 Cap a trade at this % of the room (0 = off)
InpFloorCloseShare 15.0 Leave the market at this % of the allowance (0 = off)

News

Input Default Meaning
InpUseNewsGuard true Blackout around high-impact releases
InpNewsNoEntrySecs 600 No new trade this long before a release
InpNewsBeforeSecs 190 Flat by this long before it
InpNewsAfterSecs 190 And no trade until this long after
InpNewsIncludeOnly the firm's four Empty blocks everything — see the warning below
InpNewsExclusions empty Names to drop even if the include list matched
InpNewsPromptSecs 1800 Offer an early way out this long before a release (0 = off)

Stop sanity, panel

Input Default Meaning
InpMinStopMultiple 1.00 Refuse a stop tighter than this x the recent range
InpMinStopRangeBars 2 M1 bars that range is measured over
InpPanelStyle Card Card or docked bar
InpFontSans  / InpFontMono Segoe UI / Consolas Any installed font

Instructions

Setup, once per account

  1. Attach to any chart. Allow algo trading.
  2. Set InpAccountMode  to match the account, and InpDDMode  to match how your firm measures the account-wide drawdown — static below the opening balance, or trailing the equity high. Getting this wrong makes every figure on the panel disagree with your firm's dashboard.
  3. Set InpDailyLossPct  and InpMaxDrawdownPct  to your firm's numbers.
  4. Leave InpOpeningBalance  at 0 unless the derived figure is wrong; the startup log prints what it found.
  5. Check InpNewsIncludeOnly  against your broker's calendar — see docs/news-names.md . Leaving it empty blocks every high-impact event, which is the expensive setting, not the permissive one.

Taking a trade

  1. Press ARM BUY or ARM SELL. A stop line appears at the fallback distance.
  2. Drag it to your level. The lots and the dollar risk track the drag; the line will not cross to the wrong side of price.
  3. Press EXECUTE. The size is recomputed at that instant, pre-checked for margin, and sent with the stop attached.

For a pending order, switch ORDER TYPE to PENDING  before arming. A second line appears for the entry; where you put it against price decides whether it is a limit or a stop, and the button says which it will place.

Requirements

  • MetaTrader 5, hedging or netting.
  • Algo trading enabled.
  • A broker whose symbols report contract size and stops level correctly; run SymbolProbe  once on a new broker to confirm.
필터:
리뷰 없음
리뷰 답변