Fast Sliding SMA algorithm

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 https://en.wikipedia.org/wiki/Moving_average.

In simple terms, the SMA is the average value of a sequence of data over a specified time period. This period can be in days, weeks, hours, etc., depending on the context and analysis objectives.

For the basic calculation of the Simple Moving Average (SMA) with a fixed window size n, the standard asymptotic time complexity is O(n). This means that the algorithm's execution time is linearly proportional to the size of the window or the number of data points.

However, the improvved version of the algorithm use a queue and has an execution asymptotic of O(1) for each new element, making the algorithm efficient compared to the linear asymptotic of O(n).  

The improved version of the moving average algorithm using a queue offers several advantages over the basic implementation:

  1. Constant Time for Each New Element: The algorithm ensures constant time (O(1)) for adding new elements and removing old elements from the queue, making it efficient regardless of the window size.

  2. Efficient Update Operations: Leveraging a queue enables efficient addition of new elements at the end and removal of old elements from the beginning, reducing the number of operations required for updating the average.

  3. Optimized Window Management: The queue serves as an effective data structure for window management in the moving average, eliminating the need to recalculate the entire average when adding a new element.

  4. Increased Efficiency with Large Data Sets: Constant time for each new element ensures the algorithm remains efficient even when processing large volumes of data.

  5. Easy Implementation and Maintenance: The use of a queue makes the code more understandable and easy to maintain, avoiding the necessity of iterating through the entire window for updating the average.

In summary, the enhanced algorithm provides more efficient data processing while maintaining a fixed window for the moving average.

Import section:

#import "FastSlidingSMA.ex5"

bool InitNewInstance(string key, const long windowSize); // Initialize a new instance of FastMovingSMA

bool PushValue(string key, const double &value); // Push a single value into the FastMovingSMA instance

bool PushArray(string key, double &values[]); // Push an array of values into the FastMovingSMA instance

bool PushVector(string key, vector &values); // Push a vector of values into the FastMovingSMA instance

bool GetSMA(string key, double &sma); // Get the value of the moving average from the FastMovingSMA instance

bool ClearInstance(string key); // Clear the FastMovingSMA instance

bool GetTopValue(string key, double &topValue); // Get the top value from the FastMovingSMA instance

bool GetPoppedValue(string key, double &poppedValue); // Get the popped value from the FastMovingSMA instance

#import

How to use code example:

#property copyright "Copyright 2023, Andrei Khloptsau Ltd."
#property link      "https://www.mql5.com"
#property version   "1.00"

#import "FastSlidingSMA.ex5"
    bool InitNewInstance(string key, const long windowSize);
    bool PushValue(string key, const double &value);
    bool PushArray(string key, double &values[]);
    bool PushVector(string key, vector &values);
    bool GetSMA(string key, double &sma);
    bool ClearInstance(string key);
    bool GetTopValue(string key, double &topValue);
    bool GetPoppedValue(string key, double &poppedValue);
#import

const string INSTANCE_KEY = "MyInstance";

input int NumberOfBars = 5;

int OnInit()
{
    if (!InitNewInstance(INSTANCE_KEY, NumberOfBars))
        return INIT_FAILED;
        
    double closePrices[];
    ArraySetAsSeries(closePrices, true);
    if (CopyClose(_Symbol, _Period, 0, NumberOfBars, closePrices) > 0)
        PushArray(INSTANCE_KEY, closePrices);
    else
        return INIT_FAILED;
  
    return INIT_SUCCEEDED;
}

void OnDeinit(const int reason)
{
    ClearInstance(INSTANCE_KEY);
}

void OnTick()
{
    double currentPrice = iClose(_Symbol, _Period, 0);
    PushValue(INSTANCE_KEY, currentPrice);

    double sma;
    if (GetSMA(INSTANCE_KEY, sma))
    {
        Print("Current value SMA: ", sma);
    }
}


추천 제품
VOLQUIS NASDAQ PROP FIRM EDITION 나스닥100(M15) 프롭펌 전용 자동매매 시스템 실계좌 검증 (Verified Live Performance) 공식   Myfxbook 인증 라이브 데모 계좌 를 운영하고 있습니다. 프로필에 안내된 Myfxbook 링크를 통해 실시간 거래 내역, 손익, 낙폭 및 운용 현황을 직접 확인할 수 있습니다. 아래 성능 지표는 장기간 백테스트와 Myfxbook 실계좌 검증을 기반으로 작성되었습니다. 시스템 개요 VOLQUIS Nasdaq Prop Firm Edition은 프롭펌 챌린지 및 펀딩 계좌 운용을 목표로 설계된 나스닥100(M15) 전용 자동매매 시스템입니다. 단기적인 고수익보다 일관된 수익과 리스크 관리 를 우선하도록 설계되었으며, 모든 주문은 사전에 정의된
What it does: Scans a fixed list of assets (24-hour US stock pairs from the Pepperstone brokerage) on the chosen timeframe. For each pair and for various periods (Period1…Period100 ABOVE) it: Calculates a regression model between the two assets (and, if desired, using the US500 index as a normalizer). Generates the residual (spread) of this relationship, its mean, standard deviation, correlation, and betas (B1 and B2). Applies an ADF test to the residual (cointegration/stationarity). Calculates
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
Ichimoku Map MT5
Pavel Verveyko
Ichimoku Map (instant look at the markets) - built on the basis of the legendary Ichimoku Kinko Hyo indicator. The task of the Ichimoku Map is to provide information about the market strength on the selected time periods and instruments, from the point of view of the Ichimoku indicator. The indicator displays 7 degrees of buy signal strength and 7 degrees of sell signal strength. The stronger the trend, the brighter the signal rectangle in the table. The table can be dragged with the mouse. The
Indicator for Boom and Crash Synthetic Indices The indicator will be sold in a limited quantity. We present a specialized technical indicator designed exclusively for Boom and Crash synthetic indices offered by Deriv broker. This tool is tailored for traders who prefer a methodical approach to trading with clearly defined price levels. Indicator Functionality: • Displays key price levels for position entry • Indicates levels for position averaging • Determines optimal stop-loss levels
Nucz MT5
Ryan Ferdyansyah Kurniawan
Nucz is a high-end automated trading technology that combines professional multi-indicator confirmation, a structured position scaling system based on progressive lot multipliers, and real-time economic calendar protection. Designed to deliver institutional-grade execution discipline and risk management to your account, operating emotion-free and without the need for 24-hour manual monitoring. Features & Strategy Menu EA Settings — Core Operational Configuration Simultaneous multi-pair t
SPECIAL LAUNCH OFFER: $30 (1-Month Rent) Limited time offer to build our community and gather feedback! AmbM GOLD Institutional Scalper A high-precision M5 algorithm for XAUUSD (Gold) , engineered to trade exclusively at Institutional Liquidity Levels ($5/$10 psychological marks). PERFORMANCE DATA (BUY ONLY) • Win Rate: 87.09%. • Safe Growth: +$4,113 profit on $10k (13.75% Max Drawdown). • Extreme Stress Test: Successfully generated +$22,997 in a 5-year stress test (2020-2026), proving
EA 주요 기능 스마트 주문 관리: 주문 전체 스위치, 동적 최대 포지션 계산, 시간 간격 제어 등 지원. 유연한 익절/손절: 동적 손절, 부동손실 보호 익절, 트레일링 스톱 등 다양한 이익 보호 메커니즘 지원. SAR 신호 필터링: 파라볼릭 SAR 트렌드 신호 기반으로 더 정확한 진입점 제공. 고급 리스크 관리: 계좌 잔고, 증거금 비율 등 내장 리스크 관리 메커니즘으로 안전한 거래 보장. 다양한 거래 시나리오 지원: 다양한 통화쌍, 계좌 유형, 전략 요구사항 지원. 신규 기능 동적 손절(Dynamic SL): 가격 변동에 따라 자동으로 손절 조정, 리스크 감소. 고급 리스크 관리: 동적 최대 포지션 계산 활성화, 증거금 비율 기반 리스크 관리. 부동손실 보호 익절: 부동손실 발생 시 보호 익절 설정, 손실 감소. 정밀 손절 관리: 주문별 개별 손절 금액 및 슬리피지 설정 지원. EA 파라미터 개요 주요 설정: 주문 파라미터: 주문 전체 스위치, 최소 간격, 슬리피지 제어 등.
VectorPrime EA MT5
Maxim Kurochkin
4.2 (15)
VectorPrime — 다층 벡터 로직을 갖춘 알고리즘 시스템 VectorPrime은 다중 타임프레임 시장 환경에서 구조화된 실행을 위해 설계된 자율형 거래 시스템입니다. 그 핵심에는 벡터 분석 개념이 있으며, 가격 역학을 방향성 충동과 매트릭스 구조로 분해합니다. 시스템은 시장 흐름을 고립된 신호로 보지 않고, 상호 연결된 벡터들의 네트워크로 해석하여 일관된 시장 지도를 형성합니다. VectorPrime의 핵심 모듈: Vector Dynamics Engine — 지배적인 방향 흐름을 식별하고 단기적 노이즈를 제거합니다. Prime Momentum Layer — 마이크로 충동의 강도와 지속성을 평가하여 변동성 단계에 맞게 진입을 조정합니다. Matrix Vector Module — 가격 행동을 매트릭스 기반으로 해석하여 다차원적 시장 모델을 생성합니다. Adaptive Risk Protocol — 구조화된 손실 제한 임계값과 포지션 관리를 통해 리스크 노출을 통제합니다. 실행은 사
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
Tomgoodcar
Tanakon Khotmitr
Overview Tomgoodcar Market Structure & Grid Assistant is a versatile trading tool designed to provide structural analysis and automated trade management. It allows traders to utilize technical frameworks to assist with market entry and position management. Execution Modes Auto Mode: The EA identifies market structure setups (OB/FVG) and executes trades based on your selected entry logic, allowing for an automated structural trading experience. Manual/Hybrid Mode: Traders can manually execute tra
Remstone
Remstone
5 (8)
렘스톤은 평범한 전문가 자문가가 아닙니다.   수년간의 연구와 자산 관리를 결합한 회사입니다. Live Performance:   Pepperstone Community: Join Remstone MQL5 Channel 약속도, 곡선 맞춤도, 환상도 없습니다. 하지만 풍부한 현장 경험을 제공합니다. Remstone의 힘을 활용한 성공적인 트레이더들의 커뮤니티에 참여하세요! Remstone은 시장 동향을 활용하도록 설계된 완전 자동화된 거래 솔루션입니다. 고급 알고리즘을 기반으로 구축되어 신뢰성과 성과를 추구하는 트레이더를 위해 설계되었습니다. 입증된 정확성으로 거래 우위를 강화하세요! 왜 Remstone을 선택해야 하나요? 뛰어난 시장 적응력:   다양한 자산과 경제 뉴스를 처리하여 적절한 시기에 추세가 나타날 가능성이 있는 자산을 파악합니다. 맞춤형 전략:   고유한 목표에 맞게 입력 매개변수를 맞춤화합니다. 간편한 위험 관리:   거래당 위험 비율을 간편하게 선택하여 자본 보
Floating peaks oscillator - it the manual trading system. It's based on Stochastik/RSI type of oscillator with dynamic/floating  overbought and oversold levels. When main line is green - market is under bullish pressure, when main line is red - market is under bearish pressure. Buy arrow appears at the floating bottom and sell arrow appears at floating top. Indicator allows to reverse signal types. Main indicator's adjustable inputs : mainTrendPeriod; signalTrendPeriod; smoothedTrendPeriod; tre
TDMVPEmbeddedEA
Steven Wong Sing Seng
TDM VP Embedded is a MetaTrader 5 Expert Advisor that builds a periodic Volume Profile inside the EA and trades POC edge retests after price moves away from the point of control. Features • Embedded daily (or weekly/monthly) volume profile with POC, value area, HVN and LVN • Bull/bear retest entries at the POC zone with ATR-based stop and reward targets • Optional wick retests, watch setups, and direction filter • Break-even, ATR trailing, and daily loss guard • Margin cap and maximum lot lim
AuroraEURUSD
Oleksandr Sheyko
Aurora EURUSD EA Aurora EURUSD EA 는 EURUSD 전용으로 설계된 고정밀 자동매매 시스템입니다. 시장 구조, 변동성 변화, 가격 모멘텀을 기반으로 한 적응형 분석을 통해 안정적이고 체계적인 자동매매 환경을 제공합니다. 이 시스템은 추세 형성, 횡보 구간, 전환 구간 등 다양한 시장 상황에서도 일관된 동작을 유지하도록 설계되었습니다. 마틴게일, 그리드, 무스탑 거래와 같은 고위험 전략을 전혀 사용하지 않으며, 위험 관리와 안정성 을 최우선으로 합니다. Aurora EURUSD EA는 EURUSD의 특성과 리듬에 맞춰 최적화되어 높은 유동성을 가진 시장에서 정교한 동작을 수행합니다. 정확성, 안정성, 현대적인 기술 기반을 중요하게 생각하는 트레이더에게 적합한 전문 자동매매 프레임워크입니다. ️ 기술 파라미터 Aurora EURUSD EA는 EURUSD 전용 으로 설계되었으며, 최적의 성능을 보이는 타임프레임은 M30, H1, H2, H3, H4 입니다.
Hrum
Yvan Musatov
4 (1)
The Hrum indicator was created to neutralize temporary pauses and rollbacks. It analyzes price behavior and, if there is a temporary weakness in the trend, you can notice this from the indicator readings, as in the case of a pronounced change in trend direction. Entering the market is not difficult, but staying in it is much more difficult. With the Giordano Bruno indicator and its unique trend line, staying on trend will become much easier! Every rise and every fall is reflected in your emoti
Supimpa B3 Trader
Renato Takahashi
Supimpa B3 Trader é o robô de negociação automatizada para a bolsa brasileira B3, para os ativos miniíndice WIN e minidólar WDO. A estratégia de negociação é baseada na média VWAP - Volume Weighted Average Price - que utiliza uma média ponderada dos preços em relação ao volume de negociação em cada vela. O robô é de configuração simples, com entrada do valor do período da média de análise e do takeprofit e stoploss fixos. Além disso, pode-se configurar também o número de contratos, configuração
PivotGrid EA
Laszlo Adoba
Pivot Grid EA – User Manual Overview Pivot Grid EA is a fully automated Expert Advisor that builds a two-sided grid of pending limit orders based on daily Pivot levels. The EA uses Buy Limit and Sell Limit orders exclusively and never enters the market with market orders. At the beginning of each trading day, it calculates the current daily Pivot levels and automatically creates the trading grid accordingly. The strategy uses a predefined Martingale lot progression, where each successive grid le
fully automated EA designed to trade FOREX only. Expert showed stable results  with  low drawdown . EA designed to trade on 1H (One Hour) Chart. use of support or resistance as stop lose , by using different time frame can give a bigger stop lose. support or resistance levels are formed when a market’s price action reverses and changes direction, leaving behind a peak or trough (swing point) in the market. Support and resistance levels can carve out trading ranges.  Renko  designed to filter out
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
Session Overlay Stop guessing where sessions begin and end. Most session indicators mark zones by fixed clock hours. The result? Boxes that start 30 minutes late, end at the wrong candle, and never quite align with where price actually reacted. Session Overlay is built differently. Every session boundary is calculated from the D1 bar open — not a hardcoded offset — so the shading, the overlap zones, and the high/low lines all share the exact same time reference. What you see is what the market a
FREE
Introducing Your New Go-To Trading EA! Boost your trading performance with this Bollinger Bands-based Expert Advisor, specially designed for XAU (Gold) and various Forex pairs. Why this EA is a must-have: Clean, user-friendly interface – perfect for all trader levels Built-in Hidden Take Profit & Stop Loss for added strategy security Ideal for both beginners and experienced traders Ready to use out of the box – no complex setup required. Trade smarter, not harder!
HMA Trend PRO
Marina Dangerio
HMA TrendPro Experts · AuroraQuantSystems · Version: 1.2 · Activations: 5 AQS-HMA TrendPro Hull Moving Average (HMA) trend-following Expert Advisor for MetaTrader 5 Engineered around trend-cycle confirmation, ATR-defined exits, structured pyramiding, and production-grade safety controls. Overview AQS-HMA TrendPro is a rule-based trend-following EA for MetaTrader 5 that seeks to participate in sustained directional moves by combining: Fast HMA reversal timing (entry trigger) Slow HMA trend conf
EA Alpha Expert
Jonatas Da Silva Cruz
Eu tentei muitas coisas na negociação forex no passado e aprendi muito nos últimos 3,5 anos. Tentei   varias  ferramentas para negociação manual e nao tive muito sucesso. Sempre fui fascinado com o mercado forex, . A integração dos dados de volume é uma característica única e aumenta muito a qualidade das decisões comerciais do Expert Advisor. E sim, você tem que lembrar que os resultados do backtest não são os mesmos que resultados ao vivo. Mas aqui eles estão muito próximos. agora o único Exp
Etrend
Younes Bordbar
Introducing Etrend – Identifying Strong Market Trends Etrend is an intelligent trading robot specifically designed to detect and trade strong market trends . It avoids trading in ranging markets and focuses on capitalizing on high-momentum movements. Why Choose Etrend? Trend-Based Trading – Only trades in trending markets and avoids ranging conditions. Optimized Risk Management – Uses a 1:2 risk-to-reward ratio for better control over losses and maximizing potential gains. Minimum 2
Dual Force Omega MT5
Carlos Dalagrana Assumpcao Junior
Dual Force Omega   is a Certified Institutional Grade System, stress-tested over 10 years to achieve maximum stability. THE ACHIEVEMENT: < 10% DRAWDOWN This EA has passed a rigorous 10-year Stress Test (2016-2026) on EURUSD and GBPUSD. Initial Balance:   $10,000 (Standard). Result:   The system maintained a Drawdown below 10% during major crises (Pandemic, Wars, Inflation), proving its "Shield" defense technology works. How to replicate these results? To achieve the same mathematical safety
Aladin AI Bot MT5
Albertas Guscius
Aladin AI Bot MT5: Your Ultimate Trading Companion Unlock the power of artificial intelligence in trading with Aladin AI Bot MT5 , the next-generation MetaTrader 5 indicator designed to revolutionize your trading experience. Whether you're a seasoned trader or just starting, Aladin AI Bot MT5 is your key to smarter, faster, and more efficient trading decisions. What Makes Aladin AI Bot MT5 Special? Intelligent Trend Analysis : Aladin AI Bot MT5 uses advanced algorithms to analyze market trends d
HMA Scalper Pro EA
Vladimir Shumikhin
5 (2)
HMA Scalper Pro EA — Hull Moving Average (HMA) 지표 기반 MetaTrader 5 자동 거래 어드바이저 개요 HMA Scalper Pro EA는 Hull Moving Average (HMA) 방향으로 거래하는 MetaTrader 5용 전문 트레이딩 로봇(Expert Advisor)입니다. HMA 지표는 현재 추세 방향을 결정하며, 어드바이저는 Smart Risk 자본 관리, 적응형 그리드 거래, 트레일링 스톱, 브레이크 이븐 및 시간 필터로 보완된 해당 방향으로 거래를 실행합니다. 이 어드바이저는 Netting 및 Hedging 계정을 모두 지원하며 금(XAU/USD), 외환 통화쌍, 원유, 지수 및 암호화폐 거래에 적합합니다. HMA SCALPER PRO EA를 선택해야 하는 이유 - Hull Moving Average 신호 — 클래식 이동 평균보다 추세 변화에 더 빠르게 반응하는 HMA 방향 기반 진입 - 멀티 타임프레임 HMA 계산
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
이 제품의 구매자들이 또한 구매함
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.
MetaTrader 5용 ModernUI 라이브러리 ModernUI는 MetaTrader 5 차트 위에서 동작하는 사용자 인터페이스 라이브러리입니다. MQL5 개발자가 MT5 차트 환경 안에서 더 깔끔한 EA 패널, 대시보드, 설정 창, 폼, 테이블, 다이얼로그, 드로어, 컴팩트한 트레이딩 스타일 인터페이스를 만들 수 있도록 도와줍니다. 흩어진 차트 객체보다 더 전문적인 인터페이스 레이어를 원하면서도, 자신의 EA, 인디케이터 또는 유틸리티 로직은 계속 완전히 직접 제어하고 싶은 개발자를 위해 만들어졌습니다. Modern UI - 사용자 가이드   | EA 예제 데모 무엇을 만들 수 있나요? ModernUI는 한 가지 유형의 패널에만 제한되지 않습니다. MetaTrader 5 차트 위에 배치할 거의 모든 도구를 만들 수 있는 재사용 가능한 인터페이스 레이어를 제공합니다. 간단한 설정 화면, 컴팩트한 트레이딩 패널, 전체 대시보드, 데이터 뷰, 컨트롤 패널, 계정 도구, 워크플로
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
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
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
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
Gold plucking machine   Gold plucking machine is an Expert Advisor designed specifically for trading gold. The operation is based on opening orders using the Fast and Slow lines indicator, thus the EA works according to the "Trend Follow" strategy, which means following the trend. Use grid strategy to place orders without stop loss operation, so please make sure the account has sufficient funds. magic number      -  is a special number that the EA assigns to its orders. Lot Multiplier        - 
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
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
Native Websocket
Racheal Samson
5 (6)
An   easy to use, fast,  asynchronous   WebSocket library  for MQL5. It supports: ws://   and   wss://  (Secure "TLS" WebSocket) text   and   binary   data It handles: fragmented message  automatically (large data transfer) ping-pong   frames  automatically (keep-alive handshake) Benefits: No DLL required. No OpenSSL installation required. Up to 128 Web Socket Connections from a single program. Various Log Levels for error tracing Can be synchronized to MQL5 Virtual Hosting . Completely native t
이 라이브러리를 사용하면 EA를 사용하여 거래를 관리할 수 있으며 설명에 언급된 스크립트 코드와 전체 프로세스를 보여주는 비디오의 데모 예제를 사용하여 모든 EA에 통합하기가 매우 쉽습니다. - Place Limit, SL Limit, Take Profit Limit 주문 - 플레이스 마켓, SL-마켓, TP-마켓 주문 - 지정가 주문 수정 - 주문 취소 - 쿼리 주문 - 레버리지, 마진 변경 - 위치 정보 얻기 그리고 더... MT5에 바이낸스 차트가 없는 경우를 제외하고 암호화폐 차트 대여는 선택 사항입니다. 스크립트 데모를 보려면 여기를 클릭하세요. 트레이딩 패널과 거래하고 싶다면 이 제품에 관심이 있으실 것입니다. 이 제품은 Crypto Charting의 애드온입니다. 이 라이브러리를 사용하면 EA를 사용하여 거래를 관리할 수 있으며 설명에 언급된 스크립트 코드와 전체 프로세스를 보여주는 비디오의 데모 예제를 사용하여 모든 EA에 통합하기가 매우 쉽습니
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
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
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  
사용하기 쉬운 라이브러리로, 개발자들이 MQL5 EA를 위한 주요 거래 통계에 간단하게 접근할 수 있습니다. 라이브러리에서 사용할 수 있는 메서드: 계좌 데이터 & 이익: GetAccountBalance() : 현재 계좌 잔액을 반환합니다. GetProfit() : 모든 거래의 순이익을 반환합니다. GetDeposit() : 총 입금액을 반환합니다. GetWithdrawal() : 총 출금액을 반환합니다. 거래 분석: GetProfitTrades() : 수익성 있는 거래의 개수를 반환합니다. GetLossTrades() : 손실 거래의 개수를 반환합니다. GetTotalTrades() : 실행된 총 거래 수를 반환합니다. GetShortTrades() : 숏 거래의 개수를 반환합니다. GetLongTrades() : 롱 거래의 개수를 반환합니다. GetWinLossRatio() : 승리 거래와 패배 거래의 비율을 반환합니다. GetAverageProfitTrade() : 수익성 있는
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와 유사합니다. 잘 문서화됨 – 시작을 돕기 위한 다양한 동영상, 예
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 로 취
필터:
리뷰 없음
리뷰 답변