π₯ 1. Set up
Confirm all settings on a demo account earlier than making use of the EA to a stay account. Incorrect settings might trigger fast closure of all trades.
Drag the EA onto any chart.
Information Filter: The MT5 information filter makes use of the built-in financial calendar. No extra configuration is required. Be sure that beneath Instruments β Choices β Knowledgeable Advisors, the “Use financial calendar” choice is enabled.
βοΈ 2. Basic Settings
| Parameter | Default | Description |
|---|---|---|
| Magic Quantity | 308021 | Distinctive EA identifier. Solely related when MonitorAllTrades = false. |
| Monitor ALL trades | true | Displays all trades no matter magic quantity. When false, solely trades with the configured magic quantity are monitored. |
| Additionally shut pending orders | true | Additionally closes pending orders when trades are closed (e.g. on loss restrict or time rule). |
β° 3. Time-Primarily based Shut
A person shut time might be configured for every weekday (MondayβFriday). All instances check with dealer server time.
| Parameter | Default | Description |
|---|---|---|
| Allow (Day) shut | MonβThu: false, Fri: true | Allows time-based closing for the respective day. |
| (Day) shut β Hour | 22 | Hour of shut (0β23). |
| (Day) shut β Minute | 55 (Fri: 57) | Minute of shut (0β59). |
π 4. Commerce Limits
| Parameter | Default | Description |
|---|---|---|
| Max trades per instrument | 3 | Most open trades per image. |
| Max trades per instrument per magic | 0 (off) | Most trades per image AND magic quantity. 0 = disabled. |
| Max whole open trades | 5 | Most whole open trades throughout all symbols. |
| Max lot dimension per commerce | 50.0 | Most lot dimension per commerce. Bigger trades are closed instantly. |
| Enable hedging | true | Permits reverse positions on the identical image. |
| Allow day by day commerce rely | true | Allows the day by day commerce rely restrict. |
| Max trades per day | 10 | Most trades per day (counted from reset time). |
| Allow weekly commerce rely | true | Allows the weekly commerce rely restrict. |
| Max trades per week | 50 | Most trades per week (resets Monday 00:00). |
| Shut trades when exceeded | true | Closes probably the most just lately opened commerce when restrict exceeded. |
β οΈ 5. Danger Administration
Per-trade threat is calculated SL-based: (Entry β SL) Γ Heaps Γ Tick Worth / Stability Γ 100 . Trades with out stop-loss return threat 0.
| Parameter | Default | Description |
|---|---|---|
| Allow single commerce threat | true | Allows per-trade threat checking. |
| Max threat per commerce (%) | 1.0 | Most SL-based threat per commerce as share. |
| Allow whole threat monitoring | true | Allows whole threat monitoring throughout all positions. |
| Max whole threat (%) | 3.0 | Most whole threat of all positions mixed. |
| Shut precedence | CLOSE_NEWEST | On threat exceeded: CLOSE_NEWEST (latest commerce) or CLOSE_RISKIEST (riskiest commerce first). |
| Enable trades with out SL | false | Permits trades with out stop-loss. When false, a countdown begins. |
| Seconds till shut with out SL | 15 | Seconds till a commerce with out SL is mechanically closed. |
π 6. Day by day Loss Restrict
The day by day loss restrict is calculated in actual time based mostly on fairness. It considers each open positions (unrealized P/L + swap + fee) and trades closed because the final reset time.
| Parameter | Default | Description |
|---|---|---|
| Allow day by day loss safety | true | Allows day by day loss safety. |
| Day by day loss mode | LOSS_PERCENT | LOSS_PERCENT = share of reset steadiness, LOSS_AMOUNT = mounted quantity. |
| Day by day loss worth | 4.50 | Restrict worth (% or $ relying on mode). |
| Day reset time β Hour | 0 | Hour of day by day reset (0β23). Defines the beginning of the buying and selling day. |
| Day reset time β Minute | 0 | Minute of day by day reset (0β59). |
| Disable Autotrading on cease | OFF | OFF = no block, UNTIL_RESET = till subsequent day by day reset, UNTIL_MANUAL = till handbook reset. Disables autotrading within the terminal. |
| Retry makes an attempt for closing | 5 | Variety of shut makes an attempt per commerce (for dealer delays). |
| Delay between retries (ms) | 500 | Wait time between shut makes an attempt in milliseconds. |
π― 7. Revenue Goal & Revenue Lock
The revenue goal closes all trades when the configured worth is reached. The revenue lock is a trailing mechanism that secures earnings above an activation threshold.
| Parameter | Default | Description |
|---|---|---|
| Allow day by day revenue goal | false | Allows the day by day revenue goal. |
| Revenue goal mode | PROFIT_PERCENT | PROFIT_PERCENT = share of reset steadiness, PROFIT_AMOUNT = mounted quantity. |
| Revenue goal worth | 2.00 | Revenue goal worth (% or $). |
| Allow revenue lock | false | Allows the revenue lock (trailing revenue safety). |
| Revenue lock activation mode | PROFIT_PERCENT | Mode for the activation threshold. |
| Activation threshold | 1.00 | Day by day revenue at which the lock prompts (% or $). |
| Lock share of peak | 50.0 | Proportion of peak revenue that’s secured. If revenue drops beneath, all trades are closed. |
Revenue Lock Instance
Settings: Activation = 1% ($1,000 on $100,000 steadiness), Lock = 50%
β Day by day revenue reaches $1,000: Lock prompts, secured minimal revenue = $500
β Revenue grows to $3,000: Secured minimal revenue rises to $1,500
β Revenue drops to $1,400: Under $1,500 β All trades closed, autotrading disabled
The lock solely rises β it by no means falls. This progressively secures day by day earnings.
π 8. Fairness Limits & Margin
| Parameter | Default | Description |
|---|---|---|
| Allow max fairness restrict | false | Allows the higher fairness restrict. |
| Max fairness | 110,000 | Closes all trades when fairness exceeds this worth. |
| Allow min fairness restrict | false | Allows the decrease fairness restrict. |
| Min fairness | 95,000 | Closes all trades when fairness drops beneath this worth. |
| Allow min margin stage | false | Allows margin stage safety. |
| Min margin stage (%) | 500.0 | Closes the riskiest commerce when margin stage drops beneath this worth. |
π 9. Alerts & Notifications
| Parameter | Default | Description |
|---|---|---|
| Allow popup alerts | true | Reveals popup home windows for essential occasions. |
| Allow sound alerts | true | Performs a sound on warnings. |
| Allow e-mail alerts | false | Sends e-mail notifications (requires SMTP configuration in terminal). |
| Allow push notifications | false | Sends push notifications to the MetaTrader cell app. |
| Alert on day by day loss restrict | true | Notification when loss restrict is reached. |
| Alert on commerce shut | true | Notification on each computerized commerce closure. |
| Alert on revenue goal | true | Notification when revenue goal is reached. |
| Alert on revenue lock | true | Notification on revenue lock activation/set off. |
| Alert on threat violation | true | Notification on threat violation. |
| Warning at x% of day by day loss | 80 | Early warning when x% of the day by day loss restrict is reached. |
π₯οΈ 10. GUI Settings
The GUI is absolutely configurable. Every part might be individually proven or hidden to customise the dashboard to your wants.
| Parameter | Default | Description |
|---|---|---|
| Present GUI | true | Reveals or hides the whole dashboard. |
| GUI colour theme | THEME_DARK | THEME_DARK or THEME_LIGHT. |
| GUI language | LANG_ENGLISH | LANG_ENGLISH or LANG_GERMAN. |
| GUI font dimension | 9 | Font dimension (8β14). All GUI parts scale mechanically. |
| GUI place X / Y | 20 / 30 | Place of the GUI on the chart in pixels. |
Further toggleable sections: Stability, Fairness, Day by day P/L, Loss Restrict, Danger Config, Danger Data, Open Trades, Commerce Counter, SL Safety, Revenue Goal, Revenue Lock, Fairness Limits, Margin Stage, Shut Instances, Commerce Limits, Standing, Information.
π° 11. Information Filter
The information filter makes use of the built-in MT5 financial calendar. Information occasions are filtered by impression stage and a configurable time window is created round every occasion throughout which buying and selling is blocked.
| Parameter | Default | Description |
|---|---|---|
| Allow Information Filter | false | Allows the information filter. |
| Filter HIGH impression | true | Filters high-impact information (NFP, FOMC, ECB, and so forth.). |
| Filter MEDIUM impression | false | Filters medium-impact information. |
| Filter LOW impression | false | Filters low-impact information. |
| Block buying and selling X min earlier than | 10 | Buying and selling ban X minutes BEFORE the information occasion. |
| Block buying and selling X min after | 5 | Buying and selling ban X minutes AFTER the information occasion. |
| Allow auto-close earlier than information | false | Routinely closes open trades earlier than the information occasion. |
| Shut trades X min earlier than | 5 | Minutes earlier than information at which trades are closed. |
| Additionally block pending orders | true | Additionally blocks new pending orders through the information window. |
| Take away present pending orders | false | Saves and deletes present pending orders earlier than the information window. |
| Restore pending orders after | true | Routinely restores saved pending orders after the information window. |
| Auto-detect currencies | true | Routinely detects related currencies from the chart image. |
Pending Order Safety (New in v2.35)
When “Take away present pending orders” is enabled, present pending orders are saved and deleted earlier than the information window. After the window ends, they’re mechanically restored β offered the value remains to be legitimate (cease stage distance to present market is checked). Expired orders are skipped.
Saved orders are crash-safe: they’re saved in a separate file on disk and mechanically recovered on EA restart.
πΎ 12. Knowledge Persistence
PropProtector saves all essential information persistently to disk:
Foremost information file ( PropProtector_(Account)_(Image).dat ): Reset steadiness, reset time, all flags (loss restrict reached, revenue goal reached, revenue lock standing, commerce rely standing, warning despatched), peak revenue and save time.
Pending orders file ( PropProtector_(Account)_(Image)_pending.dat ): All particulars of saved pending orders (kind, image, heaps, value, SL, TP, magic, expiry, remark). Solely created when pending orders are saved throughout a information window.
Each recordsdata are saved within the MQL4/Information or MQL5/Information listing. On terminal restart or EA crash, information is mechanically recovered.
π 13. Handbook Reset
The reset button is situated within the GUI (backside proper). Clicking opens a affirmation dialog. After affirmation, the next values are reset:
Reset steadiness is about to present steadiness, all flags (loss restrict, revenue goal, revenue lock, commerce counts) are reset, the autotrading lock is lifted, saved pending orders are deleted, and persistence recordsdata are up to date.
Computerized day by day reset: Day by day on the configured reset time (default: 00:00 server time), the reset steadiness is mechanically set to the present steadiness and all day by day limits are reset. The weekly commerce counter resets each Monday at 00:00.
π‘ 14. Ideas & Troubleshooting
Advisable Preliminary Setup
1. Load EA on demo account β 2. Alter all limits to your prop agency β 3. Check for at the very least one buying and selling week β 4. Switch to stay account.
Frequent Points
EA closes all trades instantly: Verify min/max fairness limits and loss restrict. Disable options you do not want or alter the values.
Information filter not loading information (MT4): Confirm the WebRequest URL is accurately entered. Restart the terminal after including the URL.
Day by day reset not working accurately: Make sure the reset time matches your dealer’s server time, not your native time.
A number of EAs concurrently: With MonitorAllTrades = true, PropProtector screens all trades from all EAs. Checking runs in OnTimer (approx. each second). In uncommon instances, a short window between two timer ticks might exist the place two EAs open trades concurrently.
Essential
PropProtector doesn’t substitute dealer consideration. It’s a security internet, not an autopilot. Verify your settings commonly and alter them to modified account circumstances.