MT5 Prop Firm Risk Manager V01

PropRiskManager is a risk-management utility for traders on prop firm challenges and funded accounts (FTMO, The5ers and similar). It does not open trades. It watches the whole account in real time, enforces your rules automatically, and shows everything on a clean on-chart dashboard.

Not affiliated with or endorsed by any prop firm. Rules differ between firms and account types and change over time. Always verify the current rules of your firm and set the inputs accordingly.

Key features

1. Daily and overall drawdown protection

  • Monitors equity (including floating P/L), checked every 250 ms and on every tick.
  • Daily loss limit measured from the day-start balance, calculated either as a percentage of the initial balance (FTMO-style) or of the day-start balance.
  • Overall loss limit in two modes: static (fixed floor below the initial balance) or trailing (floor follows the highest equity).
  • Safety buffer: the EA acts a configurable number of percentage points before the real limit to absorb slippage and spread.
  • Configurable day reset hour (server time). The day-start balance is reconstructed from account history, so it stays correct after a terminal restart.
  • Warning alerts at a configurable share of the limit (default 70 %).

2. Automatic enforcement

  • On breach, the EA can close all positions and delete pending orders.
  • Trading block: while a lock is active, any new position or pending order is closed or deleted immediately.
  • The daily lock expires at the next day reset. The overall lock stays until you clear it with a one-time input.
  • All states survive a terminal restart.

3. Daily trade limit

  • Set a maximum number of new trades per day.
  • Trades beyond the limit are closed and pending orders are removed.

4. Consistency rule helper

  • Tracks the share of your best day in total profit (closed P/L plus floating).
  • Three modes: Off, Warn only, Block (stops trading for the day once today's profit reaches the cap that keeps you within your consistency percentage).
  • Set the challenge start date so the calculation uses the right history.

5. Risk per trade and lot-size calculator

  • Interactive calculator on the dashboard: enter risk % and stop loss to get the lot size for the chart symbol.
  • Uses the broker's tick value and contract specifications, respects volume step, minimum and maximum, and can include commission per lot.
  • Can cap the risk by the remaining daily and overall limit, and warns when free margin is insufficient.
  • Optional enforcement: close positions without a stop loss or with risk above your maximum per trade, after a configurable grace period for setting the SL.

6. News filter (MT5 Economic Calendar)

  • Choose currencies, minimum importance, and minutes before and after each release.
  • During a news window the EA closes new positions and deletes pending orders, optionally also closing existing positions.
  • Can apply only to symbols that contain the affected currency.

7. Weekend holding protection

  • Fixed mode: Friday cutoff time.
  • Session mode: closes positions a set number of minutes before the symbol's last Friday session ends.
  • New trades are blocked from the cutoff until the weekend is over.

8. Notifications and reports

  • Alerts via terminal popup, mobile push and e-mail, with repeat throttling.
  • Daily report saved as a text file at the end of each day, plus a row appended to a CSV summary (convenient for Excel). Contents: start and end balance, net P/L, minimum equity, maximum intraday drawdown, trade counts, win rate, best and worst trade, and which rules were triggered.
  • Optional e-mail of the daily report and push summary.
  • Report button on the dashboard for a live report at any time.

9. Dashboard

  • Progress bars with colour zones (green below 50 %, orange 50–80 %, red above 80 %) for daily drawdown, overall drawdown, trades per day and consistency.
  • Profit-target progress bar.
  • Status line (trading allowed, blocked, news window, weekend, near limit), next news event, weekend status, reset time.
  • Position adjustable via inputs.

10. Integration

  • Publishes a global variable PRM_<account>_allow (1 = trading allowed, 0 = blocked) that your other EAs can read.
  • Optional magic number filter to supervise only selected trades.

Settings overview

Group Main inputs
Account rules Initial balance (0 = balance at first start), challenge start date, daily loss %, overall loss %, profit target %, daily limit basis, static/trailing drawdown, reset hour
Protection Safety buffer, warning level, close on breach, block after breach, magic filter, one-time unlock of the overall lock
Trade limit & consistency Max trades per day, consistency mode, maximum best-day share %
Risk per trade Default risk %, default SL, SL unit (pips / points / price distance), risk basis (equity / balance / initial balance), cap by remaining limit, commission per lot, max risk per trade, require SL, grace seconds
News filter Enable, currencies, importance, minutes before/after, affected symbols only, close existing positions, refresh interval
Weekend Mode (off / fixed / session), Friday cutoff hour and minute, minutes before session end
Notifications & report Popup, push, e-mail, throttle seconds, daily report file, e-mail report, push summary
Dashboard Show/hide, X and Y position

Requirements and setup

  • MetaTrader 5, Algo Trading enabled, terminal running continuously (a VPS is recommended).
  • Attach to one chart only; it supervises the entire account.
  • Push notifications require a MetaQuotes ID, e-mail requires SMTP configured in the terminal options.
  • The news filter needs a connection to the broker server.
  • Reports are saved in the terminal's MQL5\Files folder.

Limitations

  • No absolute guarantee. The EA reacts to equity changes; it cannot prevent losses from gaps, fast markets, slippage, rejected closes, connection loss or a stopped terminal. Use the safety buffer and test on a demo account first.
  • It reacts, it does not pre-block orders. MT5 does not allow an EA to disable trading on the account, so blocked trades are closed or deleted right after they appear.
  • Rules are approximations. Drawdown reference points, trailing behaviour, consistency calculations and news rules differ between firms. The EA implements configurable generic versions, not firm-specific rule sets. Verify against your firm's current terms.
  • Day-start reference is the balance at the reset hour; firms that use a different reference (for example the higher of balance and equity) may need a different buffer.
  • Trailing drawdown follows the highest equity seen by the EA and does not implement variants such as a trailing stop that locks at the initial balance.
  • Trade counting includes adding to an existing position; on netting accounts, volume added to an existing position cannot be separated from the original trade when enforcing the limit.
  • News calendar works in a live terminal only (not in the Strategy Tester), and the dashboard shows only the nearest event.
  • Server time is used for resets, weekend cutoff and calendar. Check your broker's server time zone.
  • Pip definition follows the usual 3/5-digit convention. For gold, indices and crypto, use points or price distance as the SL unit.
  • Weekend rule blocks trading on Fridays after the cutoff and on Saturdays, so it is not suitable for 24/7 instruments such as crypto unless disabled.
  • MetaTrader 5 only; not available for MetaTrader 4.
  • This tool is a risk-management aid and does not constitute financial advice.

作者的更多信息
多时间周期移动平均线指标 使用多时间周期移动平均线指标,更深入地了解市场趋势。这款强大的 MQL5 工具允许您在单个图表上同时显示来自五个不同时间周期的移动平均线。无需在工作区中堆叠多个指标实例,即可从不同角度全面了解价格动态。 主要特点: 多时间周期分析:   在一个图表上显示来自五个不同时间周期(例如,M15、H1、H4、D1、W1)的最多五条移动平均线。 可自定义周期:   轻松设置所有显示线条的所需移动平均线周期。 多种均线类型:   从广泛的移动平均线类型中选择,包括简单移动平均线 (SMA)、指数移动平均线 (EMA)、平滑移动平均线 (SMMA) 和线性加权移动平均线 (LWMA)。 可调节时间周期:   选择您希望监控的任意五个时间周期,提供无与伦比的灵活性。 清晰的可视化:   一目了然地查看多个趋势视角,帮助您识别不同时间周期之间的汇聚或背离。 为 MQL5 优化:   专为 MetaTrader 5 平台开发,确保流畅的性能和可靠性。 无论您是剥头皮交易者、日内交易者还是长期投资者,此指标都能提供市场的整体视图,帮助您做出更明智的交易决策。避免在图表之间切换或添加
多时间周期RSI指标 使用我们直观的RSI指标,释放多时间周期分析的强大功能! 在一个图表上全面了解不同时间周期的市场动量。我们的多时间周期RSI指标允许您在五个可自定义的时间周期中以一致的周期跟踪相对强弱指数(RSI),使您能够做出更明智的交易决策。 主要特点: 同步多时间周期视图: 在一个图表上同时监控多达五个不同时间周期的RSI,无需在窗口之间切换。 可自定义时间周期: 定义您喜欢的时间周期以适应您的交易策略,从M1到MN。 统一的RSI周期: 在所有选定的时间周期中保持一致的RSI计算周期,以便进行直接比较。 清晰的视觉表示: 轻松识别超买/超卖情况以及多个市场周期中的动量变化。 增强的决策制定: 发现时间周期之间的背离和趋同,提供对市场趋势的更深入洞察。 用户友好的界面: 简单直观的设置,可立即使用。 为什么选择我们的多时间周期RSI? 该指标是寻求改善市场分析的交易者不可或缺的工具。通过提供跨各种时间周期的RSI的整体视图,您可以更好地理解资产的潜在强度或弱点,并预测潜在的价格变动。无论您是日内交易者、波段交易者还是长期投资者,该指标都将显著提高您的分析能力。
MQL5季节性分解指标 是一个强大的工具,旨在帮助交易者识别和分析金融时间序列数据中的潜在趋势和季节性模式。通过将价格走势分解为其核心组成部分,该指标提供了更清晰的市场动态视图,从而做出更明智的交易决策。 主要特点: 趋势线: 清晰地可视化市场的长期方向,平滑短期波动。 季节线: 突出显示以固定间隔(例如每日、每周或每月周期)出现的重复模式。 可自定义周期: 用户可以定义 趋势周期 和 季节周期 ,以根据特定的工具和交易策略调整分解。这种灵活性允许在各种时间框架和市场行为中进行分析。 增强市场洞察力: 通过将可预测的季节性影响与潜在的趋势运动分开,更深入地了解价格行为。 该指标对于希望改进技术分析并将周期性模式纳入其交易策略的交易者来说是一笔宝贵的资产。
带内置移动平均线的RSI指标 本指标将相对强弱指数(RSI)与其内置的移动平均线相结合,提供更清晰、更动态的市场动能视图。与容易产生虚假信号的标准RSI不同,这个增强版本可以帮助交易者更有信心地确认趋势和识别潜在的反转。 主要特点: 集成的移动平均线: 该指标直接在RSI线上绘制一个可定制的移动平均线。这使得交易者可以轻松识别趋势变化和确认信号。 早期信号检测: 通过观察RSI与其移动平均线之间的交叉,交易者可以比单独使用标准RSI更早地发现潜在的进场和出场点。 可定制参数: 调整RSI周期、移动平均线周期、移动平均线类型(SMA, EMA等)以及应用价格,以适应您的交易策略。 警报功能: 当发生交叉、超买/超卖情况或RSI线突破特定水平时,接收通知。 用户友好界面: 该指标设计易于使用,并能无缝集成到任何交易策略中。 使用方法: 买入信号: 当RSI线从下方穿过其移动平均线时,尤其是在RSI处于超卖区域时,寻找买入信号。 卖出信号: 当RSI线从上方穿过其移动平均线时,尤其是在RSI处于超买区域时,寻找卖出信号。 趋势确认: 移动平均线作为RSI的动态支撑/阻力水平,确认了潜在趋势的
带信号的移动平均线斜率 这款创新型指标超越了简单的移动平均线,提供了对其斜率的动态而强大的分析。它不仅计算并显示移动平均线的斜率,还计算并显示该斜率的移动平均线,为趋势变化和动能转换提供了高效的信号。这种双层分析可以帮助交易者过滤掉噪音,以更高的精度识别真实的趋势强度和潜在的反转。 主要特点: 双层分析: 该指标绘制主移动平均线的斜率,并在此基础上绘制斜率的第二层移动平均线。这提供了一个更平滑、更可靠的信号。 早期趋势变化检测: 斜率线从正变为负(反之亦然)是趋势变化的一个强大早期预警。斜率与其移动平均线之间的交叉提供了出色的进场/出场信号。 可定制参数: 调整主移动平均线和斜率的第二层移动平均线的周期和类型,以适应您的特定交易风格。 视觉清晰度: 该指标显示在一个单独的副窗口中,带有零线,可以轻松识别正(上升趋势)和负(下降趋势)斜率。 警报功能: 当斜率发生交叉、穿越零线或达到特定的斜率值阈值时,接收通知。 使用方法: 买入信号: 寻找斜率线从下方穿过零线和其移动平均线。这表明趋势正在向上加强。 卖出信号: 寻找斜率线从上方穿过零线和其移动平均线。这表明趋势正在减弱或可能向下反转。
跨时间周期和自定义设置的移动平均线 移动平均线是任何交易者的基本工具。我们先进的 移动平均线 指标超越了标准,为您提供无与伦比的灵活性和控制。该指标允许您在当前图表上显示任何时间周期的移动平均线,提供独特的视角,帮助您发现您可能错过的趋势。 在金融市场分析中,理解不同时间周期(例如,从1分钟图到月线图)的趋势至关重要。传统上,交易者需要不断切换图表来查看不同时间周期的移动平均线。我们的指标通过在一个图表上直接显示所有相关信息,解决了这一痛点。例如,您可以在一个H1(1小时)图表上,同时观察一个D1(日线)移动平均线,从而更好地理解短期价格行为如何与长期趋势相关联。 主要特点: 跨时间周期功能: 在您当前的图表上直接查看任何时间周期(例如,H4、日线、周线)的移动平均线。这使您能够更全面地分析市场,识别更广泛的趋势,并做出更明智的交易决策。 可自定义设置: 轻松调整移动平均线的 周期 、 偏移 和 类型 (SMA、EMA、SMMA、LWMA),以适应您的特定交易策略。无论您是使用短期移动平均线进行剥头皮交易,还是使用长期移动平均线进行趋势跟踪,本指标都能满足您的需求。 直观界面: 该指
Classical and hidden RSI divergence  – MetaTrader 5 高级交易指标 使用专为 MetaTrader 5 设计的专业级指标 RSI Divergence Pro , 充分释放价格行为和动量分析的潜力。 无论你是经验丰富的日内交易员还是系统的波段交易员, 在价格图表显现之前捕捉动量转变, 都是把握高概率市场转折的最可靠方法之一。 该指标以绝对的精准度自动完成了这一复杂的流程。 核心功能与特点: 全面的背离检测: 该指标可自动扫描并识别用于趋势反转的 常规(经典)背离 以及用于趋势延续的 隐藏背离 。 由于算法能够跨所有时间周期和资产类别检测微妙的市场动量变化, 你将不会再错过任何一个交易设置。 双图表可视化: 与仅在独立振荡器窗口中绘制线条的标准指标不同, RSI Divergence Pro 同时在 RSI 子窗口和主价格图表上 直观显示背离。 这种双重视图布局允许你立即将趋势线斜率与K线图上的对应摆动高点和低点联系起来, 从而一目了然地简化你的技术分析。 可定制的警报系统: 无需一整天盯着屏幕也能紧跟市场动态。 该指标配备了完全
Polynomial Regression Pro – MetaTrader 5 高级曲线拟合指标 通过专为 MetaTrader 5 设计的专业级指标 Polynomial Regression Pro , 将先进的数学建模引入你的交易中。 通过将平滑的多项式曲线拟合到历史价格行为中, 该指标可帮助交易者准确识别周期性趋势、 市场转折点以及动态支撑或阻力位。 核心功能与技术亮点: 最小二乘法: 核心数学模型依赖于稳健的普通最小二乘法(OLS)。 这能将残差平方和降至最低, 确保回归曲线以最佳的客观性和精度拟合价格数据。 基于霍纳法则(Horner’s Scheme)优化: 为了保证图表上闪电般的性能且零延迟, 多项式求值通过 霍纳法则 进行了高效计算。 这种数学优化大大减少了乘法运算次数, 即使面对庞大的历史数据集和繁重的多时间周期扫描, 也能确保平滑的计算与渲染。 动态回归通道: 配备了围绕中心回归线绘制的、 完全可调节的上下置信/偏差通道。 这些通道有助于发现超买和超卖的市场极端情况、 潜在突破以及波动率收缩。 完全可定制的参数: 根据你的个人交易策略量身定制指标。 轻
DFA Hurst Trend Strength Pro – MetaTrader 5 高级分形与动量指标 利用专为 MetaTrader 5 开发的尖端技术指标 DFA Hurst Trend Strength Pro , 深入解锁市场动态的底层统计特性。 该高级工具基于去趋势波动分析(Detrended Fluctuation Analysis, DFA), 旨在量化价格波动的自相似性和长期记忆性, 帮助交易者精确测量趋势持续性与市场模式。 核心功能与技术亮点: 去趋势波动分析(DFA)核心: 该指标采用高级统计物理学算法, 消除局部趋势并测量不同时间尺度上的均方根波动。 这能隔离金融数据的底层标度特性, 有效过滤高频市场噪音。 标度指数 Alpha ( $\alpha$ ) 与赫斯特相关性: 通过估计标度指数 $\alpha$ , 该指标可以高度近似赫斯特指数( $H$ )。 这为交易者提供了市场状态的精确数学读数:数值显著高于 0. 5 表明具有持续的强趋势行为;数值低于 0. 5 预示着均值回归或反持续市场;而数值在 0. 5 左右波动则代表随机游走。 实时趋势强度测
筛选:
无评论
回复评论