• 信息
2 年
经验
4
产品
97
演示版
0
工作
1
信号
0
订阅者
金融与国际商务专业人士,专攻财务管理。MQL5和Python自学开发者,专注于算法交易、多资产组合构建和量化风险管理。

我的工作核心是设计、优化和验证作为协调组合运行的智能交易系统,而非孤立的策略。我运用相关性分析、时间覆盖映射和资产类别多元化来构建不依赖于单一工具或单一方法的交易系统。

目前,我管理着涵盖外汇、指数、贵金属、能源和美国股票的算法投资组合,同时在多个交易时段和时间框架上运行。
我通过技术文章和开源工具在这个社区分享我的经验。我相信,从"构建单个EA"到"工程化投资组合"的转变,是区分散户思维与机构思维的关键,这一理念指导着我在这里发布的所有内容。
Cristian David Castillo Arrieta
Introduction AbacuQuant Portfolio is a multi-configuration Expert Advisor for MetaTrader 5. Instead of running one strategy with one set of parameters on one instrument, it runs up to 48 independent configurations at the same time, across EURUSD, GBPUSD, USDJPY and AUDUSD, from a single H1 chart...
Cristian David Castillo Arrieta
Cristian David Castillo Arrieta
After months of research, I've published AbacuQuant Portfolio — a multi-configuration Expert Advisor for MetaTrader 5, and I wanted to share it here first.

Why it's different

Most EAs run one strategy with one set of parameters on one instrument. This one runs up to 48 independent configurations at once, across EURUSD, GBPUSD, USDJPY and AUDUSD, from a single chart. Each configuration owns its own trading hours, its own combination of ten built-in strategies, and its own ATR-based stop and target. A configuration built for the London session simply doesn't trade outside it — and risk is measured across the whole account, not per configuration, so running four instruments together doesn't quietly multiply your exposure.

And it's built the honest way: no martingale, no grid, no averaging into a losing position, no hidden loss-recovery logic. Every stop is attached the moment the trade opens. If you've been burned by an EA with a beautiful equity curve that fell apart the first time the market disagreed with it, this was built specifically against that failure mode.

How it decides a trade

Each active configuration waits for its window, reads only completed H1 bars (never the forming candle), requires several of its enabled strategies to agree, and sizes the position from the stop distance rather than a fixed lot — so a wider stop always means a smaller position, and the money at risk stays constant. Every configuration passed the same acceptance procedure on real-tick data before it shipped: statistical significance over its own break-even line, a minimum number of losing trades to actually measure it, and stops that were genuinely reached rather than just theorized.

Try it before you take my word for it

The demo runs in full inside the Strategy Tester — same presets, same logic, no time limit. Turn on the validated instruments, select "Every tick based on real ticks," and look at the trade list yourself: the stops, the position sizing, the risk ceilings holding across instruments. I'd rather you find out in the tester, for free, than after committing real money.

Link to the product page: https://www.mql5.com/en/market/product/191885
Cristian David Castillo Arrieta 已发布产品

AbacuQuant Portfolio:多配置 Expert Advisor 最多 48 个独立交易配置。多个交易品种。一个图表。账户级统一风险控制。 适用于 MetaTrader 5 的多货币 Expert Advisor,可从单个 H1 图表交易 EURUSD、GBPUSD、USDJPY 和 AUDUSD,并提供经过验证的预设配置、完整的手动模式,同时完全不使用马丁格尔或网格策略。 大多数 Expert Advisor 都围绕单一策略、单一参数组合和单一交易品种构建。当市场在一天之中发生变化时,这种单一配置可能只适用于交易时段的一部分,而在其他时间失去适应性。 AbacuQuant Portfolio 可以同时运行多个相互独立的配置,每个配置针对特定的市场条件和交易时间设计。每个配置都有自己的交易时间窗口、策略组合、指标周期以及基于 ATR 的止损和止盈。针对欧洲交易时段设计的配置,可以独立于针对后续交易时段设计的配置运行。 风险并不是孤立管理的。EA 会评估其管理的所有配置和交易品种的整体风险敞口,包括 EA 同时运行在多个图表上的情况。 了解策略的风险收益特征

Cristian David Castillo Arrieta
已发布文章Building a Hidden Risk of Ruin Auditor in MQL5
Building a Hidden Risk of Ruin Auditor in MQL5

Aggregate metrics alone do not reveal how a trade sequence manages risk. This MQL5 tool analyzes closed positions to flag four structural patterns: post-loss volume escalation, overlapping same-direction entries, asymmetric payoffs, and a classical risk-of-ruin figure. The results are merged into a configurable A-F grade with concise recommendations to guide further review.

Cristian David Castillo Arrieta
已发布代码Scale Out Value Analyzer
A native MQL5 tool that reconstructs closed positions from deal-level history, flags the ones closed through more than one exit, and reprices each one at its own first, last, and best exit rates to measure whether scaling out actually added value. Reports a Value-Add Ratio, a Scale Out Win Rate, an Efficiency figure, and a single-trade dependence check, combined into an A+ to F score with recommendations. Runs out of the box against a built-in demonstration data set; a companion script exports the real input file from your own account history. Pure MQL5, no external libraries.
45
Cristian David Castillo Arrieta
已发布代码Hidden Risk of Ruin Auditor
Reads a closed-position trade history (a CSV file, or one generated automatically from the current account's deal history by the companion RuinExport.mq5 script) and reports four independent risk fingerprints: volume escalation after a loss, overlapping same-direction exposure that averages into a worse price, payoff asymmetry between wins and losses, and a classical risk-of-ruin estimate at a stated risk per trade. The four scores combine into a single A-to-F grade with plain-language recommendations. If no CSV is found, the script generates a reproducible demonstration book automatically, so the report is visible on the first run.
81
Cristian David Castillo Arrieta
已发布文章Execution Cost and Slippage Sensitivity Analyzer
Execution Cost and Slippage Sensitivity Analyzer

Backtests often understate spread, commission, and slippage. This MQL5 analyzer loads closing deals and simulates rising execution costs to measure robustness. It computes the breakeven cost per deal, the cushion over an assumed cost, the net profit and profit factor at that cost, and how many winners turn into losers, then summarizes the result with an A+ to F grade and targeted guidance.

Cristian David Castillo Arrieta
已发布文章Creating a Profit Concentration Analyzer in MQL5
Creating a Profit Concentration Analyzer in MQL5

Net profit and win rate tell you how much a strategy made, not how the result is distributed. This article builds a native MQL5 script that reads your closed trades and measures profit concentration: the top-N trade share, the Gini coefficient of the winners, an outlier-dependence stress test that removes the best few winners, and the largest day against a prop-firm consistency limit. It combines these into one A+ to F score with recommendations, running inside MetaTrader 5.

Cristian David Castillo Arrieta
已发布代码Portfolio Correlation and Margin Risk Calculator
计算任意一组交易品种与您的账户同时持有一切这些品种所需总保证金之间的历史皮尔逊相关系数,并以占您权益的百分比形式呈现。 该工具原生运行于MetaTrader 5平台,无需外部库、Python或人工智能——只需设置符号列表和手数作为输入参数,即可在“专家”标签页和图表上显示完整的矩阵,并按设定时间间隔自动刷新。
Cristian David Castillo Arrieta
Cristian David Castillo Arrieta
Why the same trailing stop breaks the moment Gold changes character

I was in a forum thread today about trailing stops on XAUUSD, and it made me put into words something I've been building my whole approach around for a while: almost every trailing method traders compare — EMA cross, Chandelier, ATR multiples, swing-structure trails — gets judged on a single backtest run over one continuous chunk of history. The "best" multiplier or ladder step that wins that test isn't actually the best method. It's the method that happened to fit whatever mix of trend and chop was sitting in that sample.

The fix I use is simple to describe and annoying to implement properly: split the history into volatility regimes first (I use ATR percentile over a rolling window, expansion vs. compression), then optimize and validate each piece of logic separately per regime instead of once over the whole dataset. A structural trail wins clearly in expansion. In compression it just gets chopped up by noise, and something tighter does better there. Neither method is "the winner" — the regime decides which one applies.

That's the same principle I ended up building AbacuQuant around, just scaled up from one exit rule to an entire portfolio. Instead of one strategy tuned to look good on one backtest, the logic behind each strategy is walk-forward tested and optimized (genetic optimization, not a single curve-fit) across different market regimes and asset classes, forex, metals, indices, energy, ETFs, individual stocks — and then combined into a portfolio specifically to keep cross-asset correlation low (the current version sits under 0.4 correlation across most pairs in the book). The idea isn't "find the one strategy that beats the market." It's "find enough structurally different, regime-validated pieces that the portfolio doesn't fall apart when one regime ends," which is exactly the failure mode people are describing in that XAUUSD thread, just at the position level instead of the portfolio level.

It also runs entirely inside your own MetaTrader account nothing custodial, your funds never move to a third party and the newer version adds the drawdown/consistency rules prop firms check for, since that's become how a lot of people are actually trading it live.

If any of this is useful for how you're thinking about your own trailing logic or portfolio construction, happy to go deeper in the comments. And if you want to see what the regime-validated approach looks like applied across a full portfolio rather than one exit rule, it's at abacuquant.com.

Cristian David Castillo Arrieta
Cristian David Castillo Arrieta
Cristian David Castillo Arrieta
Build your own portfolio and connect it to your demo (free) or live account.

www.abacuquant.com
Cristian David Castillo Arrieta
已发布代码Execution Cost Sensitivity Analyzer
一个纯MQL5脚本,用于衡量策略优势对执行成本的鲁棒性。该脚本读取包含已平仓交易日期、盈利和交易量的CSV文件,并将每笔交易的成本建模为固定部分加上按手数计算的部分。 该脚本会输出每笔交易的盈亏平衡成本、缓冲系数(即在假设的实际成本的多少倍时,净利润会降至零)、按假设成本重新定价后的净利润和利润因子、因成本导致盈利交易转为亏损交易的比例,以及包含建议的A+至F等级的综合成本稳健性评分。 若未提供文件,程序将生成可复现的样本并进行分析,因此首次运行即可查看输出结果。无需外部库、无需 Python、无需 AI。
Cristian David Castillo Arrieta
已发布文章Beyond Maximum Drawdown: Building a Drawdown DNA Analyzer in MQL5
Beyond Maximum Drawdown: Building a Drawdown DNA Analyzer in MQL5

Maximum drawdown is one number that hides what really matters: how often an equity curve declines, how long it stays below a previous peak, and how quickly it recovers. This article builds a native MQL5 tool that reconstructs the underwater curve, breaks it into individual drawdown episodes (depth, duration, recovery time), computes the Ulcer Index, Pain Index, and Recovery Factor, and combines them into a single resilience grade with practical recommendations. No external libraries, no Python, no AI.

Cristian David Castillo Arrieta 已发布产品

Funded Trade Manager MT5 Most funded accounts are not lost to a bad strategy. They are lost to a single day that went too far: one oversized position, one revenge trade, one violated daily loss limit. Prop Firm Guard is a chart panel that applies the same limits your funding company applies, before the company does. What it does Tracks your daily loss limit and maximum drawdown in real time, using the same day-reset logic prop firms use (configurable server reset hour). Blocks any new trade

Cristian David Castillo Arrieta
已发布代码Profit Concentration Analyzer
一个原生 MQL5 脚本,用于衡量策略盈利的集中程度——即优势是广泛分布,还是仅依赖于少数几笔幸运交易。该脚本读取按单笔交易分列的 CSV 文件(日期、盈利),并报告最大交易占净利润的比例、 获利交易的基尼系数、集中度分布图、一项剔除最佳几笔交易后重新计算净利润和利润因子的生存测试,以及单日最大收益与可配置的一致性阈值的对比,并将这些结果整合为一个集中度与一致性综合评分(A+至F),并附带建议。 若未找到文件,程序将自动生成样本集,因此开箱即用。无需外部库、无需Python、无需AI。辅助程序ExportTrades.mq5会根据您的交易历史生成该文件。
Cristian David Castillo Arrieta
已发布代码Drawdown DNA Analyzer
一个原生 MQL5 脚本,用于分析账户回撤的结构,而不仅仅是单一的“最大回撤”数值。它读取日度权益曲线(Date,DailyPnL CSV 格式),重建亏损曲线,并将其拆分为各个回撤阶段,同时记录各阶段的回撤幅度、持续时间和恢复时间。 随后,该脚本会报告“溃疡指数”、“痛苦指数”、“恢复因子”以及处于亏损状态的时间,并将这些指标整合为一个综合韧性评分(A+ 至 F),并附带建议,显示在“专家”选项卡中。无需外部库;若未找到文件,它会自动生成一条示例曲线,因此开箱即用。
Cristian David Castillo Arrieta
Introduction: The Context-Blind Expert Advisor Problem A carefully optimized Expert Advisor completes six months of profitable forward testing. The equity curve is smooth, the drawdown is bounded, and the trade distribution looks healthy. On the first Friday of the seventh month, the EA opens a 0...
Cristian David Castillo Arrieta
Cristian David Castillo Arrieta
This is the most power full EA
Cristian David Castillo Arrieta
已发布文章Building a Correlation-Aware Multi-EA Portfolio Scorer in MQL5
Building a Correlation-Aware Multi-EA Portfolio Scorer in MQL5

Most algo traders optimize Expert Advisors individually but never measure how they behave together on a single account. Correlated strategies amplify drawdowns instead of reducing them, and coverage gaps leave portfolios blind during entire trading sessions. This article builds a complete portfolio scorer in MQL5 that reads daily P&L from backtest CSV files, computes a full Pearson correlation matrix, maps trading activity by hour and weekday, evaluates asset class diversity, and outputs a composite grade from A+ to F. All source code is included; no external libraries are required.

1
123