• Обзор
  • Отзывы
  • Обсуждение

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


Рекомендуем также
Эта библиотека используется для сортировки массивов ключей и значений, нам часто нужно сортировать значения. как на языке питонов sorted(key_value.items(), key = lambda kv:(kv[ 1 ], kv[ 0 ])) функция импорта Пример сценариев использования 1. Ордера Grid EA сортируются по цене открытия void SortedByOpenPride()   {    long     OrderTicketBuffer[];    double   OpenPriceBuffer[];    for ( int i = PositionsTotal ()- 1 ; i>= 0 ; i--)      {        if (m_position.SelectByIndex(i))         {   
Матрица является основой сложных торговых алгоритмов, поскольку она помогает выполнять сложные вычисления без особых усилий и без необходимости слишком больших вычислительных мощностей. хранится в форме массива в оперативной памяти нашего компьютера, Используя некоторые функции из этой библиотеки, я смог создать роботов с машинным обучением, которые могли принимать большое количество входных данных. Для эффективного использования этой библиотеки требуются некоторые математические знания о линей
Ichimoku Map (м гновенный взгляд на рынки ) - построен на базе легендарного индикатора Ichimoku Kinko Hyo. Задача Ichimoku Map давать информацию о силе рынка на выбранных временных периодах и инструментах,  с точки зрения индикатора Ишимоку . Индикатор отображает 7 степеней силы сигнала на покупку и 7 степеней силы сигнала на  продажу. Чем сильнее тренд, тем ярче сигнальный прямоугольник в таблице. Таблицу можно перетаскивать мышью. Размер таблицы зависит от размера шрифта, выбранного
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
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
Индикатор 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
Mirai WDO B3 Professional, 100% automated MINI DOLLAR FUTURE (WDO) expert system for MetaTrader 5 platform. Brazilian Stock Exchange Market (B3). Scalping strategy (Micro Frequency).   Types of orders for entries and exits: “Limit” entry orders (preached in the order book). Gain “Limit” exit orders (Holded in the order book). Exit Orders Loss “Stop” (“Trigger for Closing”). Redundancy of orders as security. “OCO” orders (Order-Cancel-Order).     Available settings: Daily profit and loss manag
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
| Fully-automated Smart Money Concept (ICT) inspired trading solution with multi-strategy capabilities | Built by a grid trader >> for grid traders.  This is MT5 version, click  here  for  Blue CARA MT4  (settings and logics are same in both versions)     Real monitoring signal  -->  Cara Gold Intro Blue CARA EA   ('CARA') - short for  C omprehensive  A lgorithmic   R esponsive   A dvisor is a next-gen  multi-currency    multi-timeframe  EA base on the widely known (and perhaps the most popul
Exclusive FOREX account HEDGE FuzzyLogicTrendEA is based on fuzzy logic strategy based on  analysis 5 indicators and filters. When the EA analysis all this indicators, it decides, based on its fuzzy strategy, which trade will be better: sell or buy. As additional functions, it´s possible defines spread maximum, stop loss and others. Recomm. Symbol: EURUSD, AUDUSD, GBPUSD, NZDUSD, USDCAD, AUDCAD, EURCAD e USDJPY Recomm. timeframe: H1. Backtest were done on EURUSD, H1, 01/07/2023 - 26/0
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
(Графики криптовалюты) Он приносит историю столько, сколько вы указали столбцов, и начинает напрямую отображать мгновенные данные. Дает возможность работать на любых таймфреймах. Позволяет работать с несколькими символами. Это приложение является фоновой службой. Он загружает историю всех символов, начинающихся с буквы "S", на экране обзора рынка и показывает данные по тикам. Автоматически передает торговые данные Binance Spot в MT5 в реальном времени. Запустите скрипт
Magic EA MT5
Kyra Nickaline Watson-gordon
Magic EA is an Expert Advisor based on Scalping, Elliot Waves and with filters such as RSI, Stochastic and 3 other strategies managed and decided with the robot smartly. Large number of inputs and settings are tested and optimized and embedded in the program thus inputs are limited and very simple. Using EA doesn't need any professional information or Forex Trading Knowledge. EA can trade on all symbols and all time frames, using special and unique strategies developed by the author. The EA
Arbitragem B3
Edson Cavalca Junior
1 (1)
Арбитражный робот IND/WIN или DOL/WDO Этот арбитражный робот работает с активами WIN и WDO с бразильской фондовой биржи. Советник сравнивает лучшие бид и аск (BID и ASK) "полного" индекса (IND) и сравнивает его с мини-индексом (WIN) и, если между ними есть разрыв, разницу в тиках, предусмотренную в параметры робота, он открывает сделку. Он делает тот же анализ с DOL и WDO. Необходимо вставить робота в график WIN или WDO, и он автоматически получит информацию о BID и ASK ак
Guard Scalper EA is a Scalper Robot based on market trend analys. Guard Scalper EA will look for potential High Probability entries as trigger for entry into the market. Guard Scalper EA is good for use on pairs with low spreads such as EURUSD, GBPUSD, or USDJPY Recommendation : Please add and running  Guard Scalper   EA on low spread pairs such as EURUSD, GBPUSD, or USDJPY on M5 timeframes. You can running on that pairs simultanuously Attention : You can start to trade with $ 300 Minimum initi
Phoenix Rig EA MT5
Sof'ia Vlasova
2.75 (4)
Phoenix Rig EA: The Advanced Correlation Matrix Expert Advisor is a state-of-the-art trading tool that combines correlation matrices, Convolutional Neural Network (CNN), and Long Short-Term Memory (LSTM) to identify trading opportunities. Using cutting-edge machine learning algorithms, Phoenix Rig EA analyzes relationships between financial instruments, revealing hidden patterns and trends. By executing trades based on correlated and counter-trending assets, it maximizes risk-adjusted returns. T
NakaTrendBot
Ricardo De Andrade Nakano
Представляем вам NakaTrendBot - вашего идеального спутника по трендовой торговле! Вы устали упускать возможности, когда рынок меняется? Не ищите дальше, чем NakaTrendBot, ваш надежный союзник в навигации по динамичному миру трендовой торговли. NakaTrendBot - это не просто робот; это сложный алгоритмический монстр, разработанный для обнаружения изменений тренда и консолидаций с точностью. Используя передовые алгоритмы машинного обучения и продвинутый технический анализ, NakaTrendBot непрерыв
Trade   News EA is a semi automatic expert advisor designed for trade news event. News Calendar uses the built in calendar of MT5 terminal. Expert advisor explanation :   Click here   | Free News Reminder :   Click here   Parameters input: 1. Manage Open Positions + Trade Buy : Allow buy + Trade Sell : Allow sell 2. Show news + High importance : Show high importance news + High importance color : Color of high importance news + Medium importance : Show Medium importance news + Medium import
Agi FX V2
Iputu Agi Sumara Jaya
AGI FX V2 Trading activities often pose challenges, regardless of who you are. If you lack trading expertise and cannot control your emotions, you are likely to incur losses. Trading and investing can be daunting for you, but with an EA (Expert Advisor), you have the tools and guidance you need to make better, faster, and smarter decisions. Introducing AGI FX V2. AGI FX V2 is an automated trading tool that will replace you in conducting forex trading activities. AGI FX V2 utilizes a combination
Mine Farm
Maryna Kauzova
5 (1)
Mine Farm is one of the most classic and time-tested scalping strategies based on the breakdown of strong price levels. Mine Farm is the author's modification of the system for determining entry and exit points into the market... Mine Farm - is the combination of great potential with reliability and safety. Why Mine Farm?! - each order has a short dynamic Stop Loss - the advisor does not use any risky methods (averaging, martingale, grid, locking, etc.) - the advisor tries to ge
We Can Do IT MT5 is a Secure Automated Software for Generation of Daily Profits for Forex Market. The architecture is a Fully Automatic Autonomous Robot Expert capable of independently analyzing the market and making trading decisions. The Trading system is Multi-currency and is able to trade on H1 charts:  EURUSD, GBPUSD, USDJPY, SPX500, DAX30, GOLD NOT  Martingale! NOT GRID, Averaging and other dangerous strategies are NOT used!  This is a full compliance with the FIFO method !  The trading
Советник скальпер торгует в тиковом канале основанном на канале Дончиана. Уникальный алгоритм расчета канала учитывает тиковые движения рынка и подстраивается под канал, для получения максимальной прибыли.  Советник рассчитан на брокеров с минимальным спредом и комиссиями. Работает на многих кроссах. В роботе возможна торговля фиксированным лотом или лотом пропорциональным депозиту.  Так же предусмотрен виртуальный стоплосс который отрабатывает расширения спреда в Ролловер и на новостях.
[ What is: VWAP (Volume-Weighted Average Price ] //-----------------------------------------------------------------------\\ A. it is a trading indicator that calculates the average price at which a particular security (stock, commodity, etc.) has been traded throughout a given trading session,  weighted by the volume of each trade.  It provides insight into the average price level and helps traders understand whether they are buying or selling  at a better price compared to the overall mar
Индикатор строит текущие котировки, которые можно сравнить с историческими и на этом основании сделать прогноз ценового движения. Индикатор имеет текстовое поле для быстрой навигации к нужной дате. Параметры : Symbol - выбор символа, который будет отображать индикатор; SymbolPeriod - выбор периода, с которого индикатор будет брать данные; IndicatorColor - цвет индикатора; Inverse - true переворачивает котировки, false - исходный вид; Далее идут настройки текстового поля, в которое можн
Возьмите под контроль свой форекс-портфель. Мгновенно смотрите, где вы стоите, что работает и что причиняет вам боль! ВЕРСИЯ MT4 ДОСТУПНА ЗДЕСЬ: https://www.mql5.com/ru/market/product/58375 Информационная панель торгового менеджера предназначена для того, чтобы показать вам, где в настоящее время находится каждая ваша позиция на рынке форекс, а также упростить управление рисками и подверженность валютным рискам. Для трейдеров, которые постепенно выходят на рынок с несколькими позициями или ис
60% Discount General description; This EA is made to be used in the Gold market. It's made for trading Gold in mind. This Trading Robot is based on more than 14 years of winning patterns and will open trades by the minute, 24 hours a day. It will handle everything, from opening positions, closing them, managing risk. Features; - Timeframe-Less Expert Advisor that works by the second and recalculate everything with whichever situation that might exist. - Dynamic market watcher that adjust it
Powerful Price Action Engulfing Doji Robot MT5 version Package Contains: (Price includes both versions) SET files in Comment section. 1. Powerful Price Action EA Advanced Version with NomadTrader Money Management System: --Full EA with all adjustable settings and parameters to tweak or optimize. --It uses the NomadTrader Money Management system with Dynamic exit strategy based on Price %(percent) based Stop loss, Take Profit and Adjustable Time Filter to 1 minute preciseness, all parameters ar
=====  Live Results ==== >>>   Stock Trader Pro:  here >>  (IC Markets) =====  Presets ==== >>> Stock Trader Pro v.1.2 Presets:   Download >> Stock Trader Pro   is a fully automated trading advisor designed to work at   US Stock Market . The system is based on the author’s trading strategy. Unlike Forex systems,   Stock Trader Pro   opens only LONG positions by  the global direction of trend on price on price falls (dips), analyzing data from several timeframes at the same time. The trading s
The most friendly Copier interactive interface, the most abundant easy-to-use functions, and the best Copy solution.     EASY   : Easy to use, load and select the Master or SLAVE to use easily FAST:   Quickly copy orders, algorithmic optimal follow-up mechanism, priority calculation of new signals, priority queue processing received special signals Multiple:   1. Support multiple signals to be sent at the same time, multiple accounts can select multiple accounts to copy at the same time 2. Mul
FREE
С этим продуктом покупают
Эта библиотека позволит вам управлять сделками с использованием любого вашего советника, и ее очень легко интегрировать в любой советник, что вы можете сделать самостоятельно с помощью кода сценария, упомянутого в описании, а также демонстрационных примеров на видео - Размещайте лимитные ордера, SL-лимитные и тейк-профитные лимитные ордера. - Размещайте ордера Market, SL-Market, TP-Market - Изменить лимитный ордер - Отменить заказ - Запрос заказов - Изменение кредитного плеча
MetaCOT 2 CFTC ToolBox - это специальная библиотека, предоставляющая доступ к отчетам CFTC (U.S. Commodity Futures Trading Commission) прямо в терминале MetaTrader. Она включает все индикаторы, построенные на основе этих отчетов. Имея эту библиотеку Вам нет необходимости приобретать каждый индикатор MetaCOT в отдельности. Вместо этого, Вы получаете набор сразу из всех 34 индикаторов, в который входят также индикаторы недоступные в виде отдельной версии. Библиотека поддерживает все типы отчетов,
Библиотека WalkForwardOptimizer позволяет выполнить пошаговую и кластерную форвард-оптимизацию ( walk-forward optimization ) советника в МетаТрейдер 5. Для использования необходимо включить заголовочный файл WalkForwardOptimizer.mqh в код советника и добавить необходимые вызовы функций. Когда библиотека встроена в советник, можно запускать оптимизацию в соответствии с процедурой, описанной в Руководстве пользователя . По окончанию оптимизации промежуточные результаты сохраняются в CSV-файл и наб
Простая в использовании, быстрая, асинхронная библиотека WebSocket для MQL5. Он поддерживает: ws:// и wss:// (защищенный веб-сокет "TLS") текстовые и бинарные данные Он обрабатывает: фрагментированное сообщение автоматически (передача больших объемов данных) кадры пинг-понга автоматически (подтверждение активности) Преимущества: DLL не требуется. Установка OpenSSL не требуется. До 128 соединений WebSocket из одной программы Различные уровни журнала для отслеживания ошибок Возможна синхронизац
Данная библиотека предлагается как средство для использования 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  как показано на приложенных изображениях Для использования библиотеки необходимо включит
AO Core - ядро алгоритма оптимизации, это библиотека, построенная на авторском алгоритме HMA (hybrid metaheuristic algorithm). Пример применения AO Core описан в статье: https://www.mql5.com/ru/articles/14183 https://www.mql5.com/ru/blogs/post/756509 Данный гибридный алгоритм основан на генетическом алгоритме и содержит лучшие качества и свойства популяционных алгоритмов.  Скоростной расчет в HMA гарантирует непревзойденную точность и высокие поисковые способности, позволяет экономить совокупн
Эта библиотека предназначена для помощи в управлении сделками, расчета лота, трейлинга, частичного закрытия и других функций. Расчет лота 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, при прибыли=
Это упрощенная и эффективная версия библиотеки для 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 c
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,
The library is used to develop automatic trading on Binance Spot Market from MT5 platform. Support all order types: Limit, Market, Stop-Limit and Stop-Market. Support margin trading. Automatically display the chart on the screen. Usage: - Open MQL5 demo account - Move BinanceLib.ex5 from folder \MQL5\Scripts\Market to MQL5\Libraries - Download Header   file and EA sample https://www.mql5.com/en/code/download/34972_260999.zip Copy Binance.mqh header file to folder \MQL5\Include Copy  BinanceEA-
Gold plucking machine   Золотая выщипывание машины является советником разработан специально для торговли золотом. Операция основана на открытии ордеров с использованием индикатора быстрых и медленных линий, поэтому советник работает в соответствии со стратегией «Trend Follow», что означает следовать тренду. Заказать с помощью политики сетки без операции стоп - лосса, поэтому убедитесь, что счет достаточен. magic number      -  is a special number that the EA assigns to its orders. Lot Multipl
Gold plucking machine S   Gold plucking machine  S Gold plucking machine S   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
The library is used to develop automatic trading on Binance Futures Market from MT5 platform. Support all order types: Limit, Market, Stop-Limit, Stop-Market , StopLoss and TakeProfit. Automatically display the chart on the screen. Usage: - Open MQL5 demo account - Move BinanceFuturesLib.ex5 from folder \MQL5\Scripts\Market to MQL5\Libraries -  Download Header file and EA sample https://www.mql5.com/en/code/download/34976_252386.zip Copy BinanceFutures.mqh header file to folder \MQL5\Include C
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 );    //复杂开单
Binance Library MetaTrader 5 позволяет использовать его в советниках для торговли и индикаторах для бирж Binance.com и Binance.us напрямую из терминала. Библиотека поддерживает все классы активов на бирже: Spot, USD-M и COIN-M фьючерсы. Доступны все необходимые функции для торговой деятельности: Добавление инструментов с Binance в список символов MetaTrader 5 Получение информации о парах и спецификациях Получение Ask, Bid и времени последней сделки по всем парам Загрузка исторических данных для
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
This library implements a few functions to simplify the programming of Expert Advisors. * Build your own EA for MT5 / Binance, with a easy support for multisymbol / multytimeframe * Different SFE EAs based on the library provided. * Base signals of SFE EAs are inlcuded in base version. All the Pro filters and management are included in the base version all the 2022. * Customize the provided SFE Lib EA by changing or implementing its rules.. * Review the existing or ask for video tutorials to
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 installa
Это стандартная библиотека, созданная для гибких нейронных сетей с учетом производительности. Вызов этой библиотеки очень прост и занимает несколько строк кода:    matrix Matrix = matrix_utils.ReadCsv( "Nasdaq analysis.csv" );       matrix x_train, x_test;    vector y_train, y_test;         matrix_utils.TrainTestSplitMatrices(Matrix,x_train,y_train,x_test,y_test, 0.7 , 42 );    reg_nets = new CRegressorNets(x_train,y_train,AF_RELU_,HL, NORM_MIN_MAX_SCALER); //INitializing network       reg_net
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 cl
Применяя эти методы, мне удалось прийти к тонкому выводу, который имеет решающее значение для понимания важности уникальных стратегий в современной торговле. Хотя нейросетевой советник показал впечатляющую эффективность на начальных этапах, в долгосрочной перспективе он оказался крайне нестабильным. Различные факторы, такие как колебания рынка, изменения тенденций, внешние события и т. д., приводят к хаотичности его работы и в конечном итоге приводят к нестабильности. Получив этот опыт, я принял
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
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   a
This is an EXPERT with a FOCUS on LEARNING and PROFESSIONAL DEVELOPMENT!!! The idea of this product is to commercialize the source code, allowing those who want to develop their own robots, or start a professional activity developing customized experts, to have a reference source code that helps them in the learning and development process. This source code will be increased, that is, new functionalities will be created, thus allowing the project to continue evolving. For every 10 sales a new v
Эта библиотека позволит вам управлять сделками с использованием любого вашего советника, и ее очень легко интегрировать в любой советник, что вы можете сделать самостоятельно с помощью кода сценария, упомянутого в описании, а также демонстрационных примеров на видео - Размещайте лимитные ордера, SL-лимитные и тейк-профитные лимитные ордера. - Размещайте ордера Market, SL-Market, TP-Market - Изменить лимитный ордер - Отменить заказ - Запрос заказов - Изменение кредитного плеча
MetaCOT 2 CFTC ToolBox - это специальная библиотека, предоставляющая доступ к отчетам CFTC (U.S. Commodity Futures Trading Commission) прямо в терминале MetaTrader. Она включает все индикаторы, построенные на основе этих отчетов. Имея эту библиотеку Вам нет необходимости приобретать каждый индикатор MetaCOT в отдельности. Вместо этого, Вы получаете набор сразу из всех 34 индикаторов, в который входят также индикаторы недоступные в виде отдельной версии. Библиотека поддерживает все типы отчетов,
Библиотека WalkForwardOptimizer позволяет выполнить пошаговую и кластерную форвард-оптимизацию ( walk-forward optimization ) советника в МетаТрейдер 5. Для использования необходимо включить заголовочный файл WalkForwardOptimizer.mqh в код советника и добавить необходимые вызовы функций. Когда библиотека встроена в советник, можно запускать оптимизацию в соответствии с процедурой, описанной в Руководстве пользователя . По окончанию оптимизации промежуточные результаты сохраняются в CSV-файл и наб
Простая в использовании, быстрая, асинхронная библиотека WebSocket для MQL5. Он поддерживает: ws:// и wss:// (защищенный веб-сокет "TLS") текстовые и бинарные данные Он обрабатывает: фрагментированное сообщение автоматически (передача больших объемов данных) кадры пинг-понга автоматически (подтверждение активности) Преимущества: DLL не требуется. Установка OpenSSL не требуется. До 128 соединений WebSocket из одной программы Различные уровни журнала для отслеживания ошибок Возможна синхронизац
Фильтр:
Нет отзывов
Ответ на отзыв