OverviewSafe Risk Manager EA 1.02 is an educational, manually operated MetaTrader 5 trade panel for hedging accounts. BUY and SELL buttons request market entries with percentage-risk sizing, a broker-side stop loss and optional take profit. This is not an automated signal strategy and does not guarantee profits or a maximum loss.
Entries are blocked when the configured spread is exceeded or the daily-loss threshold is reached. The daily lock is persisted for the current broker-server day, including across EA restarts. Positions with the configured magic number on the current chart symbol are managed by break-even and trailing-stop logic. CLOSE EA TRADES requests closure of those matching positions. The EA rejects netting accounts and rejects a calculated volume below the broker minimum rather than rounding up beyond the requested risk.
Copy SafeRiskManagerEA.mq5 into MQL5/Experts and compile it in MetaEditor with the standard Trade library. Attach it to a demo hedging-account chart, configure the inputs and enable Algo Trading. Netting accounts are intentionally unsupported because merged netting positions cannot preserve independent ownership reliably. Entries are manual and management is tick-driven. Distances are points, not pips.
The current broker-server day calculation sums BUY and SELL deal profit, swap, commission and fees, then optionally adds account floating P/L. Non-trading balance operations are excluded. When the threshold is reached, a terminal global variable keeps the entry lock active for that server day across EA restarts. The lock cannot block trades placed manually or by other EAs.
Risk sizing excludes commissions, gaps and slippage. Broker rejection, invalid stop/freeze distances, unavailable ticks or disconnection can prevent an entry, stop update or close. This example does not implement guaranteed retry handling. Multiple button presses can add exposure. Do not mix strategies under the same magic number.
Version 1.02 compiled locally with zero errors and zero warnings. Compilation is not proof of runtime safety or profitability. Test BUY/SELL, below-minimum volume rejection, spread blocking, both stop-management directions, daily-threshold activation, restart persistence, next-day reset, symbol isolation and broker rejection handling on a demo account before any other use. No live-performance claim is made.
EA Trend Follower
TREND Follower (Daily) is a lightweight, development-oriented Expert Advisor (EA) created as a base trading architecture for research, learning, experimentation, and further development. The EA is intentionally designed around a simple concept: follow the market direction using the relationship between price and the Parabolic SAR. It is not presented as a fully optimized or finished trading system. Instead, it provides a clean and accessible foundation that developers can study, modify, test, and expand.
PropFirm Risk Guardian MT5 – Account-Wide Risk Protection EA
Account-wide MT5 risk protection EA for prop-firm and personal accounts. Monitors daily and overall drawdown, position losses, safety buffers, and automatically protects the account when configured limits are reached.
News Filter for the Strategy Tester (DST-corrected calendar export)
A real economic-calendar news filter that also works in backtests. Export the events once with a script, then block new entries around news both live and in the Strategy Tester. Fixes the one-hour DST shift of historical calendar times.
Prop Firm Daily Drawdown Visualizer
Protect Your Funded Account with Institutional-Grade Risk Monitoring. The #1 reason traders fail prop firm challenges is not a bad strategy; it is breaching daily drawdown limits. The AlphaQuant Prop Firm Daily Drawdown Dashboard is a free, high-visibility Expert Advisor