Mohamed-amine Baddir
Mohamed-amine Baddir
  • MT5 developer: gold and index EAs, testing tools em Independent MQL5 developer
  • Marrocos
  • 2241
  • Informações
no
experiência
17
produtos
2
versão demo
0
trabalhos
1
sinais
0
assinantes
MT5 developer: gold and index EAs, testing tools em Independent MQL5 developer
Desenvolvo e vendo Expert Advisors para MetaTrader 5 em ouro e índices de ações, e as ferramentas de teste que uso para verificá-los.

Expert Advisors
- Quaterna: quatro estratégias no ouro e no Nasdaq 100 num único EA; duas delas operam a minha própria conta real. https://www.mql5.com/en/market/product/208261
- Gemina: ouro e USD/JPY, cerca de 17 operações por ano, stop loss e take profit em cada operação. As mesmas regras operam a minha própria conta real. https://www.mql5.com/en/market/product/206725
- IndexDip: compra de quedas no S&P 500 e no Nasdaq 100, operações diárias com stop fixo. https://www.mql5.com/en/market/product/206105
- Gemina Signals e IndexDip Signals (grátis): as mesmas operações no seu gráfico, com alertas.

Como eu os faço
- Sem grid, sem martingale, sem preço médio, sem operação sem stop.
- Os ajustes da estratégia são fixos dentro do EA: o que você testa é o que roda, e não há nada para sobreajustar.
- Antes de ser publicado, cada EA é verificado operação a operação no Testador de Estratégia, com spreads, swaps e comissões da corretora.
- Você pode testar qualquer um grátis no seu próprio Testador de Estratégia antes de comprar.

Ferramentas de teste e risco
- Backtest vs Live e Trade Excursion Analyzer: por que os resultados reais diferem do backtest e onde devem ficar stops e saídas
- Prop Risk Guard: limites de perda diária e de drawdown para contas de prop firms
- TradeMirror: copiador local de operações entre contas MT5
- Portfolio Allocator e Portfolio Backtest Combiner: tamanhos de lote e resultado combinado de vários EAs
- Grátis: Account Performance Report, Trade History to Excel, Monte Carlo Risk Simulator, Optimization Robustness Map, Backtest Report Compare, Hourly Volatility Profile
Testes grátis de 30 dias do TradeMirror e do Prop Risk Guard (só contas demo): https://drive.google.com/drive/folders/1S8yw6vxnkrEWOI_YIC2_c4wetn3SeMIF
Bibliotecas grátis no CodeBase: GARCH, cointegração, filtro de Kalman, testes de data snooping e mais.

Trabalhos sob encomenda
Transformo regras escritas ou scripts do TradingView em Expert Advisors MT5 limpos, corrijo EAs existentes (lote por risco, filtros de sessão e de spread, proteção de drawdown, carteiras multissímbolo) e audito estratégias com testes walk-forward, com uma resposta direta sobre se os resultados devem se manter. Cada entrega inclui o código .mq5, o .ex5, um preset .set e um relatório de backtest. Confirmo a especificação completa por escrito antes de começar.
Mohamed-amine Baddir
Publicado o código Cointegration: ADF, Engle-Granger and Johansen tests with a pair scanner
Unit root and cointegration tests (ADF, Engle-Granger, Johansen) with MacKinnon p-values, hedge ratio, half-life and z-score of the spread, and a pair scanner.
97
Mohamed-amine Baddir
Publicado o código Kalman: exact diffuse Kalman filter, local level and time-varying hedge ratio
Kalman filter and smoother with an exact diffuse start, missing values and maximum likelihood: local level, local linear trend and a regression whose hedge ratio drifts.
88
Mohamed-amine Baddir
Publicado o código RegimeHMM: market regimes with a hidden Markov model
Gaussian hidden Markov model fitted by Baum-Welch: regime probabilities without look-ahead, most likely path, expected durations and regime forecasts.
103
Mohamed-amine Baddir
Publicado o código Garch: GARCH, GJR-GARCH and EGARCH volatility models with forecasts
Fits GARCH(1,1), GJR-GARCH and EGARCH with normal, Student t or GED shocks by maximum likelihood, with robust standard errors and variance forecasts.
102
Mohamed-amine Baddir
Publicado o código BacktestOverfitting: probability of backtest overfitting (PBO) of an optimization
Probability of Backtest Overfitting (PBO) of an MT5 optimization by combinatorially symmetric cross-validation. Every pass sends its daily results as a frame, and the PBO is computed when the optimization ends.
110
Mohamed-amine Baddir
Publicado o código DrawdownBootstrap: Monte Carlo of the maximal drawdown
Block bootstrap of daily results: how deep the drawdown of an account or strategy can get over the next months, with percentiles and a seeded generator for repeatable runs.
102
Mohamed-amine Baddir
Publicado o código PortfolioWeights: risk parity, HRP, minimum variance and maximum diversification
Portfolio weights from the returns of symbols or Expert Advisors: inverse volatility, risk parity, hierarchical risk parity, minimum variance, maximum diversification, Ledoit-Wolf covariance.
94
Mohamed-amine Baddir
Publicado o código TesterReport: read a saved Strategy Tester report into deals and trades
Reads a Strategy Tester report saved as HTML into its deals, closed trades, net profit and balance drawdowns, for comparing, combining or exporting backtests.
1 85
Mohamed-amine Baddir
Publicado o código Live Test Bench: automated checks of an EA on a demo account
Automated checks of an Expert Advisor on a live demo chart (restart, second copy, server history, chart button) with a PASS/FAIL report.
200
Mohamed-amine Baddir
Publicado o código AttachExpert: attach an EA with inputs to a chart from code
AttachExpert.mqh attaches an Expert Advisor to a chart from MQL5 code, with the inputs you choose and with "Allow Algo Trading" on or off.
123
Mohamed-amine Baddir Produto publicado

O Portfolio Allocator diz com quantos lotes cada Expert Advisor de um portfólio deve operar. Ele lê um relatório salvo do Testador de Estratégia por Expert Advisor, ou o histórico de uma conta que roda vários (uma estratégia por magic number), e calcula a alocação com oito métodos: de risco igual e paridade de risco até paridade de risco hierárquica, máxima diversificação, Sharpe máximo e perda de cauda mínima. Depois ajusta o portfólio inteiro ao drawdown que você aceita e mostra, com um teste

Mohamed-amine Baddir
Publicado o código TesterStats: Strategy Tester report statistics in MQL5 code
Calculates the Strategy Tester report statistics from the deal history, including Z-Score, AHPR, GHPR, LR Correlation and LR Standard Error, which TesterStatistics() does not return. Checked value by value against the tester.
88
Mohamed-amine Baddir
Publicado o código XlsxWriter: Excel .xlsx files from MQL5 without DLL
An include file that writes real Excel workbooks (.xlsx) from MQL5 without DLLs: several sheets, numbers, text and real Excel dates, a frozen bold header and filters. Example script: the account deals and the daily results to Excel.
81
Mohamed-amine Baddir Produto publicado

O Backtest vs Live explica por que um Expert Advisor ganha ao vivo um valor diferente do que no Testador de Estratégia. Ele casa cada operação real com sua gêmea do backtest e divide toda a diferença dos resultados, até o centavo, em preços de entrada, preços de saída, swap e comissão, lotes e conversão de moeda, operações do backtest que o real não fez e operações reais que o backtest nunca fez. Também compara dois backtests, por exemplo o mesmo Expert Advisor com e sem atraso de execução, ou

Mohamed-amine Baddir Produto publicado

Monte Carlo Risk Simulator shows how much worse a backtest could have gone with the same trades in a different order, and what more or less risk per trade does to its growth and drawdown. It reads saved Strategy Tester reports or the history of your account, runs thousands of simulations and writes one HTML page. How To Use Backtests: in the Strategy Tester, right click on the Backtest tab > Report > save it as HTML into MQL5\Files\RiskSimulator (File > Open Data Folder). Account: set

Mohamed-amine Baddir Produto publicado

Trade History to Excel turns saved Strategy Tester reports, or the trading history of your account, into a real Excel workbook (.xlsx). Every report goes into the same file: one summary row per report, every closed trade with its entry and exit price, every deal, and the results of each day and month with the balance. Dates are Excel dates, numbers are numbers, the header row is frozen and every sheet has filters, so you can sort, filter, build pivot tables and charts right away. How To Use

Mohamed-amine Baddir Produto publicado

Optimization Robustness Map reads the results of a Strategy Tester optimization and shows whether the best pass sits on a plateau, where nearby inputs give similar results, or on a lone spike that a small change destroys. It draws a heat map of any two inputs, compares every pass with its neighbours, shows how each input moves the result and, when a forward period was tested, how well the back test predicted it. Everything is written to one HTML page. How To Use In the Strategy Tester, after an

Mohamed-amine Baddir Produto publicado

O Trade Excursion Analyzer mede até onde cada operação fechada foi contra você (excursão adversa máxima, MAE) e a seu favor (excursão favorável máxima, MFE) antes de fechar. Ele lê relatórios salvos do Testador de Estratégia ou o histórico da sua conta, mede cada operação no histórico de preços do seu terminal e gera uma página HTML: onde seu stop-loss poderia ficar, quanto lucro aberto suas saídas devolvem e o que um stop-loss ou take-profit fixo teria mudado. Como usar Backtests: no Testador

Mohamed-amine Baddir Produto publicado

Backtest Report Compare puts several Strategy Tester reports side by side on one HTML page: growth and drawdown curves on one chart, the main statistics in one table, the correlation of their daily results, monthly returns and results by weekday and hour. Use it to choose between Expert Advisors, between settings of one Expert Advisor, or to see which strategies lose on the same days. How To Use In the Strategy Tester, after each test: right click on the Backtest tab > Report > save it as

Mohamed-amine Baddir Produto publicado

Account Performance Report turns the history of your account into one HTML report that you open in any browser: balance and drawdown, the result of each Expert Advisor and each symbol, a daily P&L calendar, monthly returns and the usual statistics. The main figures are also shown on the chart, and the report is kept up to date while the terminal runs. How To Use Attach Account Performance Report to any chart of the account. It does not trade, so any symbol and timeframe will do. The report

123