DinexSpace Histogram and Binning Library

DinexSpace Histogram and Binning Library is a library for MetaTrader 5 (MT5) that counts the values of a series in equal bins between two limits, for your indicator or Expert Advisor. You push each new value and read how many values fall in each bin, how many are under or over the limits and which bin holds the most, over all the values or over the last n, without writing the counting yourself.

How it works

  • Call DxHbCreate with the number of bins, the lower and upper limit and the window (0 counts every value). You get a handle.
  • Call DxHbPush for each new value (for example the change of each bar).
  • Read DxHbBinCount for any bin, DxHbFrequency and DxHbCumulative for percents and running totals, DxHbMode for the bin with the most values, DxHbUnder and DxHbOver for the values outside the limits.
  • For the number of bins, DxHbSturges and DxHbFdBins give the usual rules. DxHbFromArray counts a whole array at once.

What you get

  • Bins and counts: the count and the percent of every bin, the values under and over the limits, the bin with the most values.
  • Sliding window: count all the values, or only the last n: the oldest value leaves its bin when a new one comes in.
  • Number of bins: the Sturges rule and the Freedman-Diaconis rule.
  • Clear edges: each bin takes its lower edge and not its upper edge; the last bin also takes the upper limit.
  • Checked: the example EA compares every bin count at every bar with a separate count against the edges of the bins, over all values and over two windows, with a large offset, and on a long synthetic series.
  • Status codes with plain-English texts: bad setup, bad handle, bad bin, bad value, no instance available.
  • Light: each program has its own instances. No DLLs, no web requests, no Sleep. The library reads no market data.

How to use it

  1. Copy DinexHistogram.ex5 to MQL5\Libraries.
  2. Add the import block with the functions you use (shown in the images and in the example EA).
  3. Open a histogram, push each new value, read the counts.

Definitions (b bins, lower limit lo, upper limit hi, width w = (hi − lo) / b)

  • Bin i takes lo + i x w ≤ x < lo + (i + 1) x w for i = 0 to b − 2. The last bin takes lo + (b − 1) x w ≤ x ≤ hi.
  • Under: values below lo. Over: values above hi. They belong to no bin.
  • Frequency: 100 x (values in the bin) / (all values held, under and over included). Cumulative: the values in bins 0 to i.
  • Mode: the bin with the most values; the lowest bin of a tie; none when no value is inside the limits.
  • Sturges: bins = k + 1 where k is the smallest whole number with 2^k ≥ n. Freedman-Diaconis: width = 2 x IQR / n^(1/3), bins = the range divided by the width, rounded up.

Example EA (included in the description images)
On every new bar the example pushes the change of the close in points into four histograms (all values in 32 bins, a window in 7 bins, a larger window in 32 bins and a window with a large offset) and compares every count with a separate count. It also runs results worked out by hand, the rules for the number of bins, the error codes and the whole-array call. 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. A histogram of past values describes those values.
  • A value that lies exactly on the edge of two bins may fall in the next bin when the edge is not an exact binary number (for example 0.1), because of floating-point rounding.
  • Up to 256 instances, up to 10000 bins, window up to 1000000 values.

Requirements

  • MetaTrader 5, any symbol and timeframe.
Önerilen ürünler
INTRODUCING MML Data Bridge The demand for bridging external data and machine learning with trading platforms is higher than ever. MetaTrader 5 is a powerful environment for trading and back testing, but without a data bridge, MT5 is largely isolated from using any external data. MML Bridge is a developer tool that allows users to bridge external data into MT5 for back testing, live trading, and optimization. It's built for ease of use, providing users with a simple function API that drip-feeds
FREE
Most lot size calculators assume one pip is worth ten dollars. That assumption is wrong on gold, wrong on indices, wrong on JPY crosses, and wrong on every account not denominated in USD - which is to say, wrong exactly where oversizing hurts. This one asks your server instead. It reads the tick value, tick size, point size, volume step and margin requirements actually published for the symbol on your chart, so the number it gives you is the number your account will accept. How it works Attach i
FREE
Donchian Pro
Paulo Henrique Faquineli Garcia
5 (3)
The Donchian Channel Channels are among the most popular tools of technical analysis, as they visually convey to the analyst the limits within which most price movement tends to occur. Channel users know that valuable information can be obtained at any time, whether prices are in the central region of a band or close to one of the border lines. One of the best known techniques to explore these concepts is Bollinger Bands. However, John Bollinger was not the only one to research the application
FREE
This robot sends Telegram notifications based on the coloring rules of PLATINUM Candle indicator. Example message for selling assets: [SPX][M15] PLATINUM TO SELL 11:45. Example message for buying assets : [EURUSD][M15] PLATINUM TO BUY 11:45 AM. Before enable Telegram notifications  you need to create a Telegram bot, get the bot API Key and also get your personal Telegram chatId. It's not possible to send messages to groups or channels. You can only send messages to your user chatId. You should
FREE
MarketPro toolkit
Johannes Hermanus Cilliers
Start earning profits by copying All trades are sent by our successful Forex trader & are extremely profitable. You can earn profits by copying trades daily Trial Period included You'll also get access to extremely powerful trading education which is designed in a simple way for you to become a profitable trader, even if you have no trading experience. https://ec137gsj1wp5tp7dbjkdkxfr4x.hop.clickbank.net/?cbpage=vip
FREE
AD Pro
Ola Marten Hamberg
A/D Pro is a modern version of the classic Accumulation/Distribution indicator. It keeps the standard MetaTrader 5 A/D calculation and adds new display modes, automatic divergence detection, alerts and a live status panel, so you can see buying and selling pressure at a glance. The A/D indicator measures where each bar closes within its range and weights it by volume. A rising line shows accumulation (buying pressure), a falling line shows distribution (selling pressure). Divergences between A
FREE
Are you tired of drawing trendlines every time you're analyzing charts? Or perhaps you would like more consistency in your technical analysis. Then this is for you. This indicator will draw trend lines automatically when dropped on a chart. How it works Works similar to standard deviation channel found on mt4 and mt5. It has 2 parameters: 1. Starting Bar 2. Number of bars for calculation The   starting bar   is the bar which drawing of the trend lines will begin, while the   number of bars for c
FREE
Smart FVG Stats
- Md Rashidul Hasan
5 (1)
The  Smart FVG Statistics Indicator  is a powerful MetaTrader 5 tool designed to automatically identify, track, and analyze Fair Value Gaps (FVGs) on your charts. Love it? Hate it? Let me know in a review! Feature requests and ideas for new tools are highly appreciated. :) Try "The AUDCAD Trader": https://www.mql5.com/en/market/product/151841 Key Features Advanced  Fair Value Gap  Detection Automatic Identification : Automatically scans for both bullish and bearish FVGs across specified histo
FREE
RSI back arrows
Smaylle Rafael Coelho Mariano
The   RSI Back Arrows   indicator is a powerful tool designed for traders who rely on the Relative Strength Index (RSI) to identify potential market reversals. This indicator specifically highlights when the RSI has exited the   oversold   or   overbought   zones, providing clear visual signals to inform trading decisions. Key Features: Visual Cues : The indicator marks arrows on the chart when the RSI crosses back into a neutral zone, making it easy to spot potential entry and exit points. Over
FREE
A dependency-free MQL5 library of independent building blocks for Expert Advisor developers: risk-based position sizing, stop construction, spread filter, logging, state persistence and a retry state machine. No strategy, no profit claims. --- ARV EA Toolkit is a dependency-free library of independent modules for MQL5 Expert Advisor developers. Use only what you need; the modules do not depend on each other except for a tiny shared defines header. It contains no trading strategy and makes no
FREE
Exact Time — detailed time on the seconds chart. The utility shows the opening time of the selected candle. This is necessary when working with seconds charts. For example, it can be used on a seconds chart built using the Seconds Chart utility. Inputs Base corner — the chart corner to which an object Is attached. X distance — the horizontal distance from the chart corner. Y distance — the vertical distance from the chart corner. Text font — font name Font size — font size Color — text color
FREE
Donchian Breakout And Rsi
Mattia Impicciatore
4.33 (3)
Genel Açıklama Bu gösterge, klasik Donchian Kanalı ’nın geliştirilmiş bir versiyonudur ve gerçek işlem için pratik işlevlerle zenginleştirilmiştir. Standart üç çizgiye (üst, alt ve orta çizgi) ek olarak sistem breakout (fiyat kırılımı) noktalarını tespit eder ve bunları grafikte oklarla görsel olarak gösterir. Ayrıca grafiği sadeleştirmek için mevcut trend yönünün tersindeki çizgi yalnızca görüntülenir. Gösterge şunları içerir: Görsel sinyaller : Kırılım sırasında renkli oklar Otomatik bildiriml
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
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
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
TradeVision Pro
Ian Nganga Comba
TradeVisonPro Forex Analyzer Pro MT5 İşlem Hesabı Analiz ve İzleme Paneli TradeVisonPro Forex Analyzer Pro, MetaTrader 5 kullanıcıları için tasarlanmış bir işlem analizi ve hesap izleme çözümüdür. Ürün, MT5 işlem verilerini yapılandırılmış web tabanlı bir panelde düzenleyerek yatırımcıların hesap bilgilerini görüntülemesine, açık pozisyonları izlemesine, işlem geçmişini analiz etmesine, stratejileri takip etmesine, işlem günlüğü tutmasına ve performans istatistiklerini incelemesine olanak tanır.
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
Master HMA
Leonel Alberto Jose Quintana
MetaTrader 5 için Master HMA Master HMA, farklı Hull Moving Average hesaplamalarını fiyat hareketinin yönünü, eğimini ve davranışını analiz etmek için tasarlanmış görsel bir yapı içerisinde birleştiren MetaTrader 5 teknik göstergesidir. Gösterge üç farklı HMA periyodu kullanır: Fast, Main ve Slow. Bu çizgiler arasındaki ilişki, hareket yapısındaki değişikliklerin gözlemlenmesine ve piyasanın farklı aşamalarının takip edilmesine yardımcı olur. Ana HMA, sistem tarafından belirlenen durumları temsi
FREE
It is just an alternative fibo lines. mt4 have is a very strange drawing of fibo lines, this utilites was written for mt4, but for mt5 it may not be particularly useful. A simple Box (Rectangle) graphic element with adjustable levels binding: it is possible to specify up to 17 custom levels, all rectangles on the chart with the given prefix in their name are processed. Levels are specified in % of the height of the rectangle. A convenient graphical element for analyzing charts by growth-correct
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
SPECIAL ANNOUNCEMENT: Get the Ultimate Trading Suite! Before you grab this utility, did you know? The LogicLadder Visual Trade Planner is so powerful that it serves as the core visual execution engine for my flagship MT5 trading systems! If you are looking for a massive, all-in-one trading dashboard, advanced trade management, or strict prop-firm guardrails, you can get this exact visual planner already included inside my premium and free full-suite EAs: Pro LTS TradeDashboard MT5 (Paid
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
Quick Scale Trading Panel FREE Quick Scale Trading Panel FREE is a manual trading utility for MetaTrader 5 designed to simplify order execution and position sizing directly from the chart. The panel allows traders to open and manage trades using predefined lot multipliers, reducing the need for manual calculations during fast market conditions. Users can define a base lot size and execute trades using multiplier buttons (1x, 2x, 4x, 8x). This helps maintain consistent position sizing and improv
FREE
This utility EA will display simple renko, hence the name essential renko. The renko will be shown in a new tab and using custom symbol. Please do note (especially for those who new to Renko), that Renko does not follow timeline as it will follow price movement. That's why it has a lot of potential where you can attach any EA that you want and use any custom indicator in this new custom symbol for renko. Always use M1 timeframe. Most of the time you don't need to change anything. But if you d
FREE
JT360 DNA Mini PnL Pointer V1.04 Public Kompakt. Net. Her zaman göz önünde. JT360 DNA Mini PnL Pointer, MetaTrader 5 için geliştirilmiş hafif bir göstergedir. Mevcut grafik sembolündeki tüm açık pozisyonların toplam anlık kâr ve zararını (PnL) görüntüler. Grafik üzerinde az yer kaplayan tasarımı; R cinsinden riske dayalı PnL gösterimini, ince bir mini çubuğu ve özelleştirilebilir renk matrisini bir araya getirir. JT360’ın karakteristik turkuaz ve macenta renkleri, kâr ve zarar seviyelerinin tek
FREE
Aggression Volume
Flavio Javier Jarabeck
4.29 (17)
Aggression Volume Indicator is the kind of indicator that is rarely found in the MQL5 community because it is not based on the standard Volume data provided by the Metatrader 5 platform. It requires the scrutiny of all traffic Ticks requested on the platform... That said, Aggression Volume indicator requests all Tick Data from your Broker and processes it to build a very special version of a Volume Indicator, where Buyers and Sellers aggressions are plotted in a form of Histogram. Additionally,
FREE
================================================================ MATRIX CONDITION MONITOR Live Trade Condition Panel for MetaTrader 5 Fully Automatic -- Works with ALL Matrix EAs ================================================================ NEVER MISS A TRADE SETUP AGAIN Matrix Condition Monitor is a free utility that attaches to any chart and automatically checks all 10 trade conditions in real time -- showing you exactly why a trade will or will not open, and alerting you the moment ever
FREE
Macro-R Pro Signal — Advanced Trading Signal Indicator Macro-R Pro Signal is a professional trading indicator designed to deliver high-quality BUY and SELL signals with enhanced precision and reduced market noise. By combining Bollinger Bands, RSI, and adaptive volatility filtering , this indicator helps traders identify high-probability reversal points while avoiding unfavorable market conditions. How the Strategy Works This indicator is built on a mean reversion + momentum confirmation concep
FREE
HiveLoggerMT5
Sergey Chekhovskikh
HiveLoggerMT5 is a compiled logging library for MQL5 programs. One call writes a short human-readable line to the Experts journal and the full event as one JSON line into a local file inside the terminal sandbox. An expert, service or script leaves a machine-readable trace that any JSON-aware tool can filter and analyze later. No DLLs, no network access, no external dependencies. Two journals in one call Each accepted event produces: a one-line entry in the Experts journal — level, stable event
FREE
QuantumAlert RSI Navigator is a free indicator available for MT4/MT5 platforms, its work is to provide "alerts" when the market is inside "overbought and oversold" regions in the form of "buy or sell" signals. This indicator comes with many customization options mentioned in the parameter section below, user can customise these parameters as needful. Join our MQL5 group , where we share important news and updates. You are also welcome to join our private channel as well, contact me for the priva
FREE
Bu ürünün alıcıları ayrıca şunları da satın alıyor
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
<h2>MetaTrader 5 için ModernUI Kütüphanesi</h2> <p>ModernUI, MetaTrader 5 grafik ortamında çalışan bir kullanıcı arayüzü kütüphanesidir. MQL5 geliştiricilerinin MT5 grafik ortamı içinde daha düzenli EA panelleri, dashboardlar, ayar pencereleri, formlar, tablolar, diyaloglar, drawer panelleri ve kompakt trading tarzı arayüzler oluşturmasına yardımcı olur.</p> <p>Dağınık grafik objeleri yerine daha profesyonel bir arayüz katmanı isteyen, ancak kendi EA, indikatör veya yardımcı araç mantığı üzeri
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 Sinyal Kopyalama Kütüphanesi — MT için Profesyonel İşlem Olayı Motoru Karmaşık işlem izleme mantığı yazmadan, herhangi bir Uzman Danışmanı güçlü bir işlem kopyalayıcıya, sinyal işlemcisine veya otomasyon motoruna dönüştürün. EX5 Sinyal Kopyalama Kütüphanesi, MetaTrader 5'teki her işlem aktivitesini yakalayan ve aşağıdakiler için kullanabileceğiniz yapılandırılmış sinyallere dönüştüren yüksek performanslı, olay odaklı bir sistemdir: İşlem kopyalayıcılar (MT5 → MT5 / MT5 → harici) Risk yön
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
Order Book, known also as Market Book, market depth, Level 2, - is a dynamically updated table with current volumes of orders to buy and to sell specific financial instument at price levels near Bid and Ask. MetaTrader 5 provides the means for receiving market book from your broker, but in real time only, without access to its history. The library OrderBook History Library reads market book state in the past from archive files, created by OrderBook Recorder . The library can be embedded into you
Cryptocurrency analysis has never been easier with Crypto Charts for MetaTrader 5. Now, trading on BitMEX has never been easier with BitMEX Trading API for MetaTrader 5. BitMEX Trading API library was built to be as easy to use as possible. Just include the library into your Expert Advisor or Script, call the corresponding methods and start trading! Features Trade on BitMEX and BitMEX Testnet. Build and automate your strategies. Concern more with the trading strategy logic and less with the co
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
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 
Bu kütüphane, herhangi bir EA'nızı kullanarak işlemleri yönetmenize izin verecektir ve açıklamalarda belirtilen komut dosyası koduyla ve ayrıca tüm süreci gösteren videodaki demo örnekleriyle kendi başınıza yapabileceğiniz herhangi bir EA'ya entegrasyonu çok kolaydır. - Limit Ver, SL Limit Ver ve Kar Al Limit Emirleri - Market, SL-Market, TP-Market siparişlerini verin - Limit emrini değiştirin - Siparişi iptal et - Siparişleri Sorgula - Kaldıraç, marjı değiştir - Pozisyon bilgisini al ve
Hello everyone! I am a professional MQL programmer , Making EAs, Indicators and Trading Tools for my clients all over the world. I build 3-7 programs every week but I seldomly sell any ready-made Robots. Because I am fastidious and good strategy is so few...  this EA is the only one so far I think its good enough to be published here.  As we all know, the Ichimoku indicator has become world popular for decades, but still, only few people knows the right way of using it, and if we check the clo
Applying these methods, I managed to arrive at a nuanced conclusion that is crucial to understanding the importance of unique strategies in contemporary trading. Although the neural network advisor showed impressive efficiency in the initial stages, it proved to be highly unstable in the long run. Various factors such as market fluctuations, trend changes, external events, etc. cause its operation to be chaotic and eventually lead to instability. With these experiences, I accepted the challenge
Introducing "TG Risk Service Manager" — your comprehensive toolkit for swift and precise risk management and lot size calculations in the dynamic world of trading. Designed to streamline development processes and enhance trading strategies, this indispensable library equips developers with essential tools for optimizing risk assessment and trade profitability. Metatrader4 Version |  All Products  |  Contact   Key Features: Efficient Lot Size Calculation : Harness the power of precise lot size c
Introducing "TG Trade Service Manager" — your all-in-one solution for seamless trade management in both MQL4 and MQL5 environments. With a focus on speed, reliability, and convenience, this powerful library simplifies the complexities of trade execution and management, empowering developers with a single interface for enhanced efficiency. Metatrader4 Version   |   All Products   |   Contact   Key Features: Unified Interface : TG Trade Service Manager" provides a unified interface for   MQL4   an
The following library is proposed as a means of being able to use the OpenAI API directly on the metatrader, in the simplest way possible. For more on the library's capabilities, read the following article: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual IMPORTANT: To use the EA you must add the following URL to allow you to access the OpenAI API as shown in the attached images In order to use the library, you must include the following Hea
Yazarın diğer ürünleri
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
Filtrele:
Değerlendirme yok
Değerlendirmeye yanıt