Demetra Trade Command Risk Panel and Guard
- 实用工具
-
Francesca Draoli
Under the name DEMETRA, I develop software for MetaTrader 5. On this profile I publish indicators, utilities and expert advisors. I handle the code, the tests and the updates myself. - 版本: 1.43
- 激活: 10
One panel to open trades sized by risk, manage them in R and keep your account inside its limits: daily loss, drawdown, daily target, news and spread - with a clear lamp that tells you whether a new trade is allowed.
Main features
- Orders sized by risk % of equity or a fixed lot. The risk lot includes your broker's commission; orders whose smallest lot would risk too much are refused. A margin cap cuts lots that would use too much free margin.
- Stop loss required by default; a warning (or, if you choose, a refusal) when the stop is very tight for the current spread and volatility.
- Draggable ENTRY / SL / TP lines on the chart, TP kept at your reward-to-risk until you move it; market or pending orders.
- Management in R: automatic breakeven, trailing stop and up to four partial exits.
- Naked trade protection: a stop is added to positions in scope that have none.
- Account limits: daily loss (% or money), drawdown from today's equity peak, floating drawdown, total drawdown from your initial balance, daily target, max open positions and lots, Friday close hour, max holding time.
- When a limit is hit, you choose: close and lock the day, alert and block new entries, or close the newest positions first.
- The day base follows your choice (start-of-day balance, equity, or the higher of the two), your broker's server day and the reset hour you set. Deposits, withdrawals and bonus/credit are taken into account, so they do not trigger or hide a limit; the day's peak is rebuilt from history after a restart.
- Book Guard: a cap on the total stop risk of all open positions on the account, commission included.
- News gate from the MetaTrader 5 calendar (off, alert only, block new entries, or close and block) and a spread gate. Entries are also refused while the market is closed.
- Gate lamp: CLEAR, CAUTION, BLOCKED or LOCKED, with the reason. Until the broker's server clock is known, the panel waits instead of guessing.
- Hub Lock: Trade Command publishes whether other EAs may open new trades (Demetra Line Command obeys it), with an account-wide position cap.
- Command Line: type commands; every command needs your OK and expires if you do not confirm it.
- Trade Log: CSV of every trade and action in MQL5\Files. Alerts: popup, sound, push, e-mail.
- Panel with an explanation on every control; minimize it; it stays inside the chart.
- No DLL, no web requests. English UI. (The Strategy Tester demo opens one validator trade.)
Trading involves risk of loss. Trade Command helps you follow your own risk rules; it gives no trading signals and cannot prevent losses: in fast markets, gaps or broker rejections, closes and limits can act late or at a worse price. Test it on a demo account first.
