DinexSpace Moving Averages Library

DinexSpace Moving Averages Library is a library for MetaTrader 5 (MT5) that calculates moving averages for your indicator or Expert Advisor, one value at a time. Eight kinds are included: SMA, EMA, WMA, SMMA, HMA, DEMA, TEMA and KAMA. You push each new value and read the latest average, without a pass over the whole history and without creating indicator handles.

How it works

  • Call DxMaCreate with the kind and the period. You get a handle.
  • Call DxMaPush for each new value (for example the close of each new bar).
  • Read the latest average with DxMaValue. Until there are enough values the function returns EMPTY_VALUE; DxMaWarmup tells you how many values each kind needs.
  • Or give a whole array to DxMaSeries and get the series back.

What you get

  • Eight kinds in one set of calls: SMA, EMA, WMA, SMMA (also called RMA), HMA, DEMA, TEMA and KAMA.
  • One value at a time: each new value updates the average in constant time.
  • Batch call: an array in, the whole series out, with EMPTY_VALUE before the warm-up count.
  • Checked: the example EA compares every output with a separate whole-array calculation and, for SMA, EMA, LWMA and SMMA, with the built-in iMA.
  • Stable numbers: values with a large offset keep their precision, and sums are recalculated exactly from time to time.
  • Status codes with plain-English texts: bad kind, bad period, bad value, no instance available.
  • Light: each program has its own instances. No DLLs, no web requests, no Sleep.

How to use it

  1. Copy DinexMovingAverages.ex5 to MQL5\Libraries.
  2. Add the import block with the functions you use (shown in the images and in the example EA).
  3. Create an average, push each new value, read the result.

Definitions (n = period)

  • SMA: mean of the last n values. WMA: weights 1 to n, the newest value has weight n.
  • EMA: alpha = 2 / (n + 1). The first output, after n values, is the simple mean of those n values; then e = e + alpha x (x − e). SMMA: the same with alpha = 1 / n. Because of the start, EMA and SMMA differ from iMA on the first bars and converge to it.
  • HMA: WMA over the square root of n (rounded down) of 2 x WMA(n / 2) − WMA(n); n / 2 is rounded down too.
  • DEMA: 2 x E1 − E2. TEMA: 3 x E1 − 3 x E2 + E3. Each EMA is taken over the one before.
  • KAMA: Kaufman adaptive average. Efficiency ratio over n values, fast and slow periods (default 2 and 30). The first output is the value that completes n + 1 values.

Example EA (included in the description images)
On every new bar the example pushes the close price into 16 averages and into 8 averages of a series with a large offset, and at the end compares every output with a separate calculation and with iMA. It prints the number of checks and the number of failed checks.

Notes

  • The library works on the numbers you give it. It reads no market data, gives no entries or exits and does not predict any move.
  • Up to 256 instances, period up to 10 000 (HMA and KAMA from 2).

Requirements

  • MetaTrader 5, any symbol and timeframe.
Prodotti consigliati
DinexSpace Linear Regression Library is a library for MetaTrader 5 (MT5) that fits a straight line to the last n values of a series, for your indicator or Expert Advisor. You push each new value and read the slope, the value of the line, R squared, the standard error and how far the newest value is from the line, without writing the running sums yourself. How it works Call DxLrCreate with the window (3 to 100000 values). You get a handle. Call DxLrPush for each new value (for example the close o
FREE
The indicator highlights the points that a professional trader sees in ordinary indicators. VisualVol visually displays different volatility indicators on a single scale and a common align. Highlights the excess of volume indicators in color. At the same time, Tick and Real Volume, Actual range, ATR, candle size and return (open-close difference) can be displayed. Thanks to VisualVol, you will see the market periods and the right time for different trading operations. This version is intended f
FREE
IMPORTANT NOTE: This is a professional Trade Management Utility and on-chart assistant. It is NOT an automated trading robot. It does not open trades on its own. The UltraFast Trade Manager MT5 is the ultimate execution and risk-management suite designed to give you absolute control over your manual and algorithmic trades. When managing multiple positions, calculating complex net break-even points, or constantly monitoring the economic calendar, hesitation can lead to costly mistakes. This utili
FREE
Donchian Breakout And Rsi
Mattia Impicciatore
4.33 (3)
Descrizione generale Questo indicatore è una versione avanzata del classico Donchian Channel , arricchita con funzioni operative per il trading reale. Oltre alle tre linee tipiche (massimo, minimo e linea centrale), il sistema rileva i breakout e li segnala graficamente con frecce sul grafico, mostrando solo la linea opposta alla direzione del trend per semplificare la lettura. L’indicatore include: Segnali visivi : frecce colorate al breakout Notifiche automatiche : popup, push e email Filtro R
FREE
This library returns the largest lot whose loss at your stop does not exceed the money you allow it to risk, correct for any volume step, tick size and tick value the symbol reports. I wrote it for the MQL5 developer who has pasted a lot-normalising block into every EA and can no longer say which copy is right. One import, one version, and a call that refuses rather than oversizing. WHAT IT DOES It refuses instead of oversizing: when the smallest lot the symbol accepts would risk more than your
FREE
Follow The Line MT5
Oliver Gideon Amofa Appiah
4.6 (35)
This indicator obeys the popular maxim that: "THE TREND IS YOUR FRIEND" It paints a GREEN line for BUY and also paints a RED line for SELL. (you can change the colors). It gives alarms and alerts of all kinds. IT DOES NOT REPAINT and can be used for all currency pairs and timeframes. Yes, as easy and simple as that. Even a newbie can use it to make great and reliable trades. NB: For best results, get my other premium indicators for more powerful and reliable signals. Get them here: https://www.m
FREE
Sparta Scout
Soufian Cherkaoui El Asri
5 (2)
️ SPARTA SCOUT ️ — Gold Expert Advisor MT5 ️ A true warrior does not win every battle. He knows when to fight, when to wait, and when to protect what he has conquered. ️ THE GOLD WARRIOR In ancient Sparta, victory depended not only on strength, but also on patience, strategy, and discipline. From this philosophy comes SPARTA SCOUT , a warrior designed to face one of the most challenging markets: gold (XAUUSD) . Introducing SPARTA SCOUT, a lightweight edition of SPARTA GUARD , sharing part
FREE
Girassol Sunflower MT5 Indicator
Saullo De Oliveira Pacheco
3.86 (7)
This is the famous Sunflower indicator for Metatrader5. This indicator marks possible tops and bottoms on price charts. The indicator identifies tops and bottoms in the asset's price history, keep in mind that the current sunflower of the last candle repaints, as it is not possible to identify a top until the market reverses and it is also not possible to identify a bottom without the market stop falling and start rising. If you are looking for a professional programmer for Metatrader5, please
FREE
VFI Quantum
Nikita Berdnikov
5 (1)
Introducing VFI (Volume Flow Indicator) – a trading indicator that analyzes the relationship between volume and price movement to identify key trading opportunities. The indicator displays the strength and direction of volume flow, providing clear signals about potential entry and exit points. Signals are formed based on zero line crossovers, crossovers between the VFI line and its exponential moving average (EMA), and when the indicator exits overbought and oversold zones. Attention! This stra
FREE
Elevate Your Trading with Advanced Anchored Volume Weighted Average Price Technology Unlock the true power of price action with our premium Anchored VWAP Indicator for MetaTrader 5 - the essential tool for precision entries, strategic exits, and high-probability trend continuation setups. Write me a DM for a 7 day free trial.  Anchored VWAP Plus gives traders unprecedented control by allowing custom anchor points for Volume Weighted Average Price calculations on any chart. With support for 4 sim
FREE
MSX Hybrid Heiken Scalper
Som Prakash Gehlot
5 (1)
MSX Hybrid Heiken Scalper Overview MSX Hybrid Heiken Scalper is a MetaTrader 5 indicator based on a modified Heiken Ashi methodology with closed-bar smoothing. The indicator is designed to display trend direction through color-coded candles while reducing sensitivity to short-term market fluctuations. All calculations are performed using completed candles, allowing historical values to remain fixed after bar close. Features • Modified Heiken Ashi calculation • Closed-bar processing • Color-code
FREE
Easy GOLD MT5
Franck Martin
3.87 (45)
Easy Gold is the latest addition to the BotGPT family. It is surprising and very powerful. It is ideal for beginners due to its simplicity.  There is absolutely nothing to do, it's 100% automated, simply indicate the percentage of risk you want to take per trade and the EA is ready. Whatever your capital, the EA takes care of everything. Optimized on (XAUUSD).  Unleash all the power with the professional version (AGI Gold) and its connection to the neural network, available in my store. My othe
FREE
Friend of the Trend: Your Trend Tracker Master the market with Friend of the Trend , the indicator that simplifies trend analysis and helps you identify the best moments to buy, sell, or wait. With an intuitive and visually striking design, Friend of the Trend analyzes price movements and delivers signals through a colorful histogram: Green Bars : Signal an uptrend, indicating buying opportunities. Red Bars : Alert to a downtrend, suggesting potential selling points. Orange Bars : Represent cons
FREE
Fimathe PCM Indicador
Cristiano Rodrigo Olegini
5 (4)
Velas Forex FIMATHE PCM Indicator (GRATUITO) Il Velas Forex FIMATHE PCM Indicator è un indicatore gratuito progettato per aiutare i trader ad analizzare il mercato in modo semplice, rapido ed efficace. Il suo obiettivo è facilitare l'identificazione delle condizioni di mercato attraverso segnali visivi chiari, consentendo ai trader di prendere decisioni operative con maggiore sicurezza. Miglior risultato per XAUUSD: Timeframe: 5M Ora del server MT5: 02:00 Gestione del rischio: 1 Take Profit: in
FREE
Renko subwindow
Alexandre Vincent Traber
Overview Renko SubWindow traccia un grafico Renko con candele colorate in una finestra indicatore separata, senza influire sul grafico principale. La dimensione del mattone può essere fissa in punti o calcolata dinamicamente tramite ATR per mattoni adattivi basati sulla volatilità. How it works Ricostruisce i mattoni Renko dai prezzi di chiusura del simbolo/timeframe corrente. Un nuovo mattone si forma quando il prezzo supera la dimensione definita dalla chiusura del mattone precedente. I matton
FREE
TradeCrag Connector importa lo storico delle operazioni da MetaTrader 5 nel tuo diario di trading su TradeCrag. Dopo il collegamento, le operazioni vengono sincronizzate all’avvio di MT5 e poi ogni ora, finché il terminale è aperto e il connettore è attivo su un grafico. Per avviare la sincronizzazione manualmente, fai clic su Sync Now . Il pannello di MT5 mostra lo stato della connessione, le ultime esecuzioni, lo stato delle posizioni e i risultati della giornata. Seleziona una posizione per r
FREE
GDS Renko Pip ST Chart - Pip-Based Renko Chart Indicator for MetaTrader 5 GDS Renko Pip ST Chart is a pip-based Renko chart indicator for MetaTrader 5. It helps traders build and study cleaner Renko price movement using a practical fixed pip or point-based brick structure. This tool is designed as a Renko chart foundation for manual analysis. It does not predict the market, does not generate buy or sell signals and does not decide whether a trade should be opened. Renko EDGE EA Golden Delta | A
FREE
PZ Goldfinch Scalper EA MT5
PZ TRADING SLU
3.33 (57)
This is the latest iteration of my famous scalper, Goldfinch EA, published for the first time almost a decade ago. It scalps the market on sudden volatility expansions that take place in short periods of time: it assumes and tries to capitalize of inertia in price movement after a sudden price acceleration. This new version has been simplified to allow the trader use the optimization feature of the tester easily to find the best trading parameters. [ Installation Guide | Update Guide | Troublesh
FREE
NNFX D1 Aroon Kijun ATR EA is an automated strategy template for MetaTrader 5 that implements a rule-based daily timeframe workflow with ATR-based risk management, structured entries, and disciplined exits. The Expert Advisor is intended for end-of-day operation and processes signals only on the close of each new daily candle. The EA uses a baseline (Kijun), a confirmation signal (Aroon), and a volume/momentum filter (Jurik RSX) to determine trade direction and qualify entries. It opens two posi
FREE
PositionMap Pro — Account Overview Panel for MT5 A real-time panel that groups all open positions by symbol and shows Buy lots, Sell lots and net profit/loss directly on your chart — the whole account at a glance. Instead of counting lots symbol by symbol in the Terminal tab, PositionMap Pro groups everything automatically. You instantly see how much exposure you have on each symbol, split by direction. Panel example Symbol Buy Lot Sell Lot Net P/L EURUSD 0.50 — +12.30 XAUUSD — 1.00 −45.00 GBPUS
FREE
DinexSpace Trade Events Library is a library for MetaTrader 5 (MT5) that turns what happens on the trading account into a list of plain events, for your indicator or Expert Advisor. A position was opened, reduced, closed or had its stop-loss or take-profit changed. A pending order was placed, filled, canceled or expired. You poll the library and read the new events one by one, in the order they happened. How it works Call DxTeCreate with a symbol and a magic number (or empty and -1 for everythin
FREE
Indicator Description Range Filter Pro is a sophisticated trading tool for XAUUSD (Gold) that combines adaptive price filtering with volume analysis and real-time market monitoring. Designed for both novice and professional traders, this indicator helps identify trend direction, potential reversals, and significant market movements through its multi-layered approach. Key Components 1.Dynamic Range Filter 2.Volatility-Adjusted Bands 3.Volume-Enhanced Candles 4.Professional Trading Dashboard 5.M
FREE
Stamina HUD
Michele Todesco
STAMINA HUD – Advanced Market & Trend Dashboard (MT5) STAMINA HUD   is a professional   market information panel   designed for traders who want   clarity, speed, and control   directly on the chart. It provides a   clean heads-up display (HUD)   with essential market data and   multi-timeframe trend direction , without cluttering the chart or generating trading signals. What STAMINA HUD Shows   Current Price   Spread (in real pips)   Today High–Low range (pips)   Average D
FREE
News Expert MT5
Maksim Neimerik
Introduction Welcome to the world of Forex trading, where every tick of the market can be influenced by news events. Introducing our expert advisor for MetaTrader, your ultimate tool for navigating the complexities of news trading. This innovative advisor is specifically designed to automate your trading strategy during key macroeconomic releases, ensuring you never miss an opportunity.  When important indicators are announced, volatility often spikes, creating potential for profit. Our expert
FREE
Value Chart Candlesticks
Flavio Javier Jarabeck
4.57 (14)
The idea of a Value Chart indicator was presented in the very good book I read back in 2020 , " Dynamic Trading Indicators: Winning with Value Charts and Price Action Profile ", from the authors Mark Helweg and David Stendahl. The idea is simple and the result is pure genius: Present candlestick Price analysis in a detrended way! HOW TO READ THIS INDICATOR Look for Overbought and Oversold levels. Of course, you will need to test the settings a lot to find the "correct" one for your approach. It
FREE
The Impossible Coin
MORTAH Technology Limited
1 (1)
The Impossible Coin v1.53 BTCUSD session breakout + momentum continuation EA for the M5 timeframe. The EA identifies consolidation ranges during configurable session hours and waits for a confirmed breakout. Four independent scoring components (ADX, EMA, ATR, RSI) must all agree above a configurable threshold before any trade opens. A second momentum continuation strategy catches pullback entries in established trends. Every trade opens with a defined TP and SL. No martingale, no grid, and no av
FREE
Free automatic Fibonacci is an indicator that automatically plots a Fibonacci retracement based on the number of bars you select on the BarsToScan setting in the indicator. The Fibonacci is automatically updated in real time as new highest and lowest values appears amongst the selected bars. You can select which level values to be displayed in the indicator settings. You can also select the color of the levels thus enabling the trader to be able to attach the indicator several times with differe
FREE
Zone di ritracciamento di Fibonacci dell'ultimo swing FibRetrace Zones è il complemento visivo gratuito dell'Expert Advisor FibRetrace. Disegna i livelli di ritracciamento di Fibonacci ed evidenzia la zona di pullback dell'ultimo swing, così vedete dove si allineano gli ingressi prima di operare. La zona è colorata in base alla direzione: verde per i setup rialzisti, rosso per quelli ribassisti. Funziona su qualsiasi simbolo e qualsiasi timeframe. CARATTERISTICHE PRINCIPALI Rilevamento automatic
FREE
Deviation Trend Profile Overview Deviation Trend Profile is a MetaTrader 5 chart indicator that combines three visual layers in a single chart window: a moving average with momentum-based coloring, deviation bands calculated from volatility, and a horizontal distribution profile drawn to the right of the current price. The indicator is an analytical tool. It does not open, modify or close trades, and it is not a complete trading system. It is designed to help the user observe trend direction, mo
FREE
LT Donchian Channel
Thiago Duarte
4.86 (7)
Donchian Channel is an indicator created by Richard Donchian. It is formed by taking the highest high and the lowest low of the last specified period in candles. The area between high and low is the channel for the chosen period. Its configuration is simple. It is possible to have the average between the upper and lower lines, plus you have alerts when price hits one side. If you have any questions or find any bugs, please contact me. Enjoy!
FREE
Gli utenti di questo prodotto hanno anche acquistato
XAUUSD BREAKOUT EA — Stop Predicting the Market. Trade the Breakout. You do not need to sit in front of the chart all day waiting for gold to break support or resistance. This XAUUSD Breakout EA is designed to identify market consolidation, detect meaningful price expansion, and automatically execute trades when predefined breakout conditions are met. BACKTEST RESULTS — 99% QUALITY Initial Deposit: $1,000 Total Net Profit: +$21,115 Profit Factor: 2.37 Expected Payoff: $213 per trade Total Tr
ModernUI Library
Levi Dane Benjamin
Libreria ModernUI per MetaTrader 5 ModernUI è una libreria di interfaccia utente ospitata sul grafico per MetaTrader 5. Aiuta gli sviluppatori MQL5 a creare pannelli EA più puliti, dashboard, finestre di impostazioni, form, tabelle, finestre di dialogo, drawer e interfacce compatte in stile trading direttamente nell’ambiente grafico di MT5. È progettata per gli sviluppatori che vogliono un livello di interfaccia più professionale rispetto a oggetti grafici sparsi, mantenendo comunque il pieno co
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
MT5 to Delta Exchange API Bridge EA Connector allows your expert advisor with mq5 file to integrate and communicate with Delta Exchange using API Keys You can place order, check balance and other order managements using Delta Exchange API - Place Limit, SL Limit and Take Profit Limit Orders - Place Market, SL-Market, TP-Market orders - Cancel Order - Query Orders - Change Leverage, margin - Get Position info and many more, details available at demo script Script Documentation 
EX5 Signal Copier
Rajesh Kumar Nait
Libreria EX5 Signal Copier — Motore professionale per eventi di trading per MetaTrader Trasforma qualsiasi Expert Advisor in un potente copiatore di trading, processore di segnali o motore di automazione, senza dover scrivere complesse logiche di tracciamento delle operazioni. La libreria EX5 Signal Copier è un sistema ad alte prestazioni basato su eventi che cattura ogni attività di trading in MetaTrader 5 e la converte in segnali strutturati che puoi utilizzare per creare: Copiatori di trad
The library is dedicated to help manage your trades, calculate lot, trailing, partial close and other functions. Lot Calculation Mode 0: Fixed Lot. Mode 1: Martingale Lot (1,3,5,8,13) you can use it in different way calculate when loss=1 ,when profit=0. Mode 2: Multiplier Lot (1,2,4,8,16) you can use it in different way calculate when loss=1 ,when profit=0. Mode 3: Plus Lot (1,2,3,4,5) you can use it in different way calculate when loss=1 ,when profit=0. Mode 4: SL/Risk Lot calculate based on s
Friends, join us! Ask questions and connect with like-minded traders: MetaCOT Public Group MetaCOT Information Channel: news, CFTC reports, and signals: MetaCOT Channel Here’s to successful trading and new profitable signals for us all! Attention! Recently, certain countries have been blocking access to the cftc.gov website. As a result, users in these countries are giving the product low ratings. MetaCOT has always adhered to the highest quality standards and is in no way associated with th
WalkForwardOptimizer MT5
Stanislav Korotky
3.63 (8)
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.
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
OrderBook History Library
Stanislav Korotky
3 (2)
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
BitMEX Trading API
Romeu Bertho
5 (1)
Cryptocurrency analysis has never been easier with Crypto Charts for MetaTrader 5. Now, trading on BitMEX has never been easier with BitMEX Trading API for MetaTrader 5. BitMEX Trading API library was built to be as easy to use as possible. Just include the library into your Expert Advisor or Script, call the corresponding methods and start trading! Features Trade on BitMEX and BitMEX Testnet. Build and automate your strategies. Concern more with the trading strategy logic and less with the co
Teclado trader, é uma BIBLIOTECA que você pode chamar no OnChartEvent para abrir posição de compra/venda/zerar, os botões padrões são: V = venda C = compra Z = zerar posições a mercado S = zerar posições opostas e depois a mercado X = zerar posições opostas Além da função de teclado, é possível mostrar os estados do ExpertAdvisor usando o MagicId, com informação de: lucro mensal, semanal, diario, e posição aberta, para isto use o OnTick, ou qualquer outro evento (OnTimer / OnTrade / OnBookEven
Goliath Mt5
Nicolokondwani Biscaldi
Goliath MT5 - scalper fully automated Expert Advisor for medium-volatile forex markets P roperties: The Library trades 10 currency pairs (USDCHF, EURCHF, EURGBP, AUDUSD, USDCAD, GBPUSD, EURUSD, NZDUSD, CADCHF, EURAUD, EURCAD, AUDJPY) The Library does not use martingale The Library sets a fixed stop loss and take profit for all orders The Library only trades a user input volume The Library can be installed on any currency pair and any timeframe Recommendations: Before using on a real account, t
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 );    //复杂开单
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
1. What is this The MT5 system comes with very few optimization results. Sometimes we need to study more results. This library allows you to output more results during backtest optimization. It also supports printing more strategy results in a single backtest. 2. Product Features The results of the optimized output are quite numerous. CustomMax can be customized. The output is in the Common folder. It is automatically named according to the name of the EA, and the name of the same EA will be au
T5L Library is necessary to use the EAs from TSU Investimentos, IAtrader and others. It contains all the functions framework needed to Expert Advisors working properly.  ツ - The Expert Advisors from  TSU Investimentos does not work without this library,  the T5L library can have updates during the year - At this Library you will find several funcionalities like order sends, buy and sell, trigger entry points check, candlestick analyses, supply and demmand marking and lines, and much more. 
AO Core
Andrey Dik
3.67 (3)
AO Core is the core of the optimization algorithm, it is a library built on the author's HMA (hybrid metaheuristic algorithm) algorithm. Pay attention to the MT5 Optimization Booster product , which makes it very easy to manage the regular MT5 optimizer . An example of using AO Core is described in the article: https://www.mql5.com/ru/articles/14183 https://www.mql5.com/en/blogs/post/756510 This hybrid algorithm is based on a genetic algorithm and contains the best qualities and properties of p
EA Toolkit
Esteban Thevenon
EA Toolkit   is a library that allows any developer to quickly and easily program Advisor experts. It includes many functions and enumerations such as trailing stop, lot, stop loss management, market trading authorisations, price table updates, trading conditions and many more. Installation + Documentation : You will find all the information to install this library and the documentation of its functions on this GitHub : https://github.com/Venon282/Expert-Advisor-Toolkit WARNING : The installat
GetFFEvents MT5 I tester capability
Hans Alexander Nolawon Djurberg
Want to get all events like Previous/Forecast/Actual values for each news to analyze/predict it? By this simple library you can do it easily,Just import/integrate the library into your system,then get all possible values for each news   Even In Strategy Tester   . Note: Please add the address " https://www.forexfactory.com/ " of news feed at your MT5 tab > Tools > Options > Expert Advisors > Check Allow web request for listed URL. Since the WebRequest() function can't be called from indicator ba
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 
Questa libreria ti consentirà di gestire le operazioni utilizzando qualsiasi tuo EA ed è molto facile da integrare su qualsiasi EA, cosa che puoi fare tu stesso con il codice script menzionato nella descrizione e anche esempi demo su video che mostrano il processo completo. - Ordini con limite di posizionamento, limite SL e limite di take profit - Ordini di mercato, mercato SL, mercato TP - Modifica ordine limite - Annulla Ordine - Interroga gli ordini - Cambia leva, margine - Ottieni inf
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
OpenAI Library MT5
VitalDefender Inc.
La seguente libreria si propone come un mezzo per poter utilizzare le API di OpenAI direttamente sulla metatrader, nella maniera più semplice possibile. Per maggiori approfondimenti sulle potenzialità della libreria, leggere il seguente articolo: https://www.mql5.com/it/blogs/post/756106 I file necessari per usare la libreria li trovate qui: Manuale IMPORTANTE: Per utilizzare l'EA è necessario aggiungere il seguente URL per consentire l'accesso all'API OpenAI c ome mostrato nelle immagini allega
Altri dall’autore
DinexSpace Order Block Zones is an order block indicator for MetaTrader 5 (MT5) that draws each zone from a written rule: the last opposite candle before a bar closes beyond a confirmed swing, with a minimum move measured in ATR, kept on the chart until a bar closes through it. The rule A swing high or low needs N bars on each side, so it is confirmed N bars later and does not change afterwards. A break is a bar that closes beyond the last unbroken swing. A wick beyond the level is not a break,
FREE
Heikin Ashi Smoothed draws a cleaner version of Heikin Ashi candles. Regular Heikin Ashi already averages prices to reduce noise; this version smooths twice, before and after the Heikin Ashi step, so small swings disappear and longer moves stand out. How it works The bar's open, high, low and close are smoothed with an exponential moving average (length 10 by default). Heikin Ashi candles are built from those smoothed prices: close = average of the four prices, open = midpoint of the previous ca
FREE
DinexSpace Relative Volume is a relative volume (RVOL) indicator for MetaTrader 5 (MT5) that compares the volume of each bar with the bars that opened at the same time of day on the previous days, so you can see whether a bar is unusually busy or quiet for that hour. What you get RVOL by time of day: the volume of a bar divided by the average volume of the bars that opened at the same time on the previous N trading days. A London-open bar is compared with earlier London-open bars, not with the q
FREE
DinexSpace RSI Divergence is an RSI divergence indicator for MetaTrader 5 (MT5) that marks regular and hidden divergence between confirmed price swings and the RSI, with the confirmation rule written out so you know exactly when and why a mark appears. What you get Regular divergence: price makes a higher high while RSI makes a lower high (bearish), or price makes a lower low while RSI makes a higher low (bullish). Hidden divergence: price makes a lower high while RSI makes a higher high (bearis
FREE
DinexSpace Market Structure is a market structure indicator for MetaTrader 5 (MT5) that labels confirmed swings as HH, HL, LH and LL and marks a break of structure (BOS) or a change of character (CHoCH) when a bar closes beyond a swing level, with the rules written out. What you get Swing labels: a swing high is labelled HH when it is higher than the previous swing high, LH when it is lower; a swing low HL or LL the same way. Confirmed swings only: a swing needs N bars on each side, so it is kno
FREE
DinexSpace Liquidity Sweep is a liquidity sweep indicator for MetaTrader 5 (MT5) that marks bars whose wick runs beyond a confirmed swing high or low and then closes back inside, and keeps that apart from a real break, where the bar closes beyond the level. What you get Sweep by a clear rule: the wick goes beyond the swing level by at least a share of the 14-bar average true range you set, and the bar closes back inside the level. Break, not sweep: a bar that closes beyond the level is a break.
FREE
Daily High/Low & Previous Day Levels draws the reference levels intraday traders check every morning: the previous day's high, low and close, today's open, today's running high and low, and the previous week's high and low. How it works Values come straight from the symbol's own D1 and W1 bars, so the day follows your broker's server day. Each day gets its own line segment, from the day's first bar to its last. Past days stay readable and old lines stay in place. You choose how many days to keep
FREE
DinexSpace Choppiness Regime is a Choppiness Index (CHOP) indicator for MetaTrader 5 (MT5) that shows whether the market is moving in one direction or back and forth, with a panel for several timeframes from closed bars. The formula CHOP = 100 × log10(sum of the true range over N bars ÷ (highest high − lowest low over N bars)) ÷ log10(N). When price travels far compared with all the back-and-forth movement, CHOP is low (trending). When it moves a lot but goes nowhere, CHOP is high (ranging). Wha
FREE
DinexSpace Price Imbalance Zones is a three-bar price imbalance (fair value gap) indicator for MetaTrader 5 (MT5) that draws each zone with a numeric definition, follows it until price closes back through it, and shows how often zones were filled within N bars. What you get Bullish zone: the low of bar 3 is above the high of bar 1. Bearish zone: the high of bar 3 is below the low of bar 1. The zone is the gap between them, around bar 2. Size filter: zones smaller than a share of the 14-bar avera
FREE
ATR Stop Levels draws price levels a chosen number of ATRs below and above the current price. It shows at a glance where a volatility-based stop would sit for a long or a short position, without measuring by hand. How it works ATR (Average True Range) measures the typical bar range. You can smooth it with RMA (Wilder's original method), SMA or EMA. Up to three multipliers (1.5, 2 and 3 by default). Each draws a dashed level below price and one above, with a label showing the price and the distan
FREE
Average Daily Range (ADR) Panel shows how far a symbol usually travels in a day and how much of that typical range today has already covered. It is a quick way to judge whether today is quiet, normal or unusually active. How it works The daily range is the D1 bar's high minus its low. ADR is the average of that range over the last 5, 10 and 20 completed days; today's unfinished day is not included. Today's range is the current D1 bar's high minus its low so far. "Used of ADR" is today's range di
FREE
Fibonacci Auto Levels draws Fibonacci retracement levels automatically, so you do not have to drag the Fibonacci tool by hand every time the chart moves. How it works The indicator looks at the last N bars (100 by default) and finds the highest high and the lowest low. The direction follows which extreme came last. - Low after the high: the last swing was down. Level 0 sits at the low and level 1 at the high, so the levels show how far price has bounced back up. - High after the low: the last sw
FREE
DinexSpace Volatility Squeeze is a Bollinger Bands and Keltner Channel squeeze indicator for MetaTrader 5 (MT5) that shows when volatility is compressed, when the squeeze is released, and the direction of momentum, with a panel for several timeframes on the same chart. What you get Squeeze dots on the zero line: red while the Bollinger Bands are inside the Keltner Channel (squeeze on), green when they are outside (released). Momentum histogram: the linear-regression value of the close minus the
FREE
DinexSpace Candlestick Pattern Scanner is a candlestick pattern indicator and multi-symbol scanner for MetaTrader 5 (MT5) that marks common patterns (engulfing, hammer, doji, morning star and more) on closed bars and, optionally, scans several symbols and timeframes for the latest pattern. Every rule is written out, so you know exactly what is detected. What you get Ten patterns: doji, hammer, shooting star, bullish and bearish engulfing, inside bar, outside bar, morning and evening star, three
FREE
ATR Trailing Stop Line draws where a volatility-based trailing stop would sit. For a long position the line stays a fixed number of ATRs below the highest point reached. For a short position it stays above the lowest point. The line only moves in the position's favour. How it works ATR (Average True Range, Wilder's smoothing) measures the typical bar range. The line sits a chosen multiple of it (3 by default) away from price. On each bar the line is pulled up (long side) or down (short side) whe
FREE
Opening Range Levels marks the high, low and middle of the opening range, the first minutes of a session you choose, and carries those levels through the rest of the day. How it works You set the window and its time zone: New York (default 09:30-10:00), London, Tokyo or your broker's server time. US and UK daylight saving are applied automatically. Your broker's server offset is detected from the terminal; most brokers shift their clock with US daylight saving, which is the default, and a fixed
FREE
DinexSpace Turtle Channel is a Donchian 20/55 breakout channel indicator for MetaTrader 5 (MT5) that draws the 20- and 55-bar channels with their exit channels and shows the volatility unit N, so you can see the breakout levels and the size of normal price movement at a glance. What you get Two entry channels: the highest high and lowest low of the last 20 and 55 bars (lengths adjustable). Exit channels: 10 and 20 bars by default, drawn dashed. Breakout arrows: placed when a bar closes beyond th
FREE
ATR Volatility Percentile answers a simple question: is the market quiet or busy compared with its own recent past? Raw ATR values are hard to compare across symbols and periods. A percentile puts them on one 0-100 scale. How it works ATR (Average True Range, Wilder's smoothing, length 14 by default) measures the typical bar range. The indicator compares the current ATR with the previous N values (250 bars by default). The percentile is the share of those values that were lower than or equal to
FREE
Economic Calendar Marker shows when economic news is released, directly on your chart. Each event time gets a vertical line coloured by importance, so you can see at a glance which candles were moved by news and what is coming next. How it works Events come from the economic calendar built into MetaTrader 5 (the Calendar tab of the terminal). The indicator uses the standard Calendar functions. By default it shows the currencies of the chart symbol (for example EUR and USD on EURUSD, or USD for g
FREE
DinexSpace Weekend Gap Levels is a weekend gap indicator for MetaTrader 5 (MT5) that draws the gap between the last close before the weekend and the next open, keeps it on the chart until price fills it, and counts how past gaps on the same chart were filled. How a gap is found A gap starts at the first bar after a pause of 36 hours or more, found from the bars themselves. Weekends and long holidays are both found, whatever your broker's server time. The fill level is the last close before the p
FREE
Inside/Outside Bar Highlighter colours two common candle patterns so they are easy to spot on any chart: Inside bar: the bar's high is below the previous high and its low is above the previous low. The range has contracted inside the previous bar. Outside bar: the bar's high is above the previous high and its low is below the previous low. The range has expanded beyond the previous bar on both sides. How it works The indicator draws a coloured candle on top of each matching bar. Inside bars are
FREE
DinexSpace Ichimoku MTF Dashboard is a multi-symbol, multi-timeframe (MTF) Ichimoku cloud dashboard for MetaTrader 5 (MT5) that shows the Ichimoku state of up to 12 symbols on up to 6 timeframes in one table, using closed bars only. What you get Price vs cloud: above, inside or below the cloud. Tenkan/Kijun: which line is above. Chikou: the close compared with the close 26 bars earlier. Future cloud: rising or falling cloud ahead. Overall: Bullish when all four agree up, Bearish when all four ag
FREE
Account Info Panel puts the numbers you check most often into one small panel on the chart, so you do not have to switch to the Trade tab. What it shows Balance and equity. Floating P/L of open positions. Closed today: profit, swap, commission and fees of deals closed since the start of the server day. Deposits and withdrawals are excluded. Margin used and margin available. Margin level, highlighted when it falls below 200%. Today's drawdown: how far equity is below its level at the start of the
FREE
News Countdown Panel keeps the next important economic release in view. A small panel shows how long is left until the next event of the chart's currencies, so a news spike does not catch you by surprise. How it works Events come from the economic calendar built into MetaTrader 5, through the standard Calendar functions. By default it uses the currencies of the chart symbol (for example EUR and USD on EURUSD, or USD on gold). You can type your own list, such as "USD,GBP". You choose the importan
FREE
Currency Strength Meter ranks the eight major currencies (USD, EUR, GBP, JPY, CHF, CAD, AUD, NZD) from strongest to weakest over a recent period. It uses all 28 pairs they form, so it shows whether a move belongs to one currency or to the other side of the pair. How it works For each pair the indicator takes the percent change between the last closed bar and the bar N bars before it on the chosen timeframe (24 H1 bars by default). A currency gains that change when it is the base of a pair and lo
FREE
Correlation Matrix shows how closely up to six symbols have moved together. It helps to avoid holding several positions that are really the same bet, and to see when a usual relationship between markets breaks down. How it works The reference bars are the last N closed bars (60 by default) of the chosen timeframe (D1 by default) on the chart symbol. For each symbol the indicator finds the bar at the same time with iBarShift and takes its return, so symbols with different trading hours are compar
FREE
Market Sessions Clock is a small panel that shows, at a glance, which markets are open right now and when the next one opens or closes. How it works Four sessions: Sydney, Tokyo, London and New York. Each has its own on/off switch and hours. Hours are entered in each market's local time (for example 08:00–17:00 London), and daylight saving is applied automatically for Sydney, London and New York. For every session the panel shows Open or Closed, the time left until it closes or until it next ope
FREE
Drawdown Monitor keeps an eye on your account and tells you how deep the current drawdown is. Its alerts fire before a bad day turns into a worse one. How it works DD from peak: how far equity is below its highest value. The peak is stored in a terminal global variable per account, so it survives restarts. It can be reset with an input. Floating DD: how far equity is below balance, which is the loss on open positions. Today DD: how far equity is below the equity at the start of the server day. E
FREE
Multi-Timeframe Trend Panel shows, in one small panel, what a moving average is doing on four timeframes at once (M15, H1, H4 and D1 by default). You can see whether the timeframes agree without switching charts. How it works For each timeframe the indicator reads the moving average (EMA 50 by default) on the last closed bar and on the bar a few bars before it (5 by default). The change between the two is compared with ATR(14) of the same timeframe: - rising when the average went up by more than
FREE
Lot Size Script answers one question before a trade: how many lots can I open so that hitting my stop loss costs exactly the risk I chose? Drop it on a chart, fill in two numbers and read the answer. How it works Risk is a percent of balance, a percent of equity, or a fixed amount in the account currency. The stop loss is a distance in points or a stop-loss price. A price on the wrong side of the entry is rejected with a clear message. The entry is the current ask (buy) or bid (sell) of the char
FREE
Filtro:
Nessuna recensione
Rispondi alla recensione