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);
    }
}


Рекомендуем также
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 (м гновенный взгляд на рынки ) - построен на базе легендарного индикатора Ichimoku Kinko Hyo. Задача Ichimoku Map давать информацию о силе рынка на выбранных временных периодах и инструментах,  с точки зрения индикатора Ишимоку . Индикатор отображает 7 степеней силы сигнала на покупку и 7 степеней силы сигнала на  продажу. Чем сильнее тренд, тем ярче сигнальный прямоугольник в таблице. Таблицу можно перетаскивать мышью. Размер таблицы зависит от размера шрифта, выбранного в наст
Библиотека IndexRaider предоставляет движок IndexRaider в виде вызываемых функций: определение снятия ликвидности (SFP), направление тренда H4, подтверждение Fair Value Gap и расчёт размера позиции на основе риска, используемые во всей линейке продуктов IndexRaider. Вы можете создать собственного Expert Advisor, индикатор или торговую панель на тех же правилах — библиотека выполняет анализ, а решения принимает ваша программа. ЧТО ОНА ЭКСПОРТИРУЕТ - IXR_Drive(symbol) — продвигает внутренний ав
Expert System Trend EA Beneath the surface, five signals watch in silence — EMA, Aroon, ADX, MACD, and the slope of price itself. None of them act alone. Only when the trend confirms itself from every angle does the system move — no hesitation, no second-guessing, just a single decisive entry. It waits for alignment. It exits the instant the trend breaks. Everything else is noise. Built for XAUUSD. Runs on any timeframe. Watches everything, reacts to what matters.
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
Alpha Trades Автор: Andrii Sydoruk Версия: 1.0 Дата выпуска: 31.10.2025 Описание Alpha Trades — торговый эксперт, предназначенный для работы на различных рыночных условиях. Система использует адаптивный аналитический подход, который позволяет подстраиваться под текущую структуру рынка. Алгоритм построен как многоуровневая стратегия, объединяющая регрессионный анализ, динамические фильтры волатильности, управление сериями ордеров и манименеджмент. Основные особенности Адаптивная аналитика — опре
Основные возможности EA Умное управление ордерами: поддержка общего переключателя, динамического расчета максимальных позиций, контроля интервалов и др. Гибкое управление тейк-профитом и стоп-лоссом: поддержка динамического стоп-лосса, защиты от плавающих убытков, трейлинг-стопа и других механизмов защиты прибыли. Фильтрация сигналов SAR: использование трендовых сигналов Parabolic SAR для более точных точек входа. Продвинутое управление рисками: встроенные механизмы управления балансом счета, м
VectorPrime EA MT5
Maxim Kurochkin
4.2 (15)
VectorPrime — алгоритмическая система с многослойной векторной логикой VectorPrime — это автономная торговая система, разработанная для структурированного исполнения в условиях многотаймфреймового анализа рынка. В её основе лежит концепция векторного анализа, при которой динамика цены раскладывается на направленные импульсы и матричные структуры. Система рассматривает рыночные движения не как отдельные сигналы, а как взаимосвязанные векторы, формирующие целостную карту рынка. Ключевые модули Vec
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
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 — это не просто обычный экспертный советник.   Он сочетает в себе многолетний опыт исследований и управления активами. Live Performance:   Pepperstone Community: Join Remstone MQL5 Channel Никаких обещаний, никаких фальшивок и никаких иллюзий. Зато богатый живой опыт. Присоединяйтесь к растущему сообществу успешных трейдеров, использующих возможности 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
Command Matrix
Angelo Marcelo Serafin
Command Matrix US30 Command Matrix US30 — это полностью автоматизированный торговый советник, разработанный специально для индекса US30. Система объединяет мультитаймфреймовый анализ рынка, автоматическое исполнение сделок, динамическое управление позициями и встроенную торговую панель в одном Expert Advisor. US30 характеризуется сильными направленными движениями, быстрыми изменениями волатильности и частыми внутридневными импульсами. Command Matrix US30 анализирует рыночные условия на неско
GoldTrade Ultra MT5 Gold does not wait. Risk control should not arrive late. GoldTrade Ultra is a fully automated trading system developed specifically for XAUUSD. It does more than generate a Buy or Sell signal. It connects   trend detection, order execution, controlled layering, basket management, profit protection and account-level safeguards   into one complete workflow. From the moment the first position is opened, the EA continues to evaluate whether the direction remains valid, whether vo
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
Aurora EURUSD EA Aurora EURUSD EA — это тщательно разработанная автоматизированная торговая система, созданная специально для EURUSD . Алгоритм сочетает адаптивный анализ рынка с дисциплинированным исполнением, обеспечивая стабильный и структурированный подход к автоматической торговле. Система оценивает рыночную структуру, изменения волатильности и динамику цены, чтобы определять технически значимые торговые условия. Логика EA остаётся последовательной в различных фазах рыночной активности,
The product "VR CyberBot MT5" is the LITE series with the economical price of the product " Ai Panel Genius X5 " [ИИ]   Автономные вычисления   — это подход к интеллектуальным вычислениям, который позволяет автономно выполнять роботизированные и интерактивные приложения на основе механизмов, управляемых целями и выводами. '   Ai Panel Genius X   ' - это премиум-индикатор, разработанный как друг серьезного профессионального эксперта. Он мгновенно предоставляет экспертные знания по всем парам, вк
Hrum
Yvan Musatov
4 (1)
Индикатор Hrum - был создан для нейтрализации временных пауз и откатов. Он анализирует поведение цены и, если наблюдается временная слабость тренда, вы можите заметить это из показаний индикатора, как и в случае выраженной смены направления тренда. Войти в рынок не трудно, а вот удержаться в нем куда сложнее. С индикатором Giordano Bruno и его уникальной трендовой линией удержаться в тренде станет намного проще! Каждый рост и каждое падение отражается и на вашем эмоциональном состоянии: надежд
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
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
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 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: 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
С этим продуктом покупают
Библиотека ModernUI для MetaTrader 5 ModernUI — это библиотека пользовательского интерфейса для MetaTrader 5, размещаемая прямо на графике. Она помогает разработчикам MQL5 создавать более аккуратные панели советников, дашборды, окна настроек, формы, таблицы, диалоги, боковые панели и компактные торговые интерфейсы внутри среды графика MT5. Она создана для разработчиков, которым нужен более профессиональный интерфейсный слой, чем набор разрозненных графических объектов, но при этом важно сохранит
Простая в использовании, быстрая, асинхронная библиотека WebSocket для MQL5. Он поддерживает: ws:// и wss:// (защищенный веб-сокет "TLS") текстовые и бинарные данные Он обрабатывает: фрагментированное сообщение автоматически (передача больших объемов данных) кадры пинг-понга автоматически (подтверждение активности) Преимущества: DLL не требуется. Установка OpenSSL не требуется. До 128 соединений Web Socket из одной программы Различные уровни журнала для отслеживания ошибок Возможна синхронизац
This library will allow you to send your trades using your MT5 EA bot and its very easy to integrate on any EA which you can do yourself with the script code which is mentioned in documentation. This product allows trading operations via API For MEXC chart : Renting   Crypto Charting  for OHLC data or   Crypto Ticks with Order Book Depth  is optional - Supports MEXC API calls - Place Limit, SL Limit and Take Profit Limit Orders - Place Market, SL-Market, TP-Market orders - Modify Limit order - C
Библиотека WalkForwardOptimizer позволяет выполнить пошаговую и кластерную форвард-оптимизацию ( walk-forward optimization ) советника в МетаТрейдер 5. Для использования необходимо включить заголовочный файл WalkForwardOptimizer.mqh в код советника и добавить необходимые вызовы функций. Когда библиотека встроена в советник, можно запускать оптимизацию в соответствии с процедурой, описанной в Руководстве пользователя . По окончанию оптимизации промежуточные результаты сохраняются в CSV-файл и наб
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
Эта библиотека предназначена для помощи в управлении сделками, расчета лота, трейлинга, частичного закрытия и других функций. Расчет лота 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.
Друзья, присоединяйтесь к нам! Задать свои вопросы и пообщаться с единомышленниками: MetaCOT Public Group Информационный канал MetaCOT: новости, отчетность CFTC и сигналы: MetaCOT Channel Желаю нам удачной торговли и новых прибыльных сигналов! Внимание! Последнее время, некоторые страны блокируют доступ к сайту cftc.gov . Из-за этого, пользователи из этих стран ставят низкий рейтинг продукту. MetaCOT всегда придерживался самых высоких стандартов качества и не связан с этими блокировками. Пож
Это упрощенная и эффективная версия библиотеки для 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
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
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
Эта библиотека позволит вам управлять сделками с использованием любого вашего советника, и ее очень легко интегрировать в любой советник, что вы можете сделать самостоятельно с помощью кода сценария, упомянутого в описании, а также демонстрационных примеров на видео - Размещайте лимитные ордера, 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  как показано на приложенных изображениях Для использования библиотеки необходимо включит
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 экспертов. Доступные методы библиотеки: Данные аккаунта и прибыль: GetAccountBalance() : Возвращает текущий баланс аккаунта. GetProfit() : Возвращает чистую прибыль от всех сделок. GetDeposit() : Возвращает общую сумму депозитов. GetWithdrawal() : Возвращает общую сумму снятий. Анализ торговли: GetProfitTrades() : Возвращает количество прибыльных сделок. GetLossTrades() : Возвраща
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
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, другие торговые объекты не могут гарантировать рентабельность * * * * * * * * * * * * * * * * Оставьте сообщение, которое нужно протестировать (вы ответите в первый раз после просмотра), чтобы защитить результаты работы, необходимо ввести определенные параметры, параметры по умолчанию системы не могут достичь эффекта, показанного в отзыве скриншота! Оставьте сообщение, которое нужно протестиров
Фильтр:
Нет отзывов
Ответ на отзыв