CRingBuffer

  • Библиотеки
  • Christian Stern
    Christian Stern
    Как генеральный директор специализированной компании, базирующейся в Швейцарии, я объединяю многолетний опыт в банковской сфере с глубокой экспертизой в разработке высококачественных решений на MQL5. Мы специализируемся на программировании статистических инструментов для финансового анализа и
  • Версия: 1.0

CRingBuffer - Числовой кольцевой буфер с лёгким высокопроизводительным статистическим движком



CRingBuffer — это мощная библиотека MQL5 для числового анализа скользящих окон. После каждой вставки она сразу предоставляет

среднее значение, дисперсию, стандартное отклонение, процентиль, z-оценки, отслеживание min/max и нормализованные значения — всё в O(1) до O(n log n).

Содержание:

  1. Область применения
  2. Два режима работы
  3. Базовая статистика
  4. Статистика Уэлфорда (численно устойчива, рекомендуется для больших ценовых уровней)
  5. Процентили
  6. Анализ z-оценки (три режима)
  7. Отслеживание min/max (O(1))
  8. Нормализация min-max
  9. Логика заполнителей
  10. Виртуальный индекс
  11. Расширяемость через наследование (6 event hooks)
  12. Снимок статистики через RBufStats (30+ метрик в одном объекте)
  13. Преимущества
  14. Пример
  15. Статистические функции с первого взгляда
  16. Обновления и поддержка


1. Область применения:

CRingBuffer разработан для разработчиков MQL5, которым нужен статистический анализ скользящих окон в индикаторах, советниках или библиотеках
.

Типичные сценарии использования:

- Непрерывное наблюдение за рынком (цена, спред, объём, значения ATR)
- Нормализация сигналов в диапазон [0,1] для скоринговых систем
- Обнаружение выбросов на основе z-оценки в реальном времени или в бэктесте
- Определение порогов на основе процентилей (устойчиво к таймфреймам)
- Построение собственных слоёв расчёта индикаторов через наследование
- Компонент в многослойных архитектурах классов
- Сбор данных в событийно-ориентированных системах с переменной длиной истории

Не подходит для:

- Анализа стакана заявок в реальном времени при очень высокой частоте тиков  (нет lock-free параллельной обработки)
- Хранения нечисловых данных

2. Два режима работы:

- Статический буфер: фиксированный размер окна, самые старые значения автоматически
  перезаписываются. Идеально для ATR-14, RSI-14 или любых скользящих окон.

- Динамический буфер: размер окна можно изменять во время выполнения. Отдельные значения
  можно удалять. Ёмкость увеличивается или уменьшается по мере необходимости.

3. Базовая статистика (всё O(1) после вставки):


- Сумма, сумма квадратов
- Арифметическое среднее
- Выборочная дисперсия и стандартное отклонение с поправкой Бесселя

4. Статистика Уэлфорда (численно устойчива, рекомендуется для больших ценовых уровней):


- Среднее Уэлфорда, дисперсия Уэлфорда, стандартное отклонение Уэлфорда
- Устойчива к эффектам потери точности в длинных рядах или при высоких ценовых уровнях
  (например, BTCUSD ~100 000 или индекс Nasdaq)

5. Процентили:

- getPercentile()  - один процентиль с линейной интерполяцией (Hyndman & Fan, метод 7)
- getPercentiles() - несколько процентилей за один отсортированный проход
- Заполнители (EMPTY_VALUE, NaN, Inf) автоматически отфильтровываются

6. Анализ z-оценки (три режима):

- getLastZScore()    - текущая z-оценка самого нового значения
- getZScoreAt()       - z-оценка без look-ahead для бэктестинга
- getZScores()         - expanding window (без look-ahead) или rolling  сразу для всех значений буфера

7. Отслеживание min/max (O(1)):

- Текущий минимум и максимум всех валидных значений
- Виртуальные позиции min и max доступны как индексы
- Диапазон (max - min) доступен в любой момент
- Сглаженная история диапазона для анализа трендов

8. Нормализация min-max:

- getNormalizedValue()     - нормализовать любое значение в [0,1]
- getNormalizedValueAt()  - нормализовать значение по виртуальному индексу
- getNormalizedValues()    - экспортировать все значения буфера в нормализованном виде
- Резервное значение 0.5 для постоянных данных (определённое поведение, не ошибка)

9. Логика заполнителей:

- EMPTY_VALUE, NaN и Inf распознаются автоматически
- Они занимают слот, но не учитываются ни в какой статистике
- Буферы индикаторов MQL5 изначально заполнены EMPTY_VALUE — эта
  фильтрация предотвращает статистические искажения без дополнительного кода

10. Виртуальный индекс:


- Единая адресация: индекс 0 = самое старое, индекс n-1 = самое новое значение
- Внутренняя механика кольцевого буфера полностью прозрачна для вызывающей стороны

11. Расширяемость через наследование (6 event hooks):

- OnAddValue()        - после каждой вставки
- OnRemoveValue()  - при удалении или перезаписи
- OnChangeValue()   - после replaceValue()
- OnChangeArray()   - после каждого структурного изменения
- OnSetMaxTotal()    - после изменения ёмкости
- OnShrink()             - после уменьшения буфера
- Все hooks срабатывают после полного обновления статистики

12. Снимок статистики через RBufStats (30+ метрик в одном объекте):

- Группа A: Базовая статистика (mean, variance, stddev, min, max, range, sum,
  total_count, valid_count, last_value, previous_value, oldest_value,
  min_index, max_index, avg_range, avg_diff, fill_rate)
- Группа B: Статистика Уэлфорда (welford_mean, welford_variance, welford_stddev)
- Группа C: Процентили (Q05, Q10, Q25, Median, Q75, Q90, Q95, IQR)
- Группа D: Z-оценка и нормализация (zscore, zscore_prev, zscore_delta,
  norm_last, norm_oldest)
- Метод валидации Validate(), конструктор копирования, operator=()

13. Преимущества:

- Не требуется собственный код кольцевого буфера: заменяет несколько сотен строк повторяющейся boilerplate-реализации
- Численно устойчивая методика Уэлфорда доступна параллельно с формулой суммы 
- Три режима z-оценки, включая режим без look-ahead для корректной оценки сигналов в бэктесте
- Автоматическая фильтрация заполнителей предотвращает статистические искажения из-за инициализации буферов индикаторов MQL5 значением EMPTY_VALUE
- Инкрементальное обновление всех статистик за O(1) после каждой вставки — без дорогого пересчёта при запросах
- Полностью расширяем через наследование и event hooks без изменения базового класса
- Единый виртуальный индекс скрывает сложность внутреннего кольцевого буфера
- Полная русская документация (справочник API, детали поведения, примеры кода, подводные камни)

14. Пример:

1. Скопируйте CRingBuffer.ex5 в нужный каталог проекта
2. Подключите его в MQL5-файле:

   #include "CRingBuffer_standalone.ex5"

3. Создайте экземпляр буфера:

   CRingBuffer buf(20, false);   // Статический буфер, ёмкость 20
   CRingBuffer dyn(20, true);    // Динамический буфер


4. Добавьте значения и получите статистику:

   buf.addValue(close[0]);
   double mean   = buf.getMean();
   double stddev = buf.getWelfordStdDev();
   double zscore = buf.getLastZScore();


Дополнительных зависимостей не требуется. Библиотека полностью автономна.

15. Статистические функции с первого взгляда

CRingBuffer предоставляет мгновенно обновлённые метрики после каждой вставки. В следующем обзоре показаны важнейшие группы статистики, основные методы и практическая польза в повседневной разработке на MQL5.
Таблица служит компактной быстрой справкой для анализа, оценки сигналов и нормализации в сценариях со скользящими окнами.
Группа Методы Польза
Базовая статистика getSum(), getSumSq(), getMean(), getVariance(), getStdDev() Предоставляет классические метрики для среднего значения, разброса и общей суммы валидных значений.
Статистика Уэлфорда getWelfordMean(), getWelfordVariance(), getWelfordStdDev() Предлагает численно более устойчивые альтернативы для длинных рядов, высоких ценовых уровней и малых различий между значениями.
Отслеживание min/max getMin(), getMax(), getMinIndex(), getMaxIndex(), getMinMaxRange() Описывает экстремальные значения, их позиции и текущий диапазон буфера для быстрой оценки состояния.
История диапазона getAverageRange(), getRangeHistory() Показывает, как диапазон меняется во времени, и поддерживает анализ волатильности.
Среднее изменение getAverageDiff() Измеряет среднее абсолютное изменение между последовательными валидными значениями и помогает оценить рыночную динамику.
Рекомендация: Для высоких ценовых уровней и длительной работы методы Уэлфорда обычно являются более надёжным выбором. Для компактных запросов в реальном времени часто достаточно базовой статистики.


16. Обновления и поддержка:

- Поддержка исключительно через внутреннюю систему сообщений MQL5
- Сообщения об ошибках и предложения по улучшению обрабатываются оперативно

Рекомендуем также
Quick Scale Trading Panel FREE Quick Scale Trading Panel FREE is a manual trading utility for MetaTrader 5 designed to simplify order execution and position sizing directly from the chart. The panel allows traders to open and manage trades using predefined lot multipliers, reducing the need for manual calculations during fast market conditions. Users can define a base lot size and execute trades using multiplier buttons (1x, 2x, 4x, 8x). This helps maintain consistent position sizing and improv
FREE
LT Mini Charts
Thiago Duarte
4.88 (8)
This is a utility indicator that creates mini charts on left side of the chart you are looking at. It is very useful to watch many timeframes simultaneously, without having to change between multiple charts. Its configuration is very simple. You can have up to 4 mini charts opened. They automatically load the template of the "parent" chart. If you have any doubt please contact me. Enjoy! This is a free indicator, but it took hours to develop. If you want to pay me a coffee, I appreciate a lot  
FREE
AILibrary
Marius Ovidiu Sunzuiana
AI Utility Library for MQL5 The AI Utility Library for MQL5 is a next‑generation development framework that brings artificial intelligence, adaptive logic, and intelligent data processing directly into the MetaTrader ecosystem. Designed for traders, quants, and algorithm developers who demand more than traditional indicator logic, this library transforms MQL5 into a smarter, more predictive, and more efficient environment for building advanced trading systems. Built with a modular architectur
EA34 Tanin Force
Nhat Tien Duong
5 (2)
[FREE EA] EA34 TANIN FORCE: MACD & STOCH ENGINE (Prop Firm Ready) Are you tired of market noise and false breakouts? Meet EA34 Tanin Force, a commercial-grade Expert Advisor designed specifically for the EURUSD on the M15 timeframe. This system combines the raw trend-following power of MACD with the precision timing of the Stochastic Oscillator. PERFORMANCE HIGHLIGHTS (6-Year Stress Test 2020 - 2026): * Symbol & Timeframe: EURUSD | M15 * Set & Forget: Hard Stop Loss and Take Profit. No
FREE
Horizon Yen Line En is a MetaTrader 5 Expert Advisor designed for USDJPY. The Horizon Line series is built around the idea of creating symbol-specific EAs instead of forcing one generic setup across all markets. Yenline is designed for USDJPY on the M15 timeframe and uses an internal logic based on EMA behavior and price action. The core entry logic, internal filters, detailed conditions, and threshold values are not disclosed. However, the EA includes practical user-adjustable settings such as
The Ultimate Arbitrage Machines EA is a professional-grade solution designed for both statistical and triangular arbitrage in forex markets. This EA adaptively captures mean-reversion opportunities while employing robust risk controls. It features dynamic threshold adjustment, adaptive risk management, multi-strategy execution, and real-time market adaptation. The EA auto-calibrates Z-Score parameters, intelligently positions TP/SL, and uses multi-factor position sizing. It detects both statist
FREE
Индикатор Volume Weighted ATR - полезный инструмент для измерения рыночной активности. В его основе лежит идея индикатора Volume-Weighted ATR. Сочетание этих двух элементов помогает определить потенциальные поворотные точки или возможности для прорыва. Индикатор для классификации активности рынка использует скользящую среднюю и ее мультипликаторы. Соответственно, где находится бар VWATR (относительно скользящей средней), он маркируется как сверхнизкий, низкий, средний, высокий, очень высокий или
FREE
What is SMC Market Structure Pro? SMC Market Structure Pro is an automated trading Expert Advisor for MetaTrader 5 , developed based on Smart Money Concept (SMC) and market structure analysis . The EA is designed to help traders follow the natural flow of the market , focusing on price structure instead of indicators or lagging signals. How Does the EA Work? The EA analyzes market structure changes using pure price action: Detects higher highs & higher lows for bullish structure Detects l
FREE
Особенности Индикатор для проверки объема по цене. В основном работает для EURUSD, на других валютных парах может не работать или расчет займет много времени. Для плавного использования включите опцию "Сдвинуть правую границу графика от правой границы", как показано на скриншоте. При появлении новой бара данные сбрасываются. Переменные COlOR: Настройка цвета индикатора WIDTH: Настройка ширины индикатора PERIOD: Определение периода времени для расчета данных
FREE
Specialized for GOLD Trading with Advanced VWAP Strategy Transform your Gold trading with this sophisticated dual VWAP system specifically optimized for XAUUSD markets. Key Features Dual VWAP Technology Fast VWAP (100 bars) for short-term momentum Slow VWAP (500 bars) for trend confirmation Volume-weighted precision pricing for optimal entry/exit points Intelligent Position Management Smart scaling system that adds positions on favorable retracements Automatic position reversals w
Steady Runner NP EA
Theo Robert Gottwald
2.5 (2)
Introducing Steady Runner NP EA (Free Version): Precision Trading for GBPUSD M5 What is Steady Runner NP EA? Steady Runner NP EA is a   mathematically designed Expert Advisor (EA)   exclusively crafted for the   GBPUSD M5 timeframe . Built with advanced algorithms and statistical models, this EA automates your trading strategy to deliver   precision, consistency, and discipline   in every trade. Whether you're a seasoned trader or just starting out, Steady Runner NP EA is your reliable par
FREE
Nikkei 225 Gap Continuation EA Automated opening-gap continuation strategy for the Nikkei 225 Nikkei 225 Gap Continuation EA is an automated trading system for MetaTrader 5 designed specifically for the Japanese stock index. It searches for significant opening gaps and enters only when price action confirms a possible continuation in the same direction. The strategy combines the opening gap, a configurable opening range and session VWAP confirmation. It also includes risk-based position sizing,
FREE
This robot sends Telegram notifications based on the coloring rules of PLATINUM Candle indicator. Example message for selling assets: [SPX][M15] PLATINUM TO SELL 11:45. Example message for buying assets : [EURUSD][M15] PLATINUM TO BUY 11:45 AM. Before enable Telegram notifications  you need to create a Telegram bot, get the bot API Key and also get your personal Telegram chatId. It's not possible to send messages to groups or channels. You can only send messages to your user chatId. You should
FREE
Crystal Dashboard
Muhammad Jawad Shabir
Crystal Profit Dashboard – Real-Time MT5 Account Performance Utility Overview Crystal Profit Dashboard is a lightweight MetaTrader 5 utility that provides real-time profit and loss monitoring directly on the chart. It offers a clean, modern dashboard interface that updates account performance without clutter, allowing traders to focus on execution while keeping essential metrics visible. Designed for scalpers, intraday traders, and swing traders, this tool provides accurate floating profit/los
FREE
HTF Candles Nika накладывает свечи с более высокого таймфрейма прямо на текущий график в MetaTrader 5. Это позволяет видеть мультитаймфреймовую картину без переключения между графиками. Основные возможности - Отображает свечи высшего таймфрейма в виде прямоугольников с тенями на текущем графике - Поддерживает режимы отображения: стандартные свечи и Хейкен Аши - Обратный отсчёт до закрытия текущей HTF-свечи в реальном времени - Настраиваемые цвета для бычьих и медвежьих свечей - Автоматический
FREE
GOM Trade Manager
Wannapach Chinnaprapa
GOM Trade Manager helps you execute trades the way you want it. Works on all instruments Forex, Commodities, & Crypto. It helps you with lot calculations, spread addition and balance calculations so you can just focus on actual trading. For full automatic planned management, stackable triggers and spread widening protection >> check out GOM Trade Manager Pro . ------------------------------------------NOTABLE FEATURES------------------------------------------ You set everything based on bid
FREE
Smart FVG Stats
- Md Rashidul Hasan
5 (1)
The  Smart FVG Statistics Indicator  is a powerful MetaTrader 5 tool designed to automatically identify, track, and analyze Fair Value Gaps (FVGs) on your charts. Love it? Hate it? Let me know in a review! Feature requests and ideas for new tools are highly appreciated. :) Try "The AUDCAD Trader": https://www.mql5.com/en/market/product/151841 Key Features Advanced  Fair Value Gap  Detection Automatic Identification : Automatically scans for both bullish and bearish FVGs across specified histo
FREE
Логотип Версия MT4: https://www.mql5.com/en/market/product/121289 Версия MT5: https://www.mql5.com/en/market/product/121290 Водяной знак Версия MT4: https://www.mql5.com/en/market/product/120783 Версия MT5: https://www.mql5.com/en/market/product/120784 Скрипт «Логотип» предназначен для отображения пользовательского логотипа или изображения в качестве фона на торговом графике в MetaTrader 4 (MT4). Этот скрипт позволяет трейдерам персонализировать свои графики с помощью логотипов или любых друг
FREE
The MelBar EuroSwiss 1.85x 2Y Expert Advisor  is a specific purpose profit-scalping tool which success depends on your understanding of its underlying strategy and your ability to configure it. Backtest results using historical data from 6 February 2018 15:00 to 19 February 2020 00:00 for the EUR/CHF (M30) currency pair proves very highly profitable. Initial Deposit : US$500 Investment returns : US$1426.20 Net Profit : US$926.20 ROI : 185.24% Annualized ROI : 67.16% Investment Length : 2 yea
FREE
Axilgo PipPiper CoPilot
Theory Y Technologies Pty Ltd
5 (2)
Axilgo Pip Piper CoPilot Elevate your trading game with the Axilgo Pip Piper CoPilot, the first in our revolutionary Pip Piper Series. This all-inclusive toolset is meticulously crafted for serious traders, focusing on key areas such as Risk Management, Trade Management, Prop Firm Rule Compliance, and Advanced Account Management . With CoPilot, you’re not just investing in a tool—you’re gaining a strategic partner in the intricate world of trading. Important Notice: To ensure you receive the fu
FREE
Gold Adaptive EA MT5 is an automated Expert Advisor for MetaTrader 5 designed for trading Gold (XAUUSD). The EA uses several internal trading models and market filters to adapt to different phases of Gold price movement. Instead of relying on one fixed entry pattern, Gold Adaptive EA MT5 analyzes market behavior and selects suitable logic for trend continuation, impulse moves, pullbacks and selected recovery conditions. The main goal of the Expert Advisor is to provide a structured Gold tradi
FREE
CRT Advanced
Jose Antonio Cantonero Velasco
SISTEMA DE TRADING ALGORITMICO PROFESIONAL VISIÓN GENERAL CRT ADVANCED   es un sistema de trading automatizado de alta precisión que opera basado en el análisis de formaciones de velas japonesas. Desarrollado específicamente para mercados de Forex, indices y commodities, implementa una metodología sistemática que combina price action puro con gestión avanzada de riesgo. Contacte conmigo después de la compra, le enviaré sets y soporte gratuito. Gracias.
FREE
AURIC MOHD-iK is a dynamic, logic-based Expert Advisor (EA) engineered specifically for trading XAUUSD (Gold). Unlike standard trading systems that rely on lagging, unreliable indicators, this EA operates purely on clean price logic—executing trades the way an experienced human trader naturally reads the market. This version is completely free with limitations, offering permanent value to your trading setup with zero hidden costs. Active Auric Mode That's it!!!!!!!!!! Core Trading Parameters Ac
FREE
THE>>>>>>___IIIREX_CLAW_vs_CLUSTER_EAIII___<<<<<< Set1: Price Offset 100, Stopp Loss 100-1000, Take Profit 2000  Set2: Price Offset 200, Stopp Loss 100-1000, Take Profit 2000 Set3: Price Offset 100, Stopp Loss 100-1000, Take Profit 1000 Set4: Price Offset 200-500, Stopp Loss 100-1000,  TakeProfit 1000 Set5: PriceOffset 100-1000 (Recomment 200) higher is lower Risk,   Stopp Loss  500  Take Profit  1000, 2000,  3000 it is the same Target Set it to your Moneymanagement  Indize: DE40  “IC Market” R
FREE
Frato Vwap Bands
Francisco Felipe Alves Da Silva Rocha
Индикатор Frato VWAP Bands — средневзвешенная цена по объему со стандартным отклонением Frato VWAP Bands — это индикатор, сочетающий традиционный VWAP с динамическими полосами волатильности. Он предлагает многопериодный анализ средневзвешенной цены по объему. Основные функции: Индикатор рассчитывает VWAP (средневзвешенную цену по объему) и строит до 3 верхних и нижних полос на основе стандартного отклонения. Расчет сбрасывается в начале каждого нового выбранного периода (часовой, H4, дневной
FREE
Общее Описание Индикатор Fair Gap Value выявляет и подсвечивает «пробелы справедливой стоимости» на графике MetaTrader 5. Fair gap возникает, когда между минимумом одной свечи и максимумом другой свечи, разделённых одной промежуточной, образуется ценовой разрыв. Индикатор рисует цветные прямоугольники (бычьи и медвежьи), чтобы выделить эти зоны и обеспечить наглядную поддержку стратегий, основанных на ценовом действии. Ключевые Особенности Обнаружение бычьих gap : выделяет разрывы между минимумо
FREE
Sandman FX
Michael Prescott Burney
1 (1)
Sandman FX Expert Advisor – EURUSD H1 Sandman FX is a precision-engineered Expert Advisor built specifically for the EURUSD pair on the H1 timeframe. Designed with robust technical architecture, it utilizes adaptive logic to respond dynamically to changing market conditions. The system incorporates session filtering, intelligent trade management, signal confirmation layers, and built-in protection mechanisms to ensure strategic execution in a wide range of market environments. This EA features:
FREE
TradeVisonPro Forex Analyzer Pro Панель аналитики и мониторинга торгового счета MT5 TradeVisonPro Forex Analyzer Pro — это решение для анализа торговли и мониторинга счетов, разработанное для пользователей MetaTrader 5. Продукт организует торговые данные MT5 в структурированной веб-панели, позволяя трейдерам просматривать информацию о счете, контролировать открытые позиции, анализировать историю торговли, отслеживать стратегии, вести торговый журнал и изучать статистику эффективности. TradeVison
FREE
Relative Average Cost of Open Positions Indicator Description:   The “Relative Average Cost of Open Positions” indicator is a powerful tool designed for traders who engage in mean reversion strategies. It calculates the average entry price for both buy and sell positions, considering the total volume of open trades. Here are the key features and advantages of this indicator: Mean Reversion Trading: Mean reversion strategies aim to capitalize on price movements that revert to their historical ave
FREE
Описание EA (краткое, понятное, приемлемое для рынка) EA_XAU_Fibo_M15_FINAL_TTP_MODERN_v2_00 — это основанный на правилах EA для отката XAUUSD (золото) для графика M15, который целенаправленно отслеживает откаты в определенную зону Фибоначчи (0,500–0,667, опционально близкой к 0,618), но только в том случае, если верхний тренд-фильтр на H1 подтверждает четкое направление. EA сочетает в себе структуру (свинг-диапазон + Фибо-откат) с тренд-биасом (EMA20/50, RSI и опционально MACD) и использует с
FREE
С этим продуктом покупают
Библиотека WalkForwardOptimizer позволяет выполнить пошаговую и кластерную форвард-оптимизацию ( walk-forward optimization ) советника в МетаТрейдер 5. Для использования необходимо включить заголовочный файл WalkForwardOptimizer.mqh в код советника и добавить необходимые вызовы функций. Когда библиотека встроена в советник, можно запускать оптимизацию в соответствии с процедурой, описанной в Руководстве пользователя . По окончанию оптимизации промежуточные результаты сохраняются в CSV-файл и наб
Библиотека ModernUI для MetaTrader 5 ModernUI — это библиотека пользовательского интерфейса для MetaTrader 5, размещаемая прямо на графике. Она помогает разработчикам MQL5 создавать более аккуратные панели советников, дашборды, окна настроек, формы, таблицы, диалоги, боковые панели и компактные торговые интерфейсы внутри среды графика MT5. Она создана для разработчиков, которым нужен более профессиональный интерфейсный слой, чем набор разрозненных графических объектов, но при этом важно сохранит
Binance Library MetaTrader 5 connects your Expert Advisors, indicators, and scripts to Binance.com and Binance.US directly from MetaTrader 5. It is a developer library for building custom Binance integrations inside MT5, not a standalone trading robot or copier. The library helps you add Binance instruments to Market Watch, read symbol specifications, load current and historical market data, check wallet balances, manage orders, and track open positions. It supports Spot, USD-M futures, and COI
Друзья, присоединяйтесь к нам! Задать свои вопросы и пообщаться с единомышленниками: MetaCOT Public Group Информационный канал MetaCOT: новости, отчетность CFTC и сигналы: MetaCOT Channel Желаю нам удачной торговли и новых прибыльных сигналов! Внимание! Последнее время, некоторые страны блокируют доступ к сайту cftc.gov . Из-за этого, пользователи из этих стран ставят низкий рейтинг продукту. MetaCOT всегда придерживался самых высоких стандартов качества и не связан с этими блокировками. Пож
Простая в использовании, быстрая, асинхронная библиотека WebSocket для MQL5. Он поддерживает: ws:// и wss:// (защищенный веб-сокет "TLS") текстовые и бинарные данные Он обрабатывает: фрагментированное сообщение автоматически (передача больших объемов данных) кадры пинг-понга автоматически (подтверждение активности) Преимущества: DLL не требуется. Установка OpenSSL не требуется. До 128 соединений Web Socket из одной программы Различные уровни журнала для отслеживания ошибок Возможна синхронизац
After downloading this service program, it will be used as a service support program for Dom BookHeatMAP Lightning Trading Panel. Dom BookHeatMAP Lightning Trading Panel   download link: https://www.mql5.com/zh/market/product/159414?source=Site+Market+MT5+Search+Rating006%3aDom+BookHeatMAP+Lightning+Trading+Panel Please first drag and drop the downloaded file to the corresponding service folder (` MQL5 \ Services `) in the MT5 data directory, and confirm that the file has been successfully pla
Want to get all events like Previous/Forecast/Actual values for each news to analyze/predict it? By this simple library you can do it easily,Just import/integrate the library into your system,then get all possible values for each news   Even In Strategy Tester   . Note: Please add the address " https://www.forexfactory.com/ " of news feed at your MT5 tab > Tools > Options > Expert Advisors > Check Allow web request for listed URL. Since the WebRequest() function can't be called from indicator ba
Эта библиотека предназначена для помощи в управлении сделками, расчета лота, трейлинга, частичного закрытия и других функций. Расчет лота Mode 0: фиксированный лот. Mode 1: Лот по Мартингейлу (1,3,5,8,13) может по-разному использоваться для расчета при убытке=1, при прибыли=0. Mode 2: Лот по Множителю (1,2,4,8,16) может по-разному использоваться для расчета при убытке=1, при прибыли=0. Mode 3: Лот по Инкременту (1,2,3,4,5) может по-разному использоваться для расчета при убытке=1, при прибыли=0.
Это упрощенная и эффективная версия библиотеки для walk-forward анализа торговых экспертов. Она собирает данные о торговле эксперта во время процесса его оптимизации в тестере MetaTrader и сохраняет их в промежуточные файлы в каталоге MQL5\Files. Затем на основе этих файлов автоматически строится кластерный walk-forward отчет и уточняющие его rolling walk-forward отчеты (все они - в одном HTML-файле). С помощью вспомогательного скрипта WalkForwardBuilder MT5 можно на тех же промежуточных файлах
Order Book, известный также как Market Book, глубина рынка, стакан цен, Level 2, - это предоставляемая брокером динамически обновляемая таблица с данными по текущим объемам торговых заявок на покупку и продажу для различных уровней цен вблизи Bid и Ask конкретного финансового инструмента. MetaTrader 5 предоставляет возможность трансляции стакана цен , но только в реальном времени. Данная библиотека OrderBook History Library позволяет считывать состояния стакана в прошлом из архивов, создаваемых
Cryptocurrency analysis has never been easier with Crypto Charts for MetaTrader 5. Now, trading on BitMEX has never been easier with BitMEX Trading API for MetaTrader 5. BitMEX Trading API library was built to be as easy to use as possible. Just include the library into your Expert Advisor or Script, call the corresponding methods and start trading! Features Trade on BitMEX and BitMEX Testnet. Build and automate your strategies. Concern more with the trading strategy logic and less with the co
Teclado trader, é uma BIBLIOTECA que você pode chamar no OnChartEvent para abrir posição de compra/venda/zerar, os botões padrões são: V = venda C = compra Z = zerar posições a mercado S = zerar posições opostas e depois a mercado X = zerar posições opostas Além da função de teclado, é possível mostrar os estados do ExpertAdvisor usando o MagicId, com informação de: lucro mensal, semanal, diario, e posição aberta, para isto use o OnTick, ou qualquer outro evento (OnTimer / OnTrade / OnBookEven
Goliath Mt5
Nicolokondwani Biscaldi
Goliath MT5 - scalper fully automated Expert Advisor for medium-volatile forex markets P roperties: The Library trades 10 currency pairs (USDCHF, EURCHF, EURGBP, AUDUSD, USDCAD, GBPUSD, EURUSD, NZDUSD, CADCHF, EURAUD, EURCAD, AUDJPY) The Library does not use martingale The Library sets a fixed stop loss and take profit for all orders The Library only trades a user input volume The Library can be installed on any currency pair and any timeframe Recommendations: Before using on a real account, t
The library is used to develop automatic trading on Binance Spot Market from MT5 platform. Support all order types: Limit, Market, StopLimit and StopMarket Support Testnet mode Automatically display the chart on the screen Usage: 1. Open MQL5 demo account 2. Download Header   file and EA sample   https://drive.google.com/uc?export=download&id=1kjUX7Hyy02EiwTLgVi8qdaCNvNzazjln Copy Binance.mqh to folder \MQL5\Include Copy  BinanceEA-Sample.mq5 to folder \MQL5\Experts 3. Allow WebRequest from MT5
Gold plucking machine   Золотая выщипывание машины является советником разработан специально для торговли золотом. Операция основана на открытии ордеров с использованием индикатора быстрых и медленных линий, поэтому советник работает в соответствии со стратегией «Trend Follow», что означает следовать тренду. Заказать с помощью политики сетки без операции стоп - лосса, поэтому убедитесь, что счет достаточен. magic number      -  is a special number that the EA assigns to its orders. Lot Multipli
The library is used to develop automatic trading on Binance Futures Market from MT5 platform. Support Binance Futures USD-M and COIN-M Support Testnet mode Support all order types: Limit, Market, StopLimit, StopMarket, StopLoss and TakeProfit Automatically display the chart on the screen Usage: 1. Open MQL5 demo account 2. Download Header file and EA sample https://drive.google.com/uc?export=download&id=17fWrZFeMZoSvH9-2iv4WDJhcyxG2eW17 Copy BinanceFutures.mqh to folder \MQL5\Include Copy  Bina
MT4/5通用交易库(  一份代码通用4和5 ) #ifdef __MQL5__      #define KOD_TICKET ulong      #define KOD_MAGIC   long #else        #define KOD_TICKET long      #define KOD_MAGIC   int #endif class ODLIST; #import "K Trade Lib Pro 5.ex5"       //祝有个美好开始,运行首行加入    void StartGood() ;    //简单开单    long OrderOpen( int type, double volume, int magic, string symbol= "" , string comment= "" , double opprice= 0 , double sl= 0 , double tp= 0 , int expiration= 0 , bool slsetmode= false , bool tpsetmode= false );    //复杂开单
1. What is this The MT5 system comes with very few optimization results. Sometimes we need to study more results. This library allows you to output more results during backtest optimization. It also supports printing more strategy results in a single backtest. 2. Product Features The results of the optimized output are quite numerous. CustomMax can be customized. The output is in the Common folder. It is automatically named according to the name of the EA, and the name of the same EA will be au
T5L Library is necessary to use the EAs from TSU Investimentos, IAtrader and others. It contains all the functions framework needed to Expert Advisors working properly.  ツ - The Expert Advisors from  TSU Investimentos does not work without this library,  the T5L library can have updates during the year - At this Library you will find several funcionalities like order sends, buy and sell, trigger entry points check, candlestick analyses, supply and demmand marking and lines, and much more. 
AO Core
Andrey Dik
3.67 (3)
AO Core - ядро алгоритма оптимизации, это библиотека, построенная на авторском алгоритме HMA (hybrid metaheuristic algorithm). Обратите внимание на продукт  MT5 Optimization Booster , который позволяет очень просто управлять штатным оптимизатором МТ5. Пример применения AO Core описан в статье: https://www.mql5.com/ru/articles/14183 https://www.mql5.com/ru/blogs/post/756509 Данный гибридный алгоритм основан на генетическом алгоритме и содержит лучшие качества и свойства популяционных алгоритмов
EA Toolkit   is a library that allows any developer to quickly and easily program Advisor experts. It includes many functions and enumerations such as trailing stop, lot, stop loss management, market trading authorisations, price table updates, trading conditions and many more. Installation + Documentation : You will find all the information to install this library and the documentation of its functions on this GitHub : https://github.com/Venon282/Expert-Advisor-Toolkit WARNING : The installat
A Simple Moving Average (SMA) is a statistical indicator used in time series analysis. This indicator represents the arithmetic mean of a sequence of values over a specific period of time. SMA is used to smooth short-term fluctuations in data, helping to highlight the overall trend or direction of changes. This aids analysts and traders in better understanding the general dynamics of the time series and identifying potential trends or changes in direction.  More information you can find in Wiki 
Эта библиотека позволит вам управлять сделками с использованием любого вашего советника, и ее очень легко интегрировать в любой советник, что вы можете сделать самостоятельно с помощью кода сценария, упомянутого в описании, а также демонстрационных примеров на видео - Размещайте лимитные ордера, SL-лимитные и тейк-профитные лимитные ордера. - Размещайте ордера Market, SL-Market, TP-Market - Изменить лимитный ордер - Отменить заказ - Запрос заказов - Изменение кредитного плеча, маржи - По
Hello everyone! I am a professional MQL programmer , Making EAs, Indicators and Trading Tools for my clients all over the world. I build 3-7 programs every week but I seldomly sell any ready-made Robots. Because I am fastidious and good strategy is so few...  this EA is the only one so far I think its good enough to be published here.  As we all know, the Ichimoku indicator has become world popular for decades, but still, only few people knows the right way of using it, and if we check the clo
Применяя эти методы, мне удалось прийти к тонкому выводу, который имеет решающее значение для понимания важности уникальных стратегий в современной торговле. Хотя нейросетевой советник показал впечатляющую эффективность на начальных этапах, в долгосрочной перспективе он оказался крайне нестабильным. Различные факторы, такие как колебания рынка, изменения тенденций, внешние события и т. д., приводят к хаотичности его работы и в конечном итоге приводят к нестабильности. Получив этот опыт, я принял
Introducing "TG Risk Service Manager" — your comprehensive toolkit for swift and precise risk management and lot size calculations in the dynamic world of trading. Designed to streamline development processes and enhance trading strategies, this indispensable library equips developers with essential tools for optimizing risk assessment and trade profitability. Metatrader4 Version |  All Products  |  Contact   Key Features: Efficient Lot Size Calculation : Harness the power of precise lot size c
Introducing "TG Trade Service Manager" — your all-in-one solution for seamless trade management in both MQL4 and MQL5 environments. With a focus on speed, reliability, and convenience, this powerful library simplifies the complexities of trade execution and management, empowering developers with a single interface for enhanced efficiency. Metatrader4 Version   |   All Products   |   Contact   Key Features: Unified Interface : TG Trade Service Manager" provides a unified interface for   MQL4   an
Данная библиотека предлагается как средство для использования API OpenAI напрямую в MetaTrader максимально простым способом. Для получения дополнительной информации о возможностях библиотеки прочитайте следующую статью: https://www.mql5.com/en/blogs/post/756106 The files needed to use the library can be found here: Manual ВАЖНО: Для использования EA необходимо добавить следующий URL для доступа к API OpenAI  как показано на приложенных изображениях Для использования библиотеки необходимо включит
This trailing stop application will helping trader to set the trailing stop value for many open positions, that apply a grid or martingale strategy as a solution. So if you apply a grid or martingale strategy (either using an EA or trading manually), and you don't have an application to set a trailing stop, then this application is the solution. For EAs with a single shot strategy, just use the FREE trailing stop application which I have also shared on this forum.
KP TRADE PANEL EA is an EA MT5 facilitates various menus. KP TRADE PANEL EA is an EA skin care in MT5 is an EA that puts the system automatically in download EA MT5 to test with demo account from my profile page while some Trailing Stop Stop Loss require more than 0 features EA determines lot or money management calculates lot from known and Stop loss TS = Trailing stop with separate stop loss order Buy more AVR TS = Trailing stop plus
Другие продукты этого автора
Kalman Forecast Helper is an advanced MQL5 Expert Advisor component designed to generate adaptive market forecasts, trend predictions, and trading signals for FX and other financial time series. Powered by a proprietary Kalman filtering engine, the helper continuously analyzes incoming market data and delivers actionable forecast information that can be integrated directly into Expert Advisors, indicators, or quantitative trading systems. After each update, the helper provides: Multi-horizon for
FREE
This pivot scanner implements five industry-standard pivot methodologies: Classic Pivot (HLC/3) Fibonacci Pivot (0.382 / 0.618 / 1.000 levels) Camarilla Pivot Woodie Pivot DeMark Pivot The scanner can operate with a fixed user-selected method or in adaptive mode, where the most suitable pivot model is selected automatically based on observed market behavior and historical performance. Designed as a fully configurable analysis and observation tool, the EA performs historical warmup, executes scan
FREE
Фильтр:
Нет отзывов
Ответ на отзыв