|
14+ yıl
deneyim
|
0
ürünler
|
0
demo sürümleri
|
|
55
işler
|
0
sinyaller
|
0
aboneler
|
В статье рассматривается класс робастных регрессионных моделей, устойчивых к выбросам в данных. Такие модели особенно полезны при работе с финансовыми данными, распределение которых часто отклоняется от нормального. Реализованы три подхода на языке MQL5: регрессия на основе распределения Стьюдента, регрессия Лапласа и регрессия с функцией потерь Хубера. Показаны особенности их обучения с применением численных методов оптимизации: EM-алгоритма, линейного программирования и метода L-BFGS из библиотеки ALGLIB. Проводится сравнение с методом наименьших квадратов на синтетических данных, что помогает оценить поведение моделей при наличии выбросов.
Рассмотрены классический PCA и его вероятностная формулировка (PPCA). Представлен универсальный класс CPPCA для MQL5 с тремя алгоритмами обучения (EIG, SVD, EM). Выполнено сопоставление результатов со scikit-learn и разобраны подходы к выбору числа главных компонент (Scree Plot, AIC/BIC, кросс-валидация). Показано применение метрики Score (средний логарифм правдоподобия) для обнаружения смены распределения данных.
Статья посвящена ARD-регрессии как байесовскому методу отбора признаков и применению случайных признаков Фурье (Random Fourier Features) для учета нелинейностей в рамках линейной модели. К статье прилагаются классы ARDRegression и CRBFSampler. Проводится сравнительный анализ точности и производительности реализации на MQL5 с эталонным классом из библиотеки scikit-learn.
The article examines the theoretical foundations and practical implementation of the Gaussian mixture model in the MQL5 language. It introduces the CGMM class and provides examples of its use, as well as a methodology for selecting the optimal number of model components using the AIC and BIC information criteria. Considerable attention is paid to how the EM algorithm works — a recognized standard for training probabilistic models with hidden (latent) variables. Support for MAP training and parameter initialization using K-Means++ has been implemented. A ready-to-use tool for clustering, multivariate density estimation, and data generation is now available in MetaTrader 5 as well.
Автоматическое построение линий Фибоначчи. Индикатор самостоятельно в реальном времени определяет максимумы и минимумы на заданном количестве баров и в зависимости от настроек отображает линии Фибоначчи по тренду или против тренда. Для советников в стандартном виде предоставляет значения посчитанных экстремумов. Входные параметры. 1. Общие настройки « Fibo » : Direction — направление построения, содержит две опции: «by trend» (по тренду) и «against trend» (против тренда). Draw — настройки
The article provides a detailed examination of the theoretical foundations and practical implementation of the hidden Markov model with categorical emissions (Categorical HMM) in the MQL5 language. Specific examples are used to demonstrate the processes of inference, iterative parameter learning, and online filtering, as well as the methodology for selecting the optimal model architecture based on the AIC/BIC information criteria.
Indicator gives an honest picture of changes in breakeven levels for transactions throughout the account history, and not just for open positions (screenshot 1). Accurate calculation of levels, taking into account accrued commissions, fees and swaps, allows you to evaluate trading results both visually and in Expert Advisors (screenshot 2). For Expert Advisors, the indicator in its standard form provides not only the break-even level, but also the number of positions, volume, and all additional
The article discusses the fundamentals of Bayesian statistics in both discrete and continuous settings. We will progress from classical Bayes’ theorem and simple examples involving coin flips to conjugate distributions and dynamic Bayesian updating, which enables real-time analysis of market quotes. Using the beta-binomial model as an example, a simple change-point detection indicator has been implemented to help identify shifts in market regimes.
This article discusses the transition to MQL5 Algo Forge as a modern and convenient format for publishing program code and article attachments. Using repositories instead of traditional ZIP archives and source code allows you to keep projects up-to-date, make edits quickly, and professionally interact with your readers. Recommendations are provided for quickly migrating developments to the cloud environment via the MetaEditor interface.
The article describes a test of the hypothesis of randomness for quotes based on a chi-square statistic derived from the frequencies of overlapping s-chains. The article shows how to define discrete states and compare observed and expected frequencies in order to detect Markov memory in price increments. This approach helps distinguish structural dependence from noise and formalize the testing of trading hypotheses.