Mohamed-amine Baddir
Mohamed-amine Baddir
  • MT5 developer: gold and index EAs, testing tools à Independent MQL5 developer
  • Maroc
  • 2241
  • Informations
Aucun
expérience
17
produits
2
versions de démo
0
offres d’emploi
1
signaux
0
les abonnés
MT5 developer: gold and index EAs, testing tools à Independent MQL5 developer
Je développe et vends des Expert Advisors pour MetaTrader 5 sur l'or et les indices boursiers, ainsi que les outils de test que j'utilise pour les vérifier.

Expert Advisors
- Quaterna : quatre stratégies sur l'or et le Nasdaq 100 dans un seul EA ; deux d'entre elles tradent mon propre compte réel. https://www.mql5.com/en/market/product/208261
- Gemina : or et USD/JPY, environ 17 trades par an, stop loss et take profit sur chaque trade. Les mêmes règles tradent mon propre compte réel. https://www.mql5.com/en/market/product/206725
- IndexDip : achat des replis sur le S&P 500 et le Nasdaq 100, trades journaliers avec un stop fixe. https://www.mql5.com/en/market/product/206105
- Gemina Signals et IndexDip Signals (gratuits) : les mêmes trades sur votre graphique, avec alertes.

Comment je les construis
- Pas de grille, pas de martingale, pas de moyenne à la baisse, pas de trade sans stop.
- Les réglages de la stratégie sont fixés dans l'EA : ce que vous testez est ce qui tourne, et il n'y a rien à suroptimiser.
- Avant publication, chaque EA est vérifié trade par trade dans le testeur de stratégie, avec les spreads, swaps et commissions du courtier.
- Vous pouvez essayer chacun gratuitement dans votre propre testeur avant d'acheter.

Outils de test et de risque
- Backtest vs Live et Trade Excursion Analyzer : pourquoi les résultats réels diffèrent du backtest, et où placer stops et sorties
- Prop Risk Guard : limites de perte journalière et de drawdown pour les comptes de prop firms
- TradeMirror : copieur de trades local entre comptes MT5
- Portfolio Allocator et Portfolio Backtest Combiner : tailles de lot et résultat combiné de plusieurs EA
- Gratuits : Account Performance Report, Trade History to Excel, Monte Carlo Risk Simulator, Optimization Robustness Map, Backtest Report Compare, Hourly Volatility Profile
Essais gratuits de 30 jours de TradeMirror et Prop Risk Guard (comptes démo uniquement) : https://drive.google.com/drive/folders/1S8yw6vxnkrEWOI_YIC2_c4wetn3SeMIF
Bibliothèques gratuites dans la CodeBase : GARCH, cointégration, filtre de Kalman, tests de data snooping et plus.

Travaux sur mesure
Je transforme des règles écrites ou des scripts TradingView en Expert Advisors MT5 propres, je corrige des EA existants (lot selon le risque, filtres de session et de spread, protection du drawdown, portefeuilles multi-symboles) et j'audite des stratégies par des tests walk-forward, avec une réponse franche sur la tenue probable des résultats. Chaque livraison comprend le code source .mq5, le .ex5, un preset .set et un rapport de backtest. Je confirme la spécification complète par écrit avant de commencer.
Mohamed-amine Baddir
Code publié 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.
Mohamed-amine Baddir
Code publié 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.
Mohamed-amine Baddir
Code publié 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.
Mohamed-amine Baddir
Code publié 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.
Mohamed-amine Baddir
Code publié 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.
Mohamed-amine Baddir
Code publié 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.
Mohamed-amine Baddir
Code publié 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.
Mohamed-amine Baddir
Code publié 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.
Mohamed-amine Baddir
Code publié 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.
Mohamed-amine Baddir
Code publié 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.
Mohamed-amine Baddir Produits publiés

Portfolio Allocator tells you how many lots each Expert Advisor of a portfolio should trade. It reads one saved Strategy Tester report per Expert Advisor, or the history of an account that runs several of them (one strategy per magic number), and computes the allocation with eight methods: from equal risk and risk parity to hierarchical risk parity, maximum diversification, maximum Sharpe and minimum tail loss. Then it scales the whole portfolio to the drawdown you accept, and shows with a

Mohamed-amine Baddir
Code publié 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.
Mohamed-amine Baddir
Code publié 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.
Mohamed-amine Baddir Produits publiés

Backtest vs Live explains why an Expert Advisor earns a different amount live than in the Strategy Tester. It matches every live trade with its twin in the backtest, then splits the whole difference of the results, to the cent, into entry prices, exit prices, swap and commission, lots and currency conversion, trades the backtest made that live trading missed, and live trades the backtest never made. It can also compare two backtests, for example the same Expert Advisor with and without execution

Mohamed-amine Baddir Produits publiés

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 Produits publiés

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 Produits publiés

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 Produits publiés

Trade Excursion Analyzer measures how far every closed trade went against you (maximum adverse excursion, MAE) and in your favour (maximum favorable excursion, MFE) before it closed. It reads saved Strategy Tester reports or the history of your account, measures each trade on the price history of your terminal and writes one HTML page: where your stop-loss could be, how much open profit your exits give back, and what a fixed stop-loss or take-profit would have changed. How To Use Backtests: in

Mohamed-amine Baddir Produits publiés

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 Produits publiés

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