Loading…

Payout Readiness Checker

Most payout rulebooks are a short list of conditions that all have to be true at once, and the easiest way to get one wrong is to only think about it the day you plan to request the withdrawal. This EA keeps the whole checklist on screen continuously instead: profit target reached, enough distinct trading days, no single day's loss over the configured limit, no single day's profit an outsized share of total profit (a common consistency rule), overall drawdown from the account's peak equity within limit, balance above a minimum, and optionally the account flat with no open positions. Every threshold is a plain input the trader sets from their own firm's actual rules - this program has no way to query a broker or prop firm for what those rules are, and does not try to. It only tells you, continuously and honestly, whether the numbers you typed in are currently satisfied. The daily-loss and consistency checks work from closed trade history grouped by calendar day, with each day's starting balance estimated as the configured starting balance plus every other day's net result booked before it - an estimate, not a genuine tick-by-tick equity curve, because MQL4 keeps no such record. The overall drawdown check tracks equity's peak in a terminal global variable so it survives a terminal restart instead of silently resetting to the current equity the moment the platform reopens. Notes and limitations - Report-only. It never sends, closes or modifies an order under any circumstance - it can only tell you what it sees. - The daily-loss and consistency figures are estimates built from closed trade history grouped by day, not a genuine equity curve; a day with large floating swings that closed flat will not show as a bad day even if it briefly breached a limit intraday. - It cannot know your firm's actual, current rules or whether a payout has already been approved or denied - it only reports against the numbers you typed into the inputs. - The trading-day and consistency scan is bounded to the most recent 366 distinct calendar days found in history to keep the per-tick cost bounded on a very long-lived account.

Expert advisor · MT5 · v1.0 · Free

About Payout Readiness Checker

Payout Readiness Checker is a script for MetaTrader 5. It has 12 settings, such as Starting balance, Profit target percent and Min trading days. MQL source code included.

Files in the download: PayoutReadinessChecker.ex5, PayoutReadinessChecker.mq5, PayoutReadinessChecker.txt.

Settings

SettingDefaultWhat it does
Starting balance10000.0Baseline balance the profit target is measured from
Profit target percent8.0Required gain from InpStartingBalance, in percent (0 = skip this check)
Min trading days5Minimum distinct calendar days with at least one closed trade (0 = skip)
Require flat to qualifyfalsetrue = no open positions may be present when checked
Max daily loss percent5.0Largest single-day realised loss allowed, percent of that day's start balance (0 = skip)
Max overall drawdown percent10.0Largest peak-to-current equity drawdown allowed, percent (0 = skip)
Min account balance0.0Minimum current balance required (0 = skip)
Consistency max single day pct30.0No single day's closed profit may exceed this percent of total closed profit (0 = skip)
Magic filter-1Magic number filter for trade-history checks (-1 = every magic number)
Current symbol onlyfalseRestrict trade-history checks to this chart's symbol
Publish global variablestruePublish overall readiness and unmet-count via terminal global variables
Timer interval sec15How often the checklist is recomputed

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 5 open File → Open Data Folder, then go to MQL5 → Scripts.
  3. Copy the .mq5 file(s) there. Put any .mqh files in MQL5 → Include.
  4. Open the .mq5 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the script onto a chart to run it once.

Download the PDF guide

Tags: MT5 Expert Advisor · MQL5 Source Code

Expert advisors (EA) for MT4 & MT5 · PolyMaria