거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
Experts

Equity Guard - MetaTrader 5용 expert

조회수:
104
평가:
(1)
게시됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Equity Guard protects the whole account, not a single strategy. Attach it to any one chart and it watches account equity every second.


When a limit is hit, it:
- closes open positions (optional),
- deletes pending orders (optional),
- keeps the account flat until the next trading day: any position opened while locked (manually or by another EA) is closed again,
- sends a popup alert and/or push notification to MetaTrader mobile.

Limits (each one can be turned off with 0):
- Max daily loss, % of the day-start base. Base can be equity, balance or the higher of the two (the way most prop firms calculate it).
- Max daily loss, money in account currency.
- Daily profit lock, % to stop trading after a good day.
- Max drawdown from equity peak, %. Optionally stays locked until you reset it manually.

Details:
- Day boundary is broker server midnight.
- Day-start base, equity peak and lock state are stored in terminal Global Variables, so they survive EA restart, timeframe change and terminal reboot. Tester runs use separate variables and never touch the live state.
- Filling mode (IOC/FOK/RETURN) is detected per symbol, so closing works on any broker.
- Magic filter: -1 = all trades, 0 = manual trades only, or a specific EA's magic number. Note: limits are always calculated on account equity.
- To unlock manually: set "Reset lock and peak now" to true, press OK, then set it back to false.

Limitations:
- The guard reacts after equity crosses the limit. A price gap or fast market can make the final loss larger than the limit (in testing on gold with a 1.5% limit, the worst lock happened at 2.6% because of a market gap).
- Positions cannot be closed while the market is closed. The guard keeps retrying until the session opens.

- Algo Trading must be enabled in the terminal.


EquityGuard

Break-even and Trailing Stop Manager Break-even and Trailing Stop Manager

Moves the stop loss to break-even (with locked profit) and trails it by a fixed distance or an ATR multiple. Never opens or closes trades, the stop loss only moves forward.

Trade Cost Meter Trade Cost Meter

Shows the real cost of a trade on the current symbol (spread, commission, swap) and which share of your risk (R) it takes on every timeframe from M1 to D1.

XAUUSD Hang Seng Split: a free gold EA that reads the Hong Kong market XAUUSD Hang Seng Split: a free gold EA that reads the Hong Kong market

This is a free, execution only EA for gold on M15. It compares gold with the Hang Seng (HK50). When gold has split far away from it, the EA trades in the direction of that split, but only while gold itself is calm and hasn't already made the move.

Telegram Notify - trade notifications, chart screenshots and daily summary for any EA (library + ready EA) Telegram Notify - trade notifications, chart screenshots and daily summary for any EA (library + ready EA)

A WebRequest-only (no DLL) Telegram library: text and chart screenshot messages with queue and retry, plus ready trade reports (open, close with profit and reason, SL/TP changes, pending orders, daily summary). Includes a ready EA.