DinexSpace Rollover Calendar Library

DinexSpace Rollover Calendar Library is a library for MetaTrader 5 (MT5) that answers calendar questions about swap: how many nights of swap a position pays between two times, when the next rollover is, and which day counts three nights. It works from plain calendar rules, in server time, and reads no prices.

How it works

  • Give two times and the day of the triple swap, and call DxRcNightsBetween. You get the number of nights a position pays if it opens at the first time and closes at the second.
  • DxRcTripleDay reads the day of the triple swap of a symbol.
  • DxRcNextRollover and DxRcPreviousRollover give the time of the next and of the previous rollover.
  • DxRcNightsAhead adds up the nights of the next days.

What you get

  • Nights between two times: the number of nights of swap from the moment a position opens to the moment it closes, over weekends and the triple-swap day.
  • Triple-swap day: read from the symbol; Monday to Friday counts three nights on that day.
  • Next and previous rollover: the time of each, and a flag that tells if a rollover happens at the end of a day.
  • Checked in the Strategy Tester: the example EA opens and closes positions on symbols with a triple-swap day on each weekday and compares every charge of swap with the nights from the library, and the calendar with a separate calculation.
  • Status codes with plain-English texts: bad day, bad range, bad time, unknown symbol.
  • Light: pure calendar functions. No DLLs, no web requests, no Sleep. The library places no orders.

How to use it

  1. Copy DinexRolloverCalendar.ex5 to MQL5\Libraries.
  2. Add the import block with the functions you use (shown in the images and in the example EA).
  3. Call the functions with your times and the day of the triple swap.

The rule

  • A rollover happens at the midnight that ends a weekday, Monday to Friday, in server time. Saturday and Sunday have none.
  • It counts one night, and three nights on the triple-swap day of the symbol (Monday to Friday).
  • A position is charged for the rollovers after it opened, up to and including the moment it closes.
  • Dates are worked out from the number of days since 1970-01-01, so the answer does not depend on the time zone of the computer.

Example EA (included in the description images)
At start the example compares every function with a separate calculation for many times and for every triple-swap day. In the Strategy Tester it opens a buy and a sell on each symbol of a list, holds them for varied times and compares each charge of swap, and the whole swap of each position when it closes, with the nights from the library. It prints the number of checks and the number of failed checks.

Notes

  • The rule is the one the Strategy Tester applies. A real broker can use another rollover time or count the weekend differently: check it for your broker before you rely on it.
  • Symbols that trade on Saturday or Sunday are not covered by the rule. DxRcWeekendSeconds tells how many seconds of weekend trading a symbol has (a few minutes to an hour on Sunday evening is normal).
  • The library gives numbers of nights and times. It does not give the amount of money, gives no entries or exits and does not predict any move.

Requirements

  • MetaTrader 5, any symbol and timeframe.
Prodotti consigliati
Ajuste BRA50
Claudio Rodrigues Alexandre
4.33 (6)
Este script marca no gráfico do ativo BRA50 da active trades o ponto de ajuste do contrato futuro do Mini Índice Brasileiro (WIN), ***ATENÇÃO***  para este script funcionar é necessário autorizar a URL da BMF Bovespa no Meta Trader. passo a passo: MetaTrader 5 -> Ferramentas -> Opções -> Expert Adivisors * Marque a opção "Relacione no quadro abaixo as URL que deseja permitir a função WebRequest" e no quadro abaixo adicione a URL: https://www2.bmf.com.br/ este indicador usa a seguinte página par
FREE
Molo kumalo
James Ngunyi Githemo
Trading Forex with our platform offers several key advantages and features: Real-time Data : Stay updated with live market data to make informed decisions. User-Friendly Interface : Easy-to-navigate design for both beginners and experienced traders. Advanced Charting Tools : Visualize trends with interactive charts and technical indicators. Risk Management : Set stop-loss and take-profit levels to manage your risk. Multiple Currency Pairs : Access a wide range of forex pairs to diversify your tr
SimpleLotCalculator
Itumeleng Mohlouwa Kgotso Tladi
SimpleLotCalculator: Professional Multi-Symbol Risk Manager Library Stop guessing your lot sizes and start trading with institutional precision. SimpleLotLogic is a high-performance MQL5 developer library designed to solve the number one problem for algorithmic and manual traders: Risk Management. Instead of writing complex math for every new EA, simply plug in this library to calculate the perfect lot size based on your account equity and stop-loss distance. Why Choose SimpleLotLogic? Precis
Turn your manual trades into fully automated profit machines! This powerful MT5 EA takes over the moment you open a position — no delays, no stress. It instantly places Stop Loss and Take Profit, activates customizable trailing, and locks in profits while protecting your capital Perfect for scalpers: Every trade is immediately secured, giving you the freedom to focus on sniping the best entries while the EA handles all the management work in the background. Auto SL/TP Full trailin
FREE
RiskGuard Toolkit Library
AL MOOSAWI ABDULLAH JAFFER BAQER
RiskGuard Toolkit Library for MQL5 developers - version 1.01 Questions before buying? Message me privately and I will show you how the functions fit into your own EA. Need an example for your use case? Ask by private message - integration help is included. Send a screenshot of your order and receive one of my free products as a thank-you. Stop rewriting the same risk code in every Expert Advisor Every serious EA needs the same boring but critical pieces: a lot size that matches the risk you inte
SessionClock SessionClock è una libreria MQL5 gratuita per gli sviluppatori di Expert Advisor MetaTrader 5 (MT5): MQL5 library, DST daylight saving time, broker GMT offset, trading sessions, London New York Tokyo session, Strategy Tester time fix. Importala in qualsiasi EA, indicatore o script con un #import e usala dal vivo e nello Strategy Tester per creare sistemi di trading algoritmico più robusti e adatti alle prop firm su forex, oro (XAUUSD), indici e cripto. Orologio del broker e sessioni
FREE
Phantom ICT
Thanaphat Jantawee
5 (1)
PHANTOM ICT MTF EA is an automated trading system designed for XAUUSD (Gold), using a multi-timeframe analysis approach. The system focuses on identifying structured market conditions and executing trades based on selective entry logic. It is not designed for frequent trading, but instead waits for specific conditions before opening positions. Core Features Multi-timeframe analysis (D1 / H4 / M5) Selective trade entry based on structured conditions Designed for short-term execution on M5 timefr
FREE
Edkt
Pitiphum Noikhieo
ตัวชี้วัดการกลับตัวของราคาแบบมืออาชีพสำหรับ MetaTrader 5 PA Reversal Sniper เป็นตัวชี้วัดแบบกำหนดเองสำหรับ MT5 ที่ออกแบบมาโดยเฉพาะสำหรับ XAUUSD ในกรอบเวลา M5 โดยเน้นที่การเคลื่อนไหวของราคา โครงสร้างการกลับตัว การกวาดสภาพคล่อง การแตกหักของโครงสร้างตลาด สภาวะโมเมนตัม และการยืนยันความผันผวน ตัวชี้วัดนี้ให้สัญญาณซื้อและขายที่ชัดเจน พร้อมด้วยจุดเข้าซื้อ จุดหยุดขาดทุน และจุดทำกำไรหลายระดับ คุณสมบัติหลัก XAUUSD M5 ปรับแต่งแล้ว การตรวจจับการกลับตัวของราคา การตรวจจับแท่งเทียน Pin Bar ขาขึ้นและขาลง การตร
A complete PostgreSQL client implemented in pure MQL5 over native MetaTrader 5 TCP sockets. The library implements the PostgreSQL client with MD5 and SCRAM-SHA-256 authentication, SSL/TLS, the Simple Query Protocol, and explicit transactions. No DLLs, no external dependencies, no third-party services. Features Direct TCP connection to any PostgreSQL-compatible database MD5 and SCRAM-SHA-256 authentication, auto-detected SSL/TLS via PostgreSQL's SSLRequest flow Full transaction support Typed res
TradeJournal AutoExporter
Mogae Ronald Sekwababe
TradeJournal AutoExporter is a powerful utility designed for MetaTrader 5 that automatically captures and logs your trading activity in real time. Eliminate manual record-keeping and keep your focus entirely on the market. Key Features: Automated Data Capture: Instantly logs detailed trade statistics—including open/close prices, lot sizes, trade duration, commissions, swap, and profit/loss—the moment a trade closes. Seamless Exporting: Automatically saves your trade history into clean, structure
Just $10 for six months!!!. This will draw Supply & Demand zones just by clicking on a candle. It can also draw a 50% line on the zone. https://youtu.be/XeO_x7cpx8g As a drawing tool, it is not active all the time after adding it to the chart. Activate by pressing 's' twice on the keyboard within a second. If activated but then decided not to draw, deactivate by pressing 's' once.  Box color depends if candle is above or below current price. Features: Draw the box up to the last current candl
Here   is   the   English translation   of   your   description   for   the EA   (Expert   Advisor): --- This   is a   time -based   automatic trading   EA . It allows   you   to   set the   exact   time   for trading , down   to   the   second , and   specify the   maximum number   of   orders . You   can choose   to   place   either   buy   or   sell   orders . It   is possible to   set take   profit and   stop   loss   points . Additionally , you can   specify   how   long after   placing  
Magic Brake
Markus Hentschel
Try it free first: click the "Free Demo" button on this page and test it in the MetaTrader 5 Strategy Tester. Magic Brake watches every EA on your account, one row per magic number. It scores each EA from 0 to 100, tells you why, and, if you want it to, brakes only the EA that misbehaves: it closes its new trades, closes all of its trades, or sets the stop loss it forgot. Default mode is warn only. Problems it solves 1. You run five or ten EAs on one account. One of them starts doubling its lot
Metis Hurst Regime
Victor Gomez Sanchez
Metis Hurst Regime — is the market trending, mean-reverting or just random? This indicator estimates the Hurst exponent of the recent price series — a statistical measure of memory. It tells you whether moves have tended to continue (trending), to reverse (mean-reverting) or to show no memory at all (random walk), and how much confidence that reading deserves. Knowing the current regime helps you choose the right kind of strategy: trend-following logic suffers in mean-reverting conditions and vi
FREE
Scan a fixed list of assets (Ibovespa) in the chosen timeframe (TimeFrame). For each pair and for various periods. Calculate a regression model between the two assets (and, if desired, using the bova11 index as a normalizer). Generate the spread of this relationship, its mean, standard deviation, speculative deviation, and betas (B1 and B2). Apply an ADF test without exclusion (cointegration/stationarity). Calculate the Z-score of the current exclusion (how many standard deviations are away from
FREE
PropGuard Panel
Zagaie Steeven Heriniaina
Drawdown monitor for prop firm accounts: daily loss, total drawdown and profit target on equity. PropGuard Panel - drawdown monitor for prop firm accounts PropGuard Panel puts the numbers that matter for a prop firm challenge on your chart, computed on equity (balance plus floating profit and loss), not on balance alone. What it shows - Daily loss against the daily limit, with a colored bar: green below 60 % of the limit, orange from 60 % to 80 %, red above 80 %. - Total drawdown against the
Trade Vision Panel
Abderrahmane Benali
IMPORTANT! After your purchase, please contact me. Overview: Trade Vision Panel is a premium, lightweight trading dashboard for MetaTrader 5 designed to display your key trading information directly on the chart. It combines performance analytics, open-position monitoring, and a real-time news filter — all in one smart, elegant interface. Perfect for traders who want to see everything
SMC Fair Value Gap Detector è un indicatore gratuito Smart Money Concepts (SMC) per MetaTrader 5 che rileva squilibri di liquidità a 3 candele (BISI/SIBI), traccia il livello 50% Consequent Encroachment e monitora le mitigazioni in tempo reale senza repainting. CARATTERISTICHE PRINCIPALI: • Filtro dinamico ATR: riduce il rumore di mercato evidenziando solo gli squilibri reali. • Livello 50% Consequent Encroachment (C.E.): traccia la linea mediana esatta di ogni FVG attivo. • HUD Distanza Live:
FREE
Automatic Replenishment Trading Within a Defined Range The EA operates   only within the predefined price range . When an order is   closed, filled, or cancelled   (reducing the total number of orders), the EA will   automatically place new orders   to maintain the continuous operation of the trading strategy. This EA is   designed for ranging / sideways market conditions . You can control the total number of orders using   Max Orders . Example: Max Orders:   8 Active trades:   2 Pending Sell L
The Supply and Demand Zone Indicator is a powerful and easy-to-use tool designed to help traders identify critical supply and demand zones on the chart. These zones can provide valuable insight into potential market reversals, breakouts, and important price levels where buyers or sellers are likely to take control. The best   FREE Trade Manager . If you want to create your own Hedging or Grid strategies without any coding make sure to check out the   ManHedger Key Features: Automatic Zone Detect
FREE
Throw Volume Gap Mabrouk
Mabrook Mahdy Al Darby Mohammed
Throw VolumeGap Mabrouk Identify Institutional Footprints with Precision Volume Analysis Overview VolumeGap  is not just another volume indicator; it is a clinical trading tool designed to detect "Liquidity Surges" and "Institutional Entry Points." By analyzing the relative strength of every tick, this indicator pinpoint the exact moment when high-volume players enter the market, creating high-probability reversal and breakout opportun. LIMITED LAUNCH OFFER Current Price: $35 (Exclusive for the
FREE
Master M15 NQ
Daniel Garcia Caro
MASTER M15 NQ – 25-engine Expert Advisor for the Nasdaq 100 on M15 ================================================================== Master M15 NQ is a fully automated Expert Advisor for the Nasdaq 100 (NAS100, USTEC, US100, NDX) on the 15-minute chart. It runs 25 independent engines at the same time, spread over seven strategy families, on both buys and sells. When one family has a bad week, the others keep working. - Breakout engines catch the index when it leaves its recent range. - Count
Dual Scale Candles
Mohamed Amr Mohamed Osama Abdelwahab
Dual Scale Candles sovrappone le candele reali di un secondo simbolo direttamente sul tuo grafico, con una scala di prezzo indipendente sull'asse sinistro. Confronta l'oro con una valuta, il petrolio con un indice o due strumenti qualsiasi sullo stesso grafico - ciascuno mantiene i propri prezzi reali. Le due serie sono allineate nel punto che scegli: la prima barra del giorno corrente mostrata sul grafico, la prima barra della settimana corrente o la barra più vecchia disegnata - sulla barra d
FREE
Market book tester
Aliaksandr Hryshyn
3 (2)
Using data from the order book in the strategy tester Key features: Simultaneous use of several symbols, up to 7 pieces DOM visualization With the visualization of order books, real-time simulation is available, as well as acceleration or deceleration Working with the library: This product also requires a utility to save data:  https://www.mql5.com/en/market/product/71642 Speed control utility:  https://www.mql5.com/en/market/product/81409 Include file:   https://c.mql5.com/31/735/Market_book_s
FREE
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
Aurum Apex Macro
Abdul Hakim Bin Hashim
AURUM APEX MACRO — Institutional Multi-Asset Automated Trading System Launch Promo: $199 for the first 10 copies. Next price: $299 (Regular: $399–$499). Available for both MT4 and MT5. 10 Activations included. Aurum Apex is an institutional-grade, standalone Expert Advisor engineered for Forex, Gold (XAUUSD), Oil, and Crypto. Built on non-repainting multi-timeframe structure analysis, Supply & Demand zones, and Fair Value Gaps (FVG), it adapts automatically to each asset's volatility profile.
Risk Math Toolkit
Saurabh Singh Parihar
What this library answers Compiled library for MetaTrader 5 (MT5). How much should this trade really risk? Most people work it out by hand and get the answer wrong on gold, on an index and on a small account. Risk Math Toolkit is a compiled library of pure arithmetic functions. No trading, no orders, no files and no chart objects, because every function takes numbers and returns a number. Import the ones you need and call them inside your own Expert Advisor, indicator, script or optimisation pas
FREE
The Infinity EA MT5
Abhimanyu Hans
3.56 (61)
Tecnologia basata sull'intelligenza artificiale con ChatGPT Turbo Infinity EA è un Expert Advisor di trading avanzato progettato per GBPUSD, XAUUSD e AUDCAD. Si concentra su sicurezza, rendimenti costanti e redditività infinita. A differenza di molti altri EA, che si basano su strategie ad alto rischio come martingala o trading a griglia. Infinity EA impiega una strategia di scalping disciplinata e redditizia basata su reti neurali integrate su apprendimento automatico, tecnologia basata su int
RSI Currency Strength Meter is a powerful and elegant multi-currency indicator that measures the real-time relative strength of the 8 major currencies using RSI logic. By calculating the smoothed performance of each currency across its major pairs and applying the RSI formula, it delivers clean and responsive strength lines that make it easy to spot which currencies are truly strong or weak at any moment. This indicator is particularly useful for visualizing currency correlations and divergence
Ez MQL
Rxavxjwan
This lightweight utility library provides essential functions for MQL5 developers to streamline and simplify expert advisor (EA) and indicator development. Whether you’re building trading algorithms or managing chart resources dynamically, this library offers clean and reusable building blocks to enhance your code quality and reduce repetition. Key Features Price Access Functions ASK(string symbol) – Get the current Ask price. BID(string symbol) – Get the current Bid price. Account Information
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
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
This trailing stop application will helping trader to set the trailing stop value for many open positions, that apply a grid or martingale strategy as a solution. So if you apply a grid or martingale strategy (either using an EA or trading manually), and you don't have an application to set a trailing stop, then this application is the solution. For EAs with a single shot strategy, just use the FREE trailing stop application which I have also shared on this forum.
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