• Information
2 years
experience
4
products
100
demo versions
0
jobs
1
signals
0
subscribers
Finance and International Business professional with a specialization in Financial Management. Self-taught MQL5 and Python developer focused on algorithmic trading, multi-asset portfolio construction, and quantitative risk management.

My work centers on designing, optimizing, and validating Expert Advisors that operate as a coordinated portfolio rather than isolated strategies. I apply correlation analysis, temporal coverage mapping, and asset class diversification to build systems that do not rely on a single instrument or a single approach.

I currently manage algorithmic portfolios spanning forex, indices, metals, energy, and US equities, operating across multiple sessions and timeframes simultaneously.
I share my experience through technical articles and open-source tools in this community. I believe the shift from "building individual EAs" to "engineering portfolios" is the transition that separates retail from institutional thinking, and that principle guides everything I publish here.
Cristian David Castillo Arrieta
Added topic How do you handle drawdown rules across a portfolio of EAs (prop firm style)?
I've been running several EAs together on the same account instead of one single strategy, mainly to smooth the equity curve, but it's forcing me to rethink risk management completely. A single trailing stop or fixed lot size per EA doesn't work
Patrick Murimi Njoroge
Patrick Murimi Njoroge 2026.07.13
It is an extremely involved process. You need to know how many concurrent trades are open for each EA, the confidence of the signals from each, and how they interact with your prop firm limits and when each other so that you can apply appropriate bet-sizing. Look up Machine Learning for Asset Managers by Marcos Lopez de Prado.
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
Published code Execution Cost Sensitivity Analyzer
A pure-MQL5 script that measures how robust a strategy's edge is to execution costs. It reads a Date,Profit,Volume CSV of closing deals and models each deal's cost as a fixed part plus a per-lot part. It prints the breakeven cost per deal, the cushion (the multiple of an assumed realistic cost at which the net profit reaches zero), the net profit and profit factor re-priced at the assumed cost, the share of winners the cost turns into losers, and a composite A+ to F cost-robustness score with recommendations. If no file is present it generates a reproducible sample and analyzes it, so the output is visible on the first run. No external libraries, no Python, no AI.
Cristian David Castillo Arrieta
Published article 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 Published product

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
Published code Profit Concentration Analyzer
A native MQL5 script that measures how concentrated a strategy's profit is — whether the edge is broad or rests on a few lucky trades. It reads a per-trade CSV (Date,Profit) and reports the share of net profit from the largest trades, the Gini coefficient of the winners, a concentration profile, a survival test that removes the best few trades and recomputes net profit and profit factor, and the largest single day versus a configurable consistency limit, combined into a concentration-and-consistency score (A+ to F) with recommendations. If no file is found it generates a sample set, so it runs out of the box. No external libraries, no Python, no AI. The helper ExportTrades.mq5 writes the file from your trade history.
Cristian David Castillo Arrieta
Published code Drawdown DNA Analyzer
A native MQL5 script that analyzes the structure of an account's drawdowns, not just the single "maximum drawdown" figure. It reads a daily equity curve (Date,DailyPnL CSV), rebuilds the underwater curve, and splits it into individual drawdown episodes with their depth, duration and recovery time. It then reports the Ulcer Index, Pain Index, Recovery Factor and time spent underwater, and combines them into a single resilience score (A+ to F) with recommendations, printed in the Experts tab. No external libraries; if no file is found it generates a sample curve so it runs out of the box.
Cristian David Castillo Arrieta
Added topic Warning: Beware of the "Partnership & Profit Split" Scam out of MQL5.com
Hello everyone, While this topic may have been discussed before, I believe it's crucial to bring it up as often as necessary to protect our community. As creators and developers, our hard work, coding, and system optimization deserve to be rewarded
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
Published article 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.

Cristian David Castillo Arrieta Published product

ABQ Portfolio Correlation Scorer: Inteligencia Artificial de Grado Institucional para la Gestión de Riesgo La mayoría de los traders no fracasan por una mala estrategia de entrada, sino por una falla invisible en la arquitectura de su portafolio . El error más común es la sobreexposición por correlación: abrir múltiples posiciones pensando que se está diversificando, cuando en realidad se está multiplicando el riesgo sobre un mismo factor. ABQ Portfolio Correlation Scorer es un Copiloto de

Cristian David Castillo Arrieta
ABQ Visual Risk Sizer - Official User Manual Author: Cristian Castillo | AbacuQuant Version: 1.60 Platform: MetaTrader 5 (MT5...
Cristian David Castillo Arrieta Published product

ABQ Visual Risk Sizer - Institutional Risk & Trade Execution Category: Utilities / Risk Management Manual lot calculation costs time and money. In modern trading, especially when operating with funded accounts (Prop Firms), a lot sizing error or a 5-second delay in entering an order can mean violating the Daily Drawdown rule or missing the perfect entry price. ABQ Visual Risk Sizer is an institutional-grade tool designed to solve this problem permanently. It transforms complex mathematical

Cristian David Castillo Arrieta
Published code Portfolio Scorer — Multi-EA Correlation and Coverage Analyzer
Portfolio Scorer is a standalone MQL5 script that evaluates the quality of a multi-EA portfolio across three critical dimensions that most algo traders overlook. The script reads daily profit and loss data from CSV files (one per Expert Advisor), computes a full Pearson correlation matrix between every strategy pair, maps trading activity by UTC hour and weekday, detects asset class diversity, and produces a weighted composite score with a letter grade from A+ to F. How it works: The tool runs in four sequential stages. First, the Data Loader reads and validates CSV files containing daily returns for each EA in the portfolio. Second, the Correlation Engine calculates the complete NxN Pearson correlation matrix and flags pairs that exceed a configurable threshold. Third, the Coverage Analyzer maps which hours and weekdays have active trading and identifies blind spots. Fourth, the Scoring Function combines all three dimensions into a single composite score using adjustable weights.
· 1 2155 245
Cristian David Castillo Arrieta
It was late 2022. I had spent six months building what I believed was the perfect Expert Advisor. The backtest was gorgeous: Profit Factor 3.2, maximum drawdown under 5%, a Sharpe ratio that would make a hedge fund manager jealous . I had optimized every parameter. Every indicator period...
Cristian David Castillo Arrieta
AbacuQuant 3.7 — The Complete User Manual: From Installation to Live Portfolio A comprehensive, practical guide to configuring, optimizing, and deploying AbacuQuant — the institutional-grade algorithmic trading system for MetaTrader 5...
Cristian David Castillo Arrieta
AbacuQuant 4.10 — Complete User Manual & Setup Guide The definitive reference for installation, configuration, prop-firm compliance, local AI setup, portfolio analysis, and live deployment. LIVE SIGNAL: CLICK HERE Table of Contents Introduction — What's New in v4...