Mohamed-amine Baddir
Mohamed-amine Baddir
  • MT5 developer: gold and index EAs, testing tools в Independent MQL5 developer
  • Марокко
  • 2241
  • Информация
нет
опыт работы
17
продуктов
2
демо-версий
0
работ
1
сигналов
0
подписчиков
MT5 developer: gold and index EAs, testing tools в Independent MQL5 developer
Я разрабатываю и продаю советники для MetaTrader 5 на золото и фондовые индексы, а также инструменты тестирования, которыми сам их проверяю.

Советники
- Quaterna: четыре стратегии на золоте и Nasdaq 100 в одном советнике; две из них торгуют на моём реальном счёте. https://www.mql5.com/en/market/product/208261
- Gemina: золото и USD/JPY, около 17 сделок в год, стоп-лосс и тейк-профит у каждой сделки. Эти же правила торгуют на моём реальном счёте. https://www.mql5.com/en/market/product/206725
- IndexDip: покупка просадок S&P 500 и Nasdaq 100, дневные сделки с жёстким стопом. https://www.mql5.com/en/market/product/206105
- Gemina Signals и IndexDip Signals (бесплатно): те же сделки на вашем графике, с оповещениями.

Как я их делаю
- Без сетки, без мартингейла, без усреднения, без сделок без стопа.
- Настройки стратегии зашиты в советник: что вы тестируете, то и работает, и подгонять нечего.
- Каждый советник перед публикацией проверяется сделка за сделкой в тестере, со спредами, свопами и комиссиями брокера.
- Любой из них можно бесплатно проверить в своём тестере перед покупкой.

Инструменты для тестирования и риска
- Backtest vs Live и Trade Excursion Analyzer: почему реальные результаты отличаются от теста и где должны стоять стопы и выходы
- Prop Risk Guard: дневной лимит убытка и лимит просадки для счетов проп-компаний
- TradeMirror: локальный копировщик сделок между счетами MT5
- Portfolio Allocator и Portfolio Backtest Combiner: размеры лотов и общий результат нескольких советников
- Бесплатно: Account Performance Report, Trade History to Excel, Monte Carlo Risk Simulator, Optimization Robustness Map, Backtest Report Compare, Hourly Volatility Profile
Бесплатные 30-дневные версии TradeMirror и Prop Risk Guard (только демо-счета): https://drive.google.com/drive/folders/1S8yw6vxnkrEWOI_YIC2_c4wetn3SeMIF
Бесплатные библиотеки в CodeBase: GARCH, коинтеграция, фильтр Калмана, тесты на подгонку данных и другое.

Работа на заказ
Превращаю письменные правила или скрипты TradingView в чистые советники MT5, исправляю существующие советники (расчёт лота от риска, фильтры сессий и спреда, защита от просадки, мультисимвольные портфели) и проверяю стратегии walk-forward тестами с честным ответом, выдержат ли результаты. В каждую сдачу входят исходник .mq5, файл .ex5, пресет .set и отчёт тестера. Полное ТЗ подтверждаю письменно до начала работы.
Mohamed-amine Baddir
Опубликовал код 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
Опубликовал код 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
Опубликовал код 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
Опубликовал код 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
Опубликовал код 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
Опубликовал код 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
Опубликовал код 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
Опубликовал код 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
Опубликовал код 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
Опубликовал код 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 Выставил продукт

Portfolio Allocator показывает, каким лотом должен торговать каждый советник портфеля. Он читает по одному сохранённому отчёту тестера стратегий на каждый советник или историю счёта, на котором работают несколько советников (одна стратегия на каждый magic number), и рассчитывает распределение восемью методами: от равного риска и паритета риска до иерархического паритета риска, максимальной диверсификации, максимального коэффициента Шарпа и минимального хвостового убытка. Затем он масштабирует

Mohamed-amine Baddir
Опубликовал код 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
Опубликовал код 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 Выставил продукт

Backtest vs Live объясняет, почему советник зарабатывает в реальной торговле другую сумму, чем в тестере стратегий. Он находит для каждой реальной сделки её двойника в бэктесте и раскладывает всю разницу результатов, до цента, на цены входа, цены выхода, своп и комиссию, лоты и конвертацию валют, сделки бэктеста, пропущенные в реальной торговле, и реальные сделки, которых в бэктесте не было. Он также может сравнить два бэктеста, например один советник с задержкой исполнения и без неё, или двух

Mohamed-amine Baddir Выставил продукт

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 Выставил продукт

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 Выставил продукт

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 Выставил продукт

Trade Excursion Analyzer измеряет, насколько далеко каждая закрытая сделка уходила против вас (максимальное неблагоприятное отклонение, MAE) и в вашу пользу (максимальное благоприятное отклонение, MFE) до закрытия. Он читает сохранённые отчёты тестера стратегий или историю вашего счёта, измеряет каждую сделку по ценовой истории вашего терминала и создаёт одну HTML-страницу: где мог бы стоять ваш stop-loss, сколько открытой прибыли отдают ваши выходы и что изменил бы фиксированный stop-loss или

Mohamed-amine Baddir Выставил продукт

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 Выставил продукт

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