CRingBuffer

CRingBuffer - Numeric ring buffer with lightweight high-performance statistics engine



CRingBuffer is a powerful MQL5 library for numeric rolling-window analysis. After each insertion it immediately provides

mean, variance, standard deviation, percentiles, z-scores, min/max tracking and normalized values - all in O(1) to O(n log n).

Table of contents:

  1. Application area
  2. Two operating modes
  3. Basic statistics
  4. Welford statistics (numerically stable, recommended for large price levels)
  5. Percentiles
  6. Z-score analysis (three modes)
  7. Min/max tracking (O(1))
  8. Min-max normalization
  9. Placeholder logic
  10. Virtual index
  11. Extendability through inheritance (6 event hooks)
  12. Statistics snapshot via RBufStats (30+ metrics in one object)
  13. Advantages
  14. Example
  15. Statistics functions at a glance
  16. Updates & Support


1. Application area:

CRingBuffer is designed for MQL5 developers who need statistical rolling-window analysis in indicators, expert advisors or libraries
.

Typical use cases:

- Continuous market observation (price, spread, volume, ATR values)
- Normalization of signals to [0,1] for scoring systems
- Z-score-based outlier detection in real time or in backtests
- Percentile-based threshold determination (timeframe-robust)
- Building custom indicator calculation layers through inheritance
- Component in multi-layer class architectures
- Data collection in event-based systems with variable history length

Not suitable for:

- Real-time order book analysis with very high tick frequency  (no lock-free parallel processing)
- Storage of non-numeric data

2. Two operating modes:

- Static buffer: fixed window size, oldest values are automatically
  overwritten. Ideal for ATR-14, RSI-14 or any rolling windows.

- Dynamic buffer: window size can be changed at runtime. Individual values
  can be removed. Capacity grows or shrinks as needed.

3. Basic statistics (all O(1) after insertion):


- Sum, sum of squares
- Arithmetic mean
- Bessel-corrected sample variance and standard deviation

4. Welford statistics (numerically stable, recommended for large price levels):


- Welford mean, Welford variance, Welford standard deviation
- Robust against cancellation effects in long series or at high price levels
  (e.g. BTCUSD ~100,000 or Nasdaq index)

5. Percentiles:

- getPercentile()  - single percentile with linear interpolation (Hyndman & Fan, method 7)
- getPercentiles() - multiple percentiles in a single sorted pass
- Placeholders (EMPTY_VALUE, NaN, Inf) are automatically filtered out

6. Z-score analysis (three modes):

- getLastZScore()    - current z-score of the newest value
- getZScoreAt()       - look-ahead-free z-score for backtesting
- getZScores()         - expanding window (look-ahead-free) or rolling  for all buffer values at once

7. Min/max tracking (O(1)):

- Running minimum and maximum of all valid values
- Virtual positions of min and max retrievable as indices
- Range (max - min) available at any time
- Smoothed range history for trend analysis

8. Min-max normalization:

- getNormalizedValue()     - normalize any value to [0,1]
- getNormalizedValueAt()  - normalize value at a virtual index
- getNormalizedValues()    - export all buffer values in normalized form
- Fallback 0.5 for constant data (defined behavior, not an error)

9. Placeholder logic:

- EMPTY_VALUE, NaN and Inf are detected automatically
- They occupy a slot but are not considered in any statistic
- MQL5 indicator buffers are initially filled with EMPTY_VALUE - this
  filtering prevents statistical distortion without additional code

10. Virtual index:


- Uniform addressing: index 0 = oldest, index n-1 = newest value
- Internal ring buffer mechanics are fully transparent to the caller

11. Extendability through inheritance (6 event hooks):

- OnAddValue()        - after each insertion
- OnRemoveValue()  - on removal or overwrite
- OnChangeValue()   - after replaceValue()
- OnChangeArray()   - after each structural change
- OnSetMaxTotal()    - after a capacity change
- OnShrink()             - after buffer reduction
- All hooks fire after the statistics have been fully updated

12. Statistics snapshot via RBufStats (30+ metrics in one object):

- Group A: Basic statistics (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)
- Group B: Welford statistics (welford_mean, welford_variance, welford_stddev)
- Group C: Percentiles (Q05, Q10, Q25, Median, Q75, Q90, Q95, IQR)
- Group D: Z-score and normalization (zscore, zscore_prev, zscore_delta,
  norm_last, norm_oldest)
- Validation method Validate(), copy constructor, operator=()

13. Advantages:

- No custom ring buffer code required: replaces several hundred lines of recurring boilerplate implementation
- Numerically stable Welford method available in parallel to the sum formula 
- Three z-score modes including a look-ahead-free mode for backtest-compliant signal evaluation
- Automatic placeholder filtering prevents statistical distortion caused by EMPTY_VALUE initialization of MQL5 indicator buffers
- Incremental O(1) update of all statistics after each insert - no expensive recalculation during queries
- Fully extendable through inheritance and event hooks without changing the base class
- Uniform virtual index hides the complexity of the internal ring buffer
- Complete English documentation (API reference, behavioral details, code examples, pitfalls)

14. Example:

1. Copy CRingBuffer.ex5 to the desired project directory
2. Include it in the MQL5 file:

   #include "CRingBuffer_standalone.ex5"

3. Instantiate buffer:

   CRingBuffer buf(20, false);   // Static buffer, capacity 20
   CRingBuffer dyn(20, true);    // Dynamic buffer


4. Add values and retrieve statistics:

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


No further dependencies. The library is completely self-contained.

15. Statistics functions at a glance

CRingBuffer provides immediately updated metrics after each insertion. The following overview shows the most important statistical groups, the central methods and the practical benefits in daily MQL5 development.
The table serves as a compact quick reference for analysis, signal evaluation and normalization within rolling-window scenarios.
Group Methods Benefit
Basic statistics getSum(), getSumSq(), getMean(), getVariance(), getStdDev() Provides the classic metrics for mean, dispersion and total sum of valid values.
Welford statistics getWelfordMean(), getWelfordVariance(), getWelfordStdDev() Offers numerically more stable alternatives for long series, high price levels and small value differences.
Min/max tracking getMin(), getMax(), getMinIndex(), getMaxIndex(), getMinMaxRange() Describes extreme values, their positions and the current buffer range for fast state assessments.
Range history getAverageRange(), getRangeHistory() Shows how the range evolves over time and supports volatility analysis.
Average change getAverageDiff() Measures the average absolute change between consecutive valid values and helps assess market dynamics.
Recommendation: For high price levels and long runtimes, the Welford methods are usually the more robust choice. For compact real-time queries, basic statistics are often sufficient.


16. Updates & Support:

- Support exclusively via the internal MQL5 communication system
- Error reports and improvement suggestions are answered promptly

추천 제품
Shaka Laka Gold EA
Sandeep Kumar Tiwary
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
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
Apex Trend Engine
Thiago Balonyi Candal Da Rosa
Apex Trend Engine is a professional Expert Advisor built to trade market structure and directional momentum with a disciplined risk framework. Unlike conventional systems that rely on lagging indicators or risky recovery methods, Apex Trend Engine focuses on identifying high-probability trend conditions and executing trades with precision and control. The system uses a combination of structural price analysis, volatility filtering, and trend validation to avoid low-quality market conditions. Tra
DoIt Gold Guardian MT5
Diego Arribas Lopez
[ MT4 Version ] DoIt Gold Guardian — Confident, Stress-Free Automation for Gold (XAUUSD) DoIt Gold Guardian is designed for traders who want to capitalize on gold’s explosive movements with confidence, control, and simplicity. Specialized for long trades only , it focuses on catching the most powerful bullish phases of gold — while protecting your capital through dynamic, intelligent risk management. Built for traders who seek consistent growth without fear of volatility , it delivers prof
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
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
EasyTrading Panel Basic by Vexo EasyTrading Panel Basic is a free manual trade execution panel for MetaTrader 5. It provides a streamlined workflow for placing market orders with automatic risk-based lot sizing, stop loss, and take profit calculation. The panel works on any symbol and any timeframe. How It Works The panel displays on-chart with your account balance, current lot size, risk percentage, reward-to-risk ratio, and calculated stop loss. All values update in real time as you adjust par
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
Avantiz Gold EA: The AI-Vector Breakout Engine (2026 Gen) Precision Mathematics. Zero Emotion. Pure Probability. [ ACCESS PRICE: $199 ] -> Algorithm price resets to $399 after the next 10 licenses. The market is not random. It is a data stream. And to beat the 2026 XAUUSD market, you don't need "hope"—you need compute power . Avantiz Gold is not a standard Expert Advisor. It is a Neural-Breakout System that deconstructs Gold's volatility into raw data. While retail traders guess the direction, A
LiquidX Hunter
Alexandre Vincent Traber
LiquidX Hunter — Breakout Trading Expert Advisor Overview LiquidX Hunter  is a breakout-based Expert Advisor designed to capture high-probability moves by targeting liquidity levels — the zones where stop orders accumulate above recent highs and below recent lows. Built on Donchian Channel breakouts combined with ATR-based dynamic risk management , this EA is engineered to enter the market at the right moment, with intelligent position sizing and a built-in recovery filter to protect your accoun
FREE
Vertical Volume
Kim Yonghwa
4.8 (5)
기능 가격에 대한 거래량 확인 지표입니다. 주로 EURUSD에 적용되며, 다른 통화 쌍은 작동하지 않거나 계산에 오랜 시간이 걸릴 수 있습니다. 원활한 사용을 위해 "차트 경계를 오른쪽 경계에서 이동" 옵션을 활성화합니다(스크린샷에 표시됨). 새로운 막대가 나타날 때 데이터가 재설정됩니다. 변수 COlOR: 지표 색상 설정 WIDTH: 지표 너비 설정 PERIOD: 데이터 계산을 위한 기간 설정 ‐----‐-------------------------------------------------------------------------------------------------------------------------------------------------
FREE
Duende MT5
Nestor Alejandro Chiariello
안녕하세요 트레이더 여러분! Duende 전략을 제시합니다. Duende는 서로 다른 높은 수준과 낮은 수준의 패턴을 감지하는 알고리즘으로, 좋은 항목을 만들기 위해 일정하게 유지되며, 복구 시스템은 손익분기점과 같은 다양한 항목을 쿼리하고 피어 간에 교차합니다. 시장에서 뉴스를 강력하게 제어하여 문제 없이 여러 통화를 제어하는 것으로 입증되었습니다. 필요한 모든 기호로 관리 가능 내 전략은 "모든 외환 시장"에 최적화되어 있지만 USDCAD,EURCAD,EURCHF,USDCHF,EURJPY" 최고의 쌍도 있습니다. 다른 통화에 비해 가장 안정적인 통화입니다. RANGED, 다른 기호에 대한 자신의 방법을 찾을 수 있지만 내가 디자인한 것을 사용하는 것이 좋습니다 Duende 잔고의 x 금액을 위험에 빠뜨리는 시스템이 내장되어 있으며 언제든지 시장이 불안정해지면 복구 기능도 있습니다 또한 TP가 내장된 비밀 표시기에서 올바른 예측을 감지하면 다른 포지션이 아닌 일부 포
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
Pullback EA xau
Katja Nordhausen
EA 설명 (간결하고 명확하며 시장 적합) EA_XAU_Fibo_M15_FINAL_TTP_MODERN_v2_00은 M15 차트용 규칙 기반 XAUUSD(금) 풀백 EA로, 정의된 피보나치 구간(0.500–0.667, 선택적으로 0.618 근처)로의 반등을 거래합니다. 단, 상위 추세 필터인 H1에서 명확한 방향성이 확인된 경우에만 거래합니다. 이 EA는 구조(스윙 범위 + 피보나치 되돌림)와 추세 편향(EMA20/50, RSI 및 선택적 MACD)을 결합하며, 현대적이고 브로커 안전성을 고려한 실행 및 리스크 관리 방식을 사용합니다: 스탑/프리즈 레벨 보안, 필링 폴백(RETURN→IOC→FOK), 하드캡이 적용된 리얼 SL 리스크 사이징, 그리고 트레이드당 선택적 USD 하드 로스 캡. 트레이드는 기본적으로 새로운 M15 바에서만 평가됩니다. 전략 논리 1) 시장 및 설정 인식 (M15) 스윙바를 통해 관련 스윙 고점/저점 범위를 파악합니다. 이를 바탕으로 피보나치 되돌림
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
The product "VR CyberBot MT5" is the LITE series with the economical price of the product " Ai Panel Genius X5 " [Ai]   자율 컴퓨팅은   목표 및 추론 기반 메커니즘을 기반으로 로봇 및 대화형 애플리케이션을 자율적으로 수행하는 지능형 컴퓨팅 접근 방식입니다. '   Ai Panel Genius X   '는 전문가를 위한 진정한 친구처럼 설계된 프리미엄 지표입니다. 다중 통화쌍 분석을 포함한 모든 통화쌍에 대한 전문 지식을 하나의 고급 '위지윅' 시각적 표현으로 즉시 제공합니다. 초보자부터 숙련된 트레이더까지 누구나 지루한 이론 없이 '서브리미널' 기법을 사용하여 쉽게 익힐 수 있습니다. This 'ToolTip'     EA-Robot    acts like a super smart assistant for trading, offering valuable information to hel
BreakoutMatrix Pro
Nadjib Amari
5 (1)
BreakoutMatrix Pro — 기관급 돌파(Breakout) 시스템 BreakoutMatrix Pro는 시장의 모멘텀을 활용하여 수익을 창출하도록 설계된 자동화된 기관급 돌파 매매 시스템입니다. 금(XAU/USD) 트레이딩 머신으로 고도로 최적화되어 있지만, 범용적인 아키텍처를 통해 모든 주요 통화쌍 및 심볼에 적용할 수 있습니다. 끝없는 최적화는 잊으십시오. 핵심 전략은 단 하나의 마스터 입력값인 '변동성 스케일 비율(Volatility Scale Factor)'에 의존합니다. 백테스트 하이라이트 (2025년 1월 – 2026년 3월) - XAUUSD 1H - 스크린샷 첨부: 기본 설정(Volatility Factor 1) 사용 시 $1,000 → ~$7,000 — 최대 드로우다운(Drawdown): 9.5% — 부드럽고 일관된 우상향 수익 곡선. Volatility Factor 10 사용 시 $1,000 → ~$141,000 — 최대 드로우다운 28%. 실제 틱(R
WallGrid EA
Sarvarbek Abduvoxobov
WallGrid EA — Grid-Based Scalping System WallGrid EA is a grid-based scalping Expert Advisor designed for traders who prefer structured execution, controlled exposure, and disciplined profit management. The system is optimized for short-term range market conditions and focuses on fast trade closures using micro price movements. Code2Profit EA Channel Guide Trading Style Scalping Grid Market Condition Range / Sideways Market Execution Logic Grid-based position management without fixed stop loss
FREE
Gold Safe EA
Anton Zverev
5 (1)
라이브 시그널:   https://www.mql5.com/en/signals/2360479 기간:   M1 통화쌍:   XAUUSD 바르코 테크놀로지스는   단순한 사업체가 아니라 자유에 대한 철학입니다. 저는 장기적인 협력과 평판 구축에 관심이 있습니다. 제 목표는 변화하는 시장 상황에 맞춰 제품을 지속적으로 개선하고 최적화하는 것입니다. 골드 세이프 EA   - 이 알고리즘은 여러 전략을 동시에 사용하며, 핵심 철학은 손실 거래 및 위험 관리에 중점을 두는 것입니다. 거래 완료 및 관리에는 여러 단계가 사용됩니다. Expert 버전을 설치하는 방법은 무엇인가요? EA에서 XAUUSD M1 통화쌍 차트로 파일을 전송해야 합니다. SET 파일은 필요하지 않습니다. 시간 이동 값만 설정하면 됩니다. IC Markets나 RoboForex 같은 브로커를 이용할 때처럼 시간을 두고 투자하는 것을 추천합니다. GMT 시간 차이 =   IC Markets 시간 -   귀하의 브로커 시
Tower Market Sky
Moises Javier Torres Rico
Introducing   TowerFX EA , the groundbreaking MQL5 expert advisor that's transforming the way you trade the EUR/CAD pair! Developed by 2 experts creating algorithmic system in the world of trading. IMPORTANT! After the purchase please send me a private message to receive the installation manual and the setup instructions. *Updated version that works better for low capital on EURCAD but for high capital the results are shown in the screenshots* *Live Signal will be available soon* *Promotional P
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
Zenith Trend MT5
El Mahdi Karrout
Protect your capital from market noise. Zenith Trend is a sophisticated trend-following system built for Gold (XAUUSD) , combining RSI momentum with ATR- based volatility control for smarter, disciplined trading. Introductory Price: $199 This is the early-adopter price for Zenith Trend. Limited Offer: The price increases by $25 for every purchase. Final Price: $1,999 Start now and secure the best price before it rises! This EA solves that by: Trend Alignment: Only trades when the price is
Apex Momentum Sentinel
Dmitriq Evgenoeviz Ko
Apex Momentum Sentinel MT5 – Next-Generation Institutional Breakout Algorithm Apex Momentum Sentinel is a high-tech trading system designed to capture powerful momentum moves as the market exits consolidation. The advisor is based on the "smart breakout" concept, implemented through six independent algorithmic modules that work synergistically to ensure maximum entry accuracy. Unlike most systems that use risky loss compensation methods, Apex Sentinel is based on a rigorous mathematical model a
Prop Firm Protector
Janitha Sandaruwan Amaradasa Wickramasingha Arachchilage
Prop Firm Protector - Complete Risk Management Suite (Most capable Protector in the market)  A comprehensive risk management tool designed to help traders monitor and manage their trading according to predefined rules and limits. --- Protection Features This EA provides automated monitoring and management across multiple risk categories: Symbol and Lot Management - Whitelist allowed symbols with automatic monitoring of unauthorized pairs - Maximum lot size enforcement with configurable act
LQS INSTITUTIONAL FLOW ENGINE Professional-grade Expert Advisor for XAUUSD H1 trading --- OVERVIEW LQS Institutional Flow Engine is a professional-grade Expert Advisor built on a sophisticated 5-module signal fusion architecture. Designed to mirror institutional trading logic, the EA identifies liquidity sweeps, confirms order flow imbalances, and validates market structure through Wyckoff principles. The engine is precision-tuned for XAUUSD (Gold) on the H1 timeframe, focusing on high-probab
FREE
Nexoria
Daniel Suk
5 (2)
In every market kingdom there are countless noisy peasants of indicators, but only a few queens that quietly rule the order flow – Nexoria is built to be one of them. ​ This fully automated trading system doesn’t beg the market for scraps; it demands structure, reading raw price action and volatility to decide when to strike and when to stand aside. ​ Nexoria watches closed candles like a cold‑eyed monarch, hunting for real impulses, breakouts and clean pullbacks instead of random flickers. ​ A
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)의 거래 차트에 사용자 지정 로고 또는 이미지를 배경으로 표시하도록 설계되었습니다. 이 스크립트를 사용하면 트레이더가 로고 또는 기타 원하는 이미지를 사용하여 차트를 개인화할 수 있습니다. 작동 방식: 이미지 준비: 먼저 차트에 로고로 표시할 이미지를 선택하세요. 이미지 편집 소프트웨어를 사용하여 이미지를 비트맵 파일 형식(.bmp)으로 변환하세요. 이미지 저장: 변환이 완료되면 .bmp 이미지 파일을 MT4 설치 경로의 다음 디렉
FREE
Volume Weighted Average Price or VWAP is an indicator wich shows different average prices on chart. This is very useful to find strong negotiation price areas and as trend following. Configurations: Day, Week and Month - Show different VWAPs according to the period. You can change each line style on "colors" tab. Any doubt or suggestion please contact us. Enjoy! This is a free indicator, but it took hours to develop. If you want to pay me a coffee, I appreciate a lot   <3 PayPal, Skrill, Nete
FREE
SimpleLotCalculator
Itumeleng Mohlouwa Kgotso Tladi
SimpleLotCalculator: Professional Multi-Symbol Risk Manager Library Stop guessing your lot sizes and start trading with institutional precision. SimpleLotLogic is a high-performance MQL5 developer library designed to solve the number one problem for algorithmic and manual traders: Risk Management. Instead of writing complex math for every new EA, simply plug in this library to calculate the perfect lot size based on your account equity and stop-loss distance. Why Choose SimpleLotLogic? Precis
Seasonal Pattern Trader
Dominik Patrick Doser
Disclaimer : Keep in mind that seasonal patterns are not always reliable. Therefore, thoughtful risk management is crucial to minimize losses.  Seasonal patterns in the financial world are like a well-guarded secret that successful investors use to their advantage. These patterns are recurring price movements that occur during specific periods or around special events. Additionally, there are also intraday patterns that repeat. For example, Uncle Ted from Forex Family suggests examining previou
이 제품의 구매자들이 또한 구매함
WalkForwardOptimizer MT5
Stanislav Korotky
3.78 (9)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 5. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a CSV file and some special global variables.
이 라이브러리를 사용하면 EA를 사용하여 거래를 관리할 수 있으며 설명에 언급된 스크립트 코드와 전체 프로세스를 보여주는 비디오의 데모 예제를 사용하여 모든 EA에 통합하기가 매우 쉽습니다. - Place Limit, SL Limit, Take Profit Limit 주문 - 플레이스 마켓, SL-마켓, TP-마켓 주문 - 지정가 주문 수정 - 주문 취소 - 쿼리 주문 - 레버리지, 마진 변경 - 위치 정보 얻기 그리고 더... MT5에 바이낸스 차트가 없는 경우를 제외하고 암호화폐 차트 대여는 선택 사항입니다. 스크립트 데모를 보려면 여기를 클릭하세요. 트레이딩 패널과 거래하고 싶다면 이 제품에 관심이 있으실 것입니다. 이 제품은 Crypto Charting의 애드온입니다. 이 라이브러리를 사용하면 EA를 사용하여 거래를 관리할 수 있으며 설명에 언급된 스크립트 코드와 전체 프로세스를 보여주는 비디오의 데모 예제를 사용하여 모든 EA에 통합하기가 매우 쉽습니
突破交易策略:智能风控系统升级版‌ 当价格突破关键阻力位时,往往意味着趋势的质变时刻。我们的突破交易策略通过三重智能系统——‌动态阈值识别‌、‌量能验证机制‌和‌自适应止损算法‌,帮助交易者精准捕捉这些跃迁机会。 ‌核心优势‌: ‌智能预警‌:实时监测200+技术指标,自动标记潜在突破位 ‌风险对冲‌:突破失败时自动触发0.5秒内止损,保护本金安全 ‌多周期验证‌:结合日线/4小时/1小时数据过滤假信号 ‌实战案例‌: 2025年第二季度,该策略在现货黄金市场实现连续23次有效突破,平均持仓周期缩短至4.7小时,收益率达传统趋势策略的3.2倍。 ‌智能风控系统‌: ‌动态止盈‌:根据ATR指标自动调整止盈位,锁定利润的同时保留上行空间 ‌分级止损‌:首次突破失败后自动切换至1:1盈亏比保护模式,二次突破确认后恢复原策略 本EA依下图设置做黄金1小时图线,经长时期实盘验证年利润达到30多倍,修改参数可以用作比特币和纳斯达克指数都有很好的收益。
Here   is   the   English translation   of   your   description   for   the EA   (Expert   Advisor): --- This   is a   time -based   automatic trading   EA . It allows   you   to   set the   exact   time   for trading , down   to   the   second , and   specify the   maximum number   of   orders . You   can choose   to   place   either   buy   or   sell   orders . It   is possible to   set take   profit and   stop   loss   points . Additionally , you can   specify   how   long after   placing  
The library is dedicated to help manage your trades, calculate lot, trailing, partial close and other functions. Lot Calculation Mode 0: Fixed Lot. Mode 1: Martingale Lot (1,3,5,8,13) you can use it in different way calculate when loss=1 ,when profit=0. Mode 2: Multiplier Lot (1,2,4,8,16) you can use it in different way calculate when loss=1 ,when profit=0. Mode 3: Plus Lot (1,2,3,4,5) you can use it in different way calculate when loss=1 ,when profit=0. Mode 4: SL/Risk Lot calculate based on s
Friends, join us! Ask questions and connect with like-minded traders: MetaCOT Public Group MetaCOT Information Channel: news, CFTC reports, and signals: MetaCOT Channel Here’s to successful trading and new profitable signals for us all! Attention! Recently, certain countries have been blocking access to the cftc.gov website. As a result, users in these countries are giving the product low ratings. MetaCOT has always adhered to the highest quality standards and is in no way associated with th
This is a simplified and effective version of the library for walk forward analysis of trading experts. It collects data about the expert's trade during the optimization process in the MetaTrader tester and stores them in intermediate files in the "MQL5\Files" directory. Then it uses these files to automatically build a cluster walk forward report and rolling walk forward reports that refine it (all of them in one HTML file). Using the WalkForwardBuilder MT5 auxiliary script allows building othe
Order Book, known also as Market Book, market depth, Level 2, - is a dynamically updated table with current volumes of orders to buy and to sell specific financial instument at price levels near Bid and Ask. MetaTrader 5 provides the means for receiving market book from your broker, but in real time only, without access to its history. The library OrderBook History Library reads market book state in the past from archive files, created by OrderBook Recorder . The library can be embedded into you
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
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
Binance Library
Hadil Mutaqin SE
5 (1)
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
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 );    //复杂开单
If you're a trader looking to use Binance.com and Binance.us exchanges directly from your MetaTrader 5 terminal, you'll want to check out Binance Library MetaTrader 5. This powerful tool allows you to trade all asset classes on both exchanges, including Spot, USD-M   and COIN-M futures, and includes all the necessary functions for trading activity. Important: you need to have source code to properly implement the library. With Binance Library MetaTrader 5, you can easily add instruments from Bi
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
AO Core
Andrey Dik
3.67 (3)
AO Core is the core of the optimization algorithm, it is a library built on the author's HMA (hybrid metaheuristic algorithm) algorithm. Pay attention to the MT5 Optimization Booster product , which makes it very easy to manage the regular MT5 optimizer . An example of using AO Core is described in the article: https://www.mql5.com/ru/articles/14183 https://www.mql5.com/en/blogs/post/756510 This hybrid algorithm is based on a genetic algorithm and contains the best qualities and properties of p
EA Toolkit
Esteban Thevenon
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
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
Applying these methods, I managed to arrive at a nuanced conclusion that is crucial to understanding the importance of unique strategies in contemporary trading. Although the neural network advisor showed impressive efficiency in the initial stages, it proved to be highly unstable in the long run. Various factors such as market fluctuations, trend changes, external events, etc. cause its operation to be chaotic and eventually lead to instability. With these experiences, I accepted the challenge
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
The following library is proposed as a means of being able to use the OpenAI API directly on the metatrader, in the simplest way possible. For more on the library's capabilities, read the following article: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual IMPORTANT: To use the EA you must add the following URL to allow you to access the OpenAI API as shown in the attached images In order to use the library, you must include the following Hea
Molo kumalo
James Ngunyi Githemo
Trading Forex with our platform offers several key advantages and features: Real-time Data : Stay updated with live market data to make informed decisions. User-Friendly Interface : Easy-to-navigate design for both beginners and experienced traders. Advanced Charting Tools : Visualize trends with interactive charts and technical indicators. Risk Management : Set stop-loss and take-profit levels to manage your risk. Multiple Currency Pairs : Access a wide range of forex pairs to diversify your tr
Kaseki
Ben Mati Mulatya
The Hybrid Metaheuristic Algorithm (HMA) is a cutting-edge optimization approach that combines the strengths of genetic algorithms with the best features of population-based algorithms. Its high-speed computation ensures unparalleled accuracy and efficient search capabilities, significantly reducing the total time required for optimization while identifying optimal solutions in fewer iterations. HMA outperforms all known population optimization algorithms in both speed and accuracy. Use Cases AO
* * * * * * * 주로 XAUUSD를 거래하고 테스트할 때 XAUUSD로 조정하는 것을 권장하며 다른 거래 대상은 수익 효과를 보장할 수 없습니다 * * * * * * * * * * * * 테스트가 필요한 경우 메모 (본 후 가장 먼저 회신) 를 남겨 주십시오. 작업 성과를 보호하기 위해 특정한 매개 변수를 입력해야 합니다. 시스템의 기본 매개 변수는 캡처하여 철회하는 효과를 실현할 수 없습니다! 테스트가 필요한 경우 메모 (본 후 가장 먼저 회신) 를 남겨 주십시오. 작업 성과를 보호하기 위해 특정한 매개 변수를 입력해야 합니다. 시스템의 기본 매개 변수는 캡처하여 철회하는 효과를 실현할 수 없습니다! 테스트가 필요한 경우 메모 (본 후 가장 먼저 회신) 를 남겨 주십시오. 작업 성과를 보호하기 위해 특정한 매개 변수를 입력해야 합니다. 시스템의 기본 매개 변수는 캡처하여 철회하는 효과를 실현할 수 없습니다! *******************************
이 제품은 지난 3년 동안 개발되었습니다. 이는 MQL5 프로그래밍 언어에서 모든 유형의 인공지능 및 머신러닝 코드를 다룰 수 있는 가장 진보된 코드베이스입니다. MetaTrader 5에서 많은 AI 기반의 트레이딩 로봇과 인디케이터를 만드는 데 사용되었습니다. 이 제품은 MQL5용 머신러닝에 대한 무료 오픈 소스 프로젝트의 프리미엄 버전입니다. 프로젝트 링크:  https://github.com/MegaJoctan/MALE5 . 무료 버전은 기능이 제한적이며, 문서화가 부족하고 유지보수가 원활하지 않습니다. 소규모 AI 모델을 위한 제품입니다. 이 프리미엄 제품은 AI 기반 트레이딩 로봇을 효과적으로 개발하는 데 필요한 모든 기능을 제공합니다. 이 라이브러리를 구매해야 하는 이유? 사용이 매우 간편하며, 코드 문법이 Python의 인기 있는 AI 라이브러리인 Scikit-learn, TensorFlow, Keras와 유사합니다. 잘 문서화됨 – 시작을 돕기 위한 다양한 동영상, 예
Shawrie
Kevin Kipkoech
This Pine Script implements a Gaussian Channel + Stochastic RSI Strategy for TradingView . It calculates a Gaussian Weighted Moving Average (GWMA) and its standard deviation to form an upper and lower channel. A Stochastic RSI is also computed to determine momentum. A long position is entered when the price closes above the upper Gaussian band and the Stoch RSI K-line crosses above D-line . The position is exited when the price falls back below the upper band. The script includes commission, cap
Pionex API EA 커넥터 for MT5 – 완벽한 MT5 연동 개요 Pionex API EA 커넥터 for MT5 는 MetaTrader 5 (MT5) 와 Pionex API 를 원활하게 통합하는 도구입니다. 이를 통해 트레이더는 MT5 에서 직접 거래를 실행하고, 계좌 잔액을 확인하며, 주문 내역을 조회할 수 있습니다. 주요 기능 계정 및 잔액 관리 Get_Balance(); – Pionex 의 현재 계정 잔액을 조회합니다. 주문 실행 및 관리 orderLimit(string symbol, string side, double size, double price); – 특정 가격으로 지정가 주문 실행. orderMarket(string symbol, string side, double size, double amount); – 특정 금액으로 시장가 주문 실행. Cancel_Order(string symbol, string orderId); – 특정 주문을 ID 로 취
Bookeepr
Marvellous Peace Kiragu
Bookeepr is an advanced MQL5 trading bookkeeping software that automates trade logging, tracks real-time P&L, and integrates a ledger-style financial system for deposits, withdrawals, and expenses. It supports multi-currency assets , generates detailed performance reports , and provides risk management tools to help traders optimize their strategies. With secure cloud storage, exportable reports, and seamless MetaTrader 5 integration , Bookeepr ensures accurate, transparent, and hassle-free fina
A free indicator for those who purchase the full version This indicator is created by this Ai, with your desired settings Artificial Intelligence at your service Have a complete artificial intelligence and use it in your codes This artificial intelligence is trained to tell you on each candle whether the market is moving up or down. In general, artificial intelligence can be used in all markets, all timeframes and all symbols However, due to the increasing complexity and decreasing accuracy of
필터:
리뷰 없음
리뷰 답변