For those who run Knowledgeable Advisors in your MetaTrader 5 account, you already know the sensation. You step away out of your desk, assured your techniques are working easily, solely to return again and discover one thing went fallacious. Perhaps an EA opened positions on the fallacious lot dimension. Perhaps a technique that usually trades 0.1 tons immediately fired off 1.0 lot orders due to a parameter glitch. Perhaps you manually positioned a commerce in a rush and unintentionally typed 5.0 as an alternative of 0.5.
This stuff occur. And after they do, they’ll do critical injury to your account earlier than you even discover.
That’s precisely why I constructed Commerce Fairness Guardian.
The Downside With Trusting Automation Fully
Automated buying and selling is highly effective. It removes emotion, executes with velocity, and allows you to run a number of methods across the clock. However automation is simply as dependable because the code behind it, the dealer connection feeding it, and the human who configured it.
Listed below are some actual eventualities that catch merchants off guard each single day:
A developer updates an EA and introduces a bug that miscalculates lot sizes. The EA runs effective throughout testing on a demo account, will get pushed to stay, and inside minutes it has opened a number of positions at ten occasions the supposed dimension. By the point the dealer notices, the account has taken a big drawdown.
A dealer runs a number of EAs on the identical account. One technique enters a place, and a second EA — because of a logic error or misconfigured image filter — additionally enters on the identical pair. The mixed publicity is now double what the dealer supposed, and neither EA is conscious of the opposite.
A guide dealer is putting a fast scalp throughout a information occasion. Within the rush, they enter the fallacious lot dimension. The market strikes in opposition to them. What ought to have been a small loss turns into a big one as a result of the place was outsized from the beginning.
None of those eventualities contain unhealthy technique. They contain human error and software program glitches — the sorts of issues that no quantity of backtesting can stop.
What Commerce Fairness Guardian Does
Commerce Fairness Guardian is a light-weight EA that runs within the background on any chart and repeatedly screens each open place in your account. It checks all trades at an everyday interval you outline — as regularly as each second if you’d like — and robotically closes any place that breaches a number of of your predefined thresholds.
It doesn’t open trades. It doesn’t intervene together with your methods. It merely watches, and acts when one thing crosses a line it mustn’t have crossed.
There are 4 impartial standards you’ll be able to set, and any mixture of them will be energetic on the similar time. For those who set a worth to zero, that criterion is solely ignored.
Most Lot Dimension — You outline the biggest lot dimension any single place ought to ever be. If a commerce seems in your account at or above that dimension, it will get closed instantly. That is your first line of defence in opposition to fat-finger errors and EA malfunctions that miscalculate place sizing.
Most Share of Account Fairness — You outline the utmost proportion of your fairness that any single place’s margin ought to characterize. If a commerce is utilizing an excessive amount of of your account relative to your fairness, it will get closed. This retains particular person place publicity in examine no matter what lot dimension was used, as a result of the identical lot dimension represents very totally different danger on totally different devices.
Most Revenue Quantity — You set a greenback quantity, and any commerce whose revenue (together with swap) reaches that stage or above will get closed. This acts as a common revenue goal throughout all of your positions. It’s notably helpful in the event you run EAs that shouldn’t have their very own take-profit logic, or if you’d like a tough ceiling on any single commerce’s revenue no matter what technique opened it.
Most Loss Quantity — You set a greenback quantity as a constructive quantity, and any commerce whose loss reaches that stage or worse will get closed. That is your final line of defence — a tough cease in greenback phrases that protects your account if a place runs away from you. It really works independently of any cease loss your EA or guide commerce could have set, and it catches conditions the place a cease loss was forgotten, deleted, or by no means positioned in any respect.
How It Protects You in Observe
Consider Commerce Fairness Guardian as an account-level danger supervisor that sits above all of your different techniques. Your EAs deal with their very own entries, exits, and commerce administration. Commerce Fairness Guardian doesn’t care about any of that. It solely cares in regards to the end result — is that this place too huge, too uncovered, too worthwhile to depart working, or too deep within the purple to tolerate?
Listed below are some sensible methods merchants are utilizing it:
Prop agency account safety. For those who commerce a funded account, you can’t afford to blow by a drawdown restrict due to a single unhealthy commerce. Set the utmost loss quantity to a fraction of your allowed drawdown, and Commerce Fairness Guardian will reduce any place that threatens your account earlier than it does actual injury.
Multi-EA danger administration. If you run a number of Knowledgeable Advisors on one account, whole publicity can creep up with none single EA being conscious. Setting a most lot dimension or most fairness proportion ensures that no particular person place — from any supply — exceeds what you might be comfy with.
Handbook buying and selling self-discipline. Even skilled guide merchants make errors beneath stress. A most lot dimension of, say, 2.0 tons signifies that in the event you unintentionally enter 20.0 tons, the place is closed inside seconds. That one setting alone may save your account in the future.
In a single day and weekend safety. For those who depart positions open outdoors of your energetic buying and selling hours, setting a most loss quantity provides you peace of thoughts that no single commerce can do catastrophic injury while you’re not watching.
EA improvement and testing on stay accounts. When you find yourself testing a brand new EA on a stay account with small dimension, set tight thresholds. If the EA misbehaves, Commerce Fairness Guardian catches it earlier than the error turns into costly.
Filtering and Flexibility
You shouldn’t have to observe every thing. Commerce Fairness Guardian features a magic quantity filter, so you’ll be able to goal solely positions opened by a selected EA whereas leaving every thing else untouched. There’s additionally a logo filter in the event you solely need to monitor a specific instrument.
The examine interval is configurable all the way down to the second, and the EA additionally checks on each incoming tick as a backup — so even throughout quiet markets with low tick exercise, your positions are nonetheless being watched.
If a detailed try fails because of requotes or server points, the EA robotically retries as much as a configurable variety of occasions. You possibly can set the allowed slippage in factors to fit your dealer and the devices you commerce.
When a place is closed, you get a full breakdown — the ticket quantity, image, path, lot dimension, revenue or loss, and the precise cause it was closed. This may be delivered as an on-screen alert, a push notification to your cellphone, and a log entry within the Consultants tab on your information.
Set It and Overlook It
The great thing about Commerce Fairness Guardian is its simplicity. You connect it to 1 chart, set your thresholds, and depart it working. It really works throughout each image, each timeframe, and each dealer. It has no exterior dependencies, no DLLs, and no difficult configuration.
You do not want to consider it till the day it saves you from a mistake you didn’t see coming. And on that day, you’ll be glad it was there.
You could find Commerce Fairness Guardian on the MQL5 Market right here.
When you’ve got questions in regards to the EA or learn how to configure it on your particular setup, be at liberty to drop a remark under or message me immediately. I’m blissful that will help you get it dialled in.