Risk & protection · MT4

Equity Tracker

by toomyem

Equity Tracker is a risk management utility for MetaTrader 4 designed to monitor account equity in real time.

GitHub stars1
Forks1
Last update9 years ago16 Dec 2016
LicenceMIT

Overview

Equity Tracker serves as a global protection mechanism by automatically closing all open and pending positions when equity reaches a predefined target or drops below a minimum threshold. Users can configure these exit levels using absolute currency amounts or percentage-based gains and losses. Once the specified equity conditions are met and orders are liquidated, the tool removes itself from the chart to prevent further execution.

Details

Author

toomyem on GitHub

Type

Risk & protection

Platform

MetaTrader 4 (MQL4)

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

Input parameters

Read from EquityTracker.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
WantedEquitydouble0.0Wanted equity (in currency)
WantedGaindouble0.0Wanted equity gain (in %)
SLEquitydouble0.0Minimum equity before SL
SLPercentdouble75SL level (% of balance)

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone toomyem/EquityTracker from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
  3. 3Copy the filesCopy the .mq4 file into Experts.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar expert advisors

Account Protector

by EarnForex
124 stars

Account Protector is a risk management expert advisor for MetaTrader 4 and 5 designed to monitor account health and prevent excessive drawdowns. It allows users to set specific triggers based on floating profit or loss, equity levels, free margin, spread, or daily performance. When these conditions are met, the EA auto

MT4MT5 Risk & protection
Updated 7 months ago Apache-2.0 GitHub repository of Account Protector

AutoTrading Scheduler

by EarnForex
55 stars

This expert advisor provides automated schedule management for the MetaTrader 4 and MetaTrader 5 platforms. It allows users to define specific time windows for each day of the week to toggle the platform's global AutoTrading status. Beyond simple scheduling, the utility can close active positions and delete pending ord

MT4MT5 Risk & protection
Updated 6 months ago Apache-2.0 GitHub repository of AutoTrading Scheduler
8 stars

JT Prop Firm Trade Manager is a risk management utility for MetaTrader 4 designed to protect accounts from violating equity and drawdown rules. It monitors daily loss limits and maximum drawdown, allowing users to configure thresholds in either currency or percentage. The tool features time-based filters to restrict ov

MT4 Risk & protection

Prop Firm Manager

by pepshirley
5 stars

Prop Firm Manager is a risk management utility for MetaTrader 4 designed to help traders comply with prop firm rules and protect account equity. The tool monitors maximum loss per trade and daily drawdown limits using either fixed dollar amounts or percentages. It manages trading sessions by restricting overnight and w

MT4 Risk & protection

FX Risk Management Collection

by vishnugovind10
4 stars

This MetaTrader 4 collection provides a set of utilities focused on risk management and order execution. It includes scripts and expert advisors designed to automate the closing of open positions and the removal of pending orders. The logic specifically targets closing trades that have reached a specific gain threshold

MT4 Risk & protection
2 stars

This MetaTrader 4 utility calculates and displays a five percent daily drawdown limit directly on the chart. It determines the daily starting balance by analyzing the account history and subtracting current-day profits from the total balance. Designed as a monitoring tool for traders following specific risk management

MT4 Risk & protection
Updated 5 years ago None stated GitHub repository of Daily Drawdown Monitor

More risk tools

Need a broker for MT4?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers