MarketInfo Universal Lib for MQL 5

Universal MarketInfo Service Library for MT4 & MT5

Bring simplicity and power to your trading projects with the Universal MarketInfo Service — a professional library that exposes a unified API for both MetaTrader 4 and MetaTrader 5.

No more rewriting code for each platform. With this library, you can:
  • Access symbol data, OHLC prices, spreads, and volatility with a single call.
  • Query account balance, free margin, stop levels, and lot constraints.
  • Work with currency precision, pip values, and normalized volumes.
  • Retrieve time data and detect Strategy Tester mode.

Whether you’re building Expert Advisors, indicators, or scripts, this library ensures your code is portable and reliable.

  • Write once, run everywhere — MT4 & MT5.
  • Save time, reduce errors, and focus on strategy, not boilerplate.

You can download the free source code of this library from github and you can include it directly in your EA code; please note that the source file is compatible with both MT4 and MT5 platforms

Usage Example 

// Include the market info API header
#import "vladefix/market-info-lib-v1.00.ex5"
   string GetSymbol();
   double GetAskPrice();
   double GetBidPrice();
   double GetClose(int, ENUM_TIMEFRAMES);
   double GetOpen(int, ENUM_TIMEFRAMES);
   double GetHigh(int, ENUM_TIMEFRAMES);
   double GetLow(int, ENUM_TIMEFRAMES);
   
    ... 
   string DoubleToCurrencyString(double);
   bool IsTestingMode();
   void DestroyMarketInfoLib();
#import

//-------------------------------------------------------
// Initialization function (OnInit)
//-------------------------------------------------------
int OnInit()
{
   Print("Symbol: ", GetSymbol());
   Print("Ask: ", GetAskPrice(), " | Bid: ", GetBidPrice());
   Print("Spread: ", GetSpread(), " points");

   double lot = NormalizeVolume(0.158);
   Print("Normalized lot: ", lot);

   double balance = GetAccountBalance();
   Print("Account Balance: ", DoubleToCurrencyString(balance));

   if(IsTestingMode())
      Print("Running in Strategy Tester...");
}


void OnDeinit(const int reason)
  {
     DestroyMarketInfoLib()
  }

推荐产品
Delete Only Pending Orders
Muhammad Usman Siddique
适用于 MetaTrader 5 (MT5) 的 UZFX - 仅删除挂单脚本是一款简单而有效的工具,可自动删除交易账户中的所有挂单(限价买入、限价卖出、止损买入、止损卖出)。该脚本非常适合希望在不影响活跃市场头寸的情况下即时清除挂单的交易者。 查看我的所有其他 MT4/MT5 指标和 EA >> 这里 功能: 删除所有挂单(买入限价单、卖出限价单、买入止损单、卖出止损单)。 不影响未结市场头寸。 通过专家选项卡提供实时执行反馈。 帮助交易者快速重置挂单策略,无需手动干预。 使用方法: 将脚本附加到 MT5 图表。 脚本将自动扫描并删除所有挂单。 注意: 该脚本不会关闭有效交易,只会删除挂单。 运行脚本前,请确保您要删除所有挂单。 它适用于账户中的所有交易符号,而不仅仅是所附图表。 开发者: UZFX-LABS Version: 1.00 Year: 2025 下载 mt4 脚本 : 133840
FREE
Trading Notes   is an innovative tool designed for traders to streamline their decision-making process by allowing them to write and display important reminders or short details directly over their trading charts. This essential feature ensures that traders have quick access to their personalized checklist before opening any positions, enhancing their trading efficiency and accuracy. MT4 Version -  https://www.mql5.com/en/market/product/120613 Join To Learn Market Depth -  https://www.mql5.co
FREE
NATS (Niguru Automatic Trailing Stop) will help you achieve more profits, by setting the trailing stop automatically. Pair this NATS application with EA, or can also be used as a complement to manual trading. A trailing stop is a powerful tool in trading that combines risk management and profit optimization.  A trailing stop is a type of market order that sets a stop-loss at a percentage below the market price of an asset, rather than a fixed number. It dynamically adjusts as the asset’s pric
FREE
Lib5 EAPadPRO for MT5
Vladislav Andruschenko
4.5 (6)
EAPADPRO Library for MetaTrader 5 是一个免费的专业界面库,用于为您的 Expert Advisor 添加现代化的信息面板。 该库专为 MQL5 开发者设计,适合希望让自己的交易程序在 MetaTrader 5 图表上拥有更清晰、更专业、更有信息价值的视觉呈现。 MetaTrader 5 的 Expert Advisors 通常包含更复杂的逻辑、多组设置、Magic number 过滤、订单执行规则以及内部策略数值。EAPADPRO 可以将这些信息整理到一个结构化面板中,让用户更快、更直观地理解程序当前状态。 EAPADPRO for MT5 是一个免费库。 您可以使用它来提升 Expert Advisor 的界面、信息输出和整体视觉质量。 完整的分步集成说明: LIB - EAPADPRO 分步集成教程 EAPADPRO 面板详细说明: EAPADPRO 信息面板 MetaTrader 4 版本: EAPADPRO Library for MT4 MQL5   Channel  https://www.mql5.com/en/channels/expf
FREE
UZFX - 删除图表上的所有图形和对象是一个简单而功能强大的Metatrader 5(MT5)脚本,旨在立即从活动图表中删除所有绘图对象。该脚本对于需要从技术分析图,趋势线,斐波那契工具,文本标签和其他对象中快速清除图表的交易者很有用,而无需手动删除它们。 特征: 在活动图表上删除所有对象和图纸。 立即使用单个执行。 显示成功和失败删除的确认消息。 帮助交易者保持清洁无杂乱的图表以进行更好的分析。 用法: 将脚本连接到要删除所有对象的图表上。 脚本将自动循环遍历所有对象并删除它们。 专家选项卡中的一条消息将确认成功删除对象。 注意:此脚本不会影响图表上运行的开放订单,指标或专家顾问,而仅删除仅图形对象。 开发人员:Usman Zabir -UZFX 版本:1.00 年:2025年 网站:https:// www.mql5.com/en/users/forextycoons
FREE
Static Text display
Muhammad Saad Khan
静态文本显示 是一个轻量且用户友好的 MetaTrader 5 专家顾问(EA),旨在通过在您的图表上直接显示激励性交易提示来启发和教育交易者。凭借优雅的居中黑色背景和等宽字体白色文本,该 EA 以轮换片段形式提供简洁、可操作的建议,帮助您专注于纪律交易。适合初学者和经验丰富的交易者,它倡导风险管理、耐心和策略开发等关键原则。 主要功能: 动态提示显示 :将用户定义的交易提示分割为 50-60 个字符的可读片段,每隔几秒轮换一次(持续时间可自定义)。 专业设计 :在图表顶部中心显示提示,带有黑色背景,确保可读性和均匀填充。 响应式定位 :在图表大小调整或切换时自动调整文本和背景对齐。 可自定义设置 :根据您的偏好调整字体大小、文本颜色、背景颜色和显示持续时间。 开关控制 :无需移除 EA 即可轻松启用或禁用显示。 轻量高效 :资源占用极低,不影响平台性能。 为什么选择静态文本显示? 无论您是想提升交易纪律还是寻求每日动力,此 EA 始终将核心交易智慧置于显眼位置。默认提示强调风险管理、策略测试和情绪控制,但您可以自定义文本以匹配您的交易理念。适合重视教育和一致性的交易者。 输入参数:
FREE
适用于 MetaTrader 5 (MT5) 的 UZFX - 即时关闭所有未结买单和卖单脚本是一款功能强大的工具,交易者只需执行一次操作,即可立即关闭所有活跃的市场头寸。该脚本是紧急交易管理的理想工具,可帮助交易者在剧烈波动、新闻事件或策略调整期间快速退出市场。 功能 关闭所有符号的所有未结买入和卖出头寸。 使用最新的买入价/卖出价,执行准确。 帮助交易者即时退出市场,只需极少的手动操作。 使用方法 将脚本附加到 MT5 图表。 脚本将扫描并关闭所有未平仓的买入和卖出头寸。 专家选项卡中将显示每个平仓订单的确认信息。 注意 该脚本不会删除挂单,只会关闭活跃的市场头寸。 它适用于所有交易符号,而不仅仅是所附图表。 运行脚本前,请确保您要关闭所有仓位,因为脚本会立即执行。 开发者:Usman Zabir - UZ 乌斯曼-扎比尔 - UZFX 版本: 1.00 年份: 2025 网站: https://www.mql5.com/en/users/forextycoons
FREE
Overview AlgoNLP.mqh   is a standalone MQL5 library that converts   human-written trading instructions   into   structured trade intents   that your Expert Advisor (EA) or indicator can understand. Do leave a review if you like :D Also check out my new Indicator : ALGOCHAMP v3 Plus Example input: Buy gold at 2370 with TP 0.3% and SL 1% Output intent: Side: BUY | Type: LIMIT | Symbol: XAUUSD | Entry: 2370 | TP: 0.3% | SL: 1% | Lot: 0.00 This enables you to build   chat-controlled   or   Telegr
FREE
K Trade Lib5
Kaijun Wang
2 (1)
MT4/5通用交易库(  一份代码通用4和5 ) #import "K Trade Lib5.ex5"    //简单开单    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 );    //复杂开单    void SetMagic( int magic, int magic_plus= 0 ); void SetLotsAddMode(int mode=0,double lotsadd=0);    long OrderOpenAdvance( int mode, int type, double volume, int step, int magic, string symbol= "" , string comm
FREE
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
Trade AST Pro
Pablo Luis Prieto Navarro
Boost Your Trading with the Trade AST PRO Imagine having a   personal trading assistant   that transforms how you trade. With our EA, success is just one click away:   Drag & Drop Smart Setup Place entry, SL and TP by simply dragging lines on the chart Automatic real-time risk and volume calculations Instant adaptation to every market move   Lightning-Fast Execution Direct BUY/SELL buttons on the chart MARKET mode for instant entry PENDING mode for planned trades   Auto Mobile Mirror Co
FREE
Key Features: 200+ Fully Implemented Patterns   across all categories Advanced Market Structure Analysis Smart Money Integration   (Wyckoff, Order Blocks, Liquidity) Professional Risk Management Multi-Timeframe Analysis AI-Powered Confidence Scoring Advanced Visualization Real-time Alerts Pattern Categories: Single Candle Patterns (Hammer, Doji, Marubozu, etc.) Multi-Candle Patterns (Engulfing, Stars, Harami, etc.) Chart Patterns (Head & Shoulders, Cup & Handle, Triangles, etc.) Harmonic Pattern
FREE
This simple logging library is designed to provide clear and contextual log output with minimal hassle. It exposes five  methods: LogError Message (message) LogWarn Message (message) LogInfo Message (message) LogDebug Message (message) LogTrace Message (message) Each method prints the provided message to the console only if the severity level meets or exceeds the current threshold set by a global variable logLevel. This means you control the verbosity of your application's logs by adjusting logL
FREE
EA Master Version any Follow Copy Account  (Acc. Number)  need a open MT Terminal, download multiple times Step1:   Open Master MT5 Terminal    =  install master- Version   (on any Symbol just one Time) Step2:   Open Follower MT5 Terminal = install follower- Version  (on any Symbol just one Time) Step3:   all Trades from any Symbol or any Robot are copy now to follow- Terminal immediately for simple copy set on Chart and   Start   no optimization. This Robot is a Trade Copier for MT5 that automa
FREE
Modern Dark Chart Theme for MT5 Upgrade your MetaTrader 5 chart into a clean, dark, professional trading workspace. Your chart is your trading office. It is where you analyze the market, test Expert Advisors, review setups, record videos, share screenshots, and make trading decisions. If your MT5 chart looks old, bright, noisy, or unprofessional, your trading environment can feel distracted before you even start your analysis. Modern Dark Chart Theme for MT5 helps you create a cleaner, darker,
FREE
MultiTimeframe Info Feed (MIF) Indicator Description: MultiTimeframe Info Feed (MIF) is a smart MQL5 indicator that displays a dynamic, real-time info panel directly on your chart, offering powerful insight into current market conditions. Key features include: Real-time display of Open, High, Low, Close, and live Tick price Tick Rate (ticks per second) for assessing market activity Auto-calculated Entry Price on new candle formation Signal direction detection (BUY / SELL) Price action pattern re
FREE
Axilgo PipPiper CoPilot
Theory Y Technologies Pty Ltd
5 (2)
Axilgo Pip Piper CoPilot Elevate your trading game with the Axilgo Pip Piper CoPilot, the first in our revolutionary Pip Piper Series. This all-inclusive toolset is meticulously crafted for serious traders, focusing on key areas such as Risk Management, Trade Management, Prop Firm Rule Compliance, and Advanced Account Management . With CoPilot, you’re not just investing in a tool—you’re gaining a strategic partner in the intricate world of trading. Important Notice: To ensure you receive the fu
FREE
CloseAllOrders at once
Lamont Simone Reynecke
Simple program i created, to help close all your orders instantly when you are busy scalping the market or if you want to avoid news days but still have a lot of orders and pending orders open and can't close them in time.. with this script all you're problems will be solved. Simple drag and drop and the script automatically does it's thing, quick and easy  also a very good tool to use when scalping Update!!!!!! this now only closes the positions on the chart you have open with a fail safe
FREE
LT Mini Charts
Thiago Duarte
4.88 (8)
This is a utility indicator that creates mini charts on left side of the chart you are looking at. It is very useful to watch many timeframes simultaneously, without having to change between multiple charts. Its configuration is very simple. You can have up to 4 mini charts opened. They automatically load the template of the "parent" chart. If you have any doubt please contact me. Enjoy! This is a free indicator, but it took hours to develop. If you want to pay me a coffee, I appreciate a lot  
FREE
How it works –   Base-departure detection — algorithmically finds consolidation bases (overlapping range with compressed volatility) followed by displacement departures. Patterns: Drop-Base-Rally, Rally-Base-Drop, Rally-Base-Rally, Drop-Base-Drop — detected structurally, not by candle names. –   Strength score (0–100) — from departure velocity, time-at-base, freshness (each revisit decays the score), higher-timeframe confluence and origin volume. –   Lifecycle — Fresh, Tested (decaying), Broken
FREE
适用于 MetaTrader 5 (MT5) 的 UZFX - 所需保证金和最大手数脚本旨在帮助交易者快速确定开立 1 手头寸所需的保证金,并根据其当前账户净值计算可交易的最大手数。该工具对于风险管理和头寸大小至关重要,可帮助交易者有效规划交易。 功能 计算对所选符号开仓 1 手交易所需的保证金。 根据可用资金确定交易者可以开仓的最大手数。 使用当前卖出价精确计算保证金。 使用评论功能直接在图表上显示结果。 帮助交易者在管理杠杆和风险的同时优化仓位大小。 使用方法: 将脚本附加到所需交易符号的图表上。 脚本将计算并显示结果: 1 手所需保证金 基于可用资金的最大可交易手数 结果将显示在图表的左上角。 注意 脚本使用买入订单类型计算保证金。 最大手数是根据净值计算的,而不是自由保证金。 本脚本不进行交易;纯粹用于提供信息。 开发者:Usman Zabir - UZ 乌斯曼-扎比尔 - UZFX 版本: 1.00 年份: 2025 网站: https://www.mql5.com/en/users/forextycoons
FREE
StealthTrade Commander 是一款高级可视化交易面板和风险管理工具,专为手动交易者、剥头皮交易者(Scalpers)和自营交易公司(Prop-Firm)挑战者设计。 该工具可帮助您直接在图表上可视化执行交易,向经纪商隐藏您的止损(SL)和止盈(TP)水平,并严格控制您的每日回撤——这是通过和保留 Prop-Firm 资金账户的关键功能。 主要功能: Risk Guardian(自营交易保护器) 每日最大亏损限制: 如果您的每日回撤达到指定限制,自动平仓所有交易并锁定面板。 每日利润目标: 一旦达到您的每日目标,即平仓所有头寸以锁定利润。 精准手数计算: 根据您的可视化止损和预设风险(%、$ 或账户净值)计算确切的交易手数。 Stealth & Tactical Engine(隐身与战术引擎) 隐身模式: 向经纪商隐藏真实的 SL 和 TP 水平。面板在内部管理它们,并在价格穿过您的虚拟线时精准平仓。 幽灵入场(虚拟挂单): 放置隐形挂单,仅在价格触及您的线条时触发。 OCO 订单(选择性委托单): 突破交易的完美选择。当一个挂单被触发时,相反的挂单将自动删除。 价格磁
FREE
TradeGate
Alex Amuyunzu Raymond
TradeGate – Product Description / Brand Story “The gatekeeper for your trading success.” Overview: TradeGate is a professional MT5 validation and environment guard library designed for serious traders and EA developers who demand safety, reliability, and market-ready performance . In today’s fast-moving markets, even a small misconfiguration can cause EAs to fail initialization, skip trades, or be rejected by MQL5 Market. TradeGate acts as a smart gatekeeper , ensuring your EA only operates un
Title:   Smart Position Manager PRO - Advanced Risk & Position Manager Description: Smart Position Manager PRO is an all-in-one visual trade management and risk calculation tool designed for serious traders who prioritize iron discipline and strict risk management. Whether you are executing precise SMC or ICT setups on personal capital or managing large funded accounts on strict prop firms, this tool ensures you focus on counting percentages rather than emotional money swings. With a highly int
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
Introducing Grid Master MT5, your ultimate trading utility designed to revolutionize the management of single or multiple orders with unparalleled ease and effectiveness. Evaluation version of Grid Master MT5 Some limitations are applied: - Maximum of 3 open positions and 1 pending order per side (Buy/Sell) - Trailing Stop feature disabled - Economic calendar and news protection disabled - Trade event push notifications disabled Features: Clean and user friendly UI: With the benefits of fellow
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
Imagine flying a real aircraft without ever stepping into a flight simulator. That's what trading is like. You have to simulate your strategy before you can take it to a live market. It is good if you can simulate things speedily before even stepping into any live market, or before coming up with an automated system.  People don't have all day to stare at a higher timeframe chart until the entry signal finally arrives. That's why I built this so that you can simulate your strategy with speed. Th
FREE
MACD Colored ZeroLag
Farzin Sadeghi Bonjar
4.73 (11)
It is the MQL5 version of zero lag MACD that was available for MT4 here: https://www.mql5.com/en/code/9993 Also there was a colored version of it here but it had some problems: https://www.mql5.com/en/code/8703 I fixed the MT4 version which has 95 lines of code. It took me 5 days to write the MT5 version.(reading the logs and testing multiple times and finding out the difference of MT5 and MT4!) My first MQL5 version of this indicator had 400 lines of code but I optimized my own code again and n
FREE
该产品的买家也购买
ModernUI Library
Levi Dane Benjamin
适用于 MetaTrader 5 的 ModernUI 库 ModernUI 是一个用于 MetaTrader 5 的图表内用户界面库。它可以帮助 MQL5 开发者在 MT5 图表环境中构建更清晰的 EA 面板、仪表盘、设置窗口、表单、表格、对话框、抽屉式面板以及紧凑型交易风格界面。 它适合希望获得比零散图表对象更专业的界面层,同时仍然完全掌控自己 EA、指标或工具逻辑的开发者。 Modern UI - 用户指南   | EA 示例演示 你可以构建什么 ModernUI 并不局限于某一种面板类型。它为你提供了一个可复用的界面层,几乎可以用于任何你想在 MetaTrader 5 图表中构建的工具。 你可以用它创建简单的设置界面、紧凑型交易面板、完整仪表盘、数据视图、控制面板、账户工具、流程界面、监控界面、实用工具窗口、商业 EA 前端界面等等。 随附的演示展示了几个实用示例,但它们只是起点。如果你的 MQL5 项目需要按钮、输入框、表格、对话框、标签页、抽屉面板、图表、状态区域,或需要一种更清晰的方式在图表上展示信息,ModernUI 都可以为你提供构建模块。 主要功能 适用于 Me
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
WalkForwardOptimizer MT5
Stanislav Korotky
3.78 (9)
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 library will allow you to send your trades using your MT5 EA bot and its very easy to integrate on any EA which you can do yourself with the script code which is mentioned in documentation. This product allows trading operations via API For MEXC chart : Renting   Crypto Charting  for OHLC data or   Crypto Ticks with Order Book Depth  is optional - Supports MEXC API calls - Place Limit, SL Limit and Take Profit Limit Orders - Place Market, SL-Market, TP-Market orders - Modify Limit order - C
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
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
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 );    //复杂开单
1. 这是什么 MT5系统自带的优化结果非常少,有时候我们需要研究更多的结果,这个库可以让你在回测优化时可以输出更多的结果。也支持在单次回测时打印更多的策略结果。 2. 产品特色 优化的输出的结果非常多。 可以自定义CustomMax。 输出结果在Common文件夹。 根据EA名称自动命名,且同一个EA多次回测会自动更新名称,不会覆盖上一次的结果。 函数非常简单,你一眼就可以看懂。 #import "More BackTest Results.ex5" // Libraries Folder, Download from the market. //---Set CustomMax void iSetCustomMax( string mode); //---Display multiple strategy results when backtesting alone (not opt). void iOnDeinit(); //--- void iOnTesterInit(); double iOnTester(); void iOnTesterPass( string lang
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 
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示:单击此处 如果您想与交易面板进行交易,您可能对此产品感兴趣 该产品是加密图表的插件 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示: 单击此处 如果您想与交易面板进行交易, 您可能对
Hello everyone! I am a professional MQL programmer , Making EAs, Indicators and Trading Tools for my clients all over the world. I build 3-7 programs every week but I seldomly sell any ready-made Robots. Because I am fastidious and good strategy is so few...  this EA is the only one so far I think its good enough to be published here.  As we all know, the Ichimoku indicator has become world popular for decades, but still, only few people knows the right way of using it, and if we check the clo
Applying these methods, I managed to arrive at a nuanced conclusion that is crucial to understanding the importance of unique strategies in contemporary trading. Although the neural network advisor showed impressive efficiency in the initial stages, it proved to be highly unstable in the long run. Various factors such as market fluctuations, trend changes, external events, etc. cause its operation to be chaotic and eventually lead to instability. With these experiences, I accepted the challenge
Introducing "TG Risk Service Manager" — your comprehensive toolkit for swift and precise risk management and lot size calculations in the dynamic world of trading. Designed to streamline development processes and enhance trading strategies, this indispensable library equips developers with essential tools for optimizing risk assessment and trade profitability. Metatrader4 Version |  All Products  |  Contact   Key Features: Efficient Lot Size Calculation : Harness the power of precise lot size c
Introducing "TG Trade Service Manager" — your all-in-one solution for seamless trade management in both MQL4 and MQL5 environments. With a focus on speed, reliability, and convenience, this powerful library simplifies the complexities of trade execution and management, empowering developers with a single interface for enhanced efficiency. Metatrader4 Version   |   All Products   |   Contact   Key Features: Unified Interface : TG Trade Service Manager" provides a unified interface for   MQL4   an
OpenAI Library MT5
VitalDefender Inc.
该库旨在提供一种尽可能简单的方法,直接在MetaTrader上使用OpenAI的API。 要深入了解库的潜力,请阅读以下文章: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual 重要提示:要使用EA,需要添加以下URL以允许访问OpenAI API  如附图所示 要使用该库,需要包含以下Header,您可以在以下链接找到:  https://www.mql5.com/en/blogs/post/756108 #import "StormWaveOpenAI.ex5" COpenAI *iOpenAI(string); CMessages *iMessages(void); CTools *iTools(void); #import 这就是您需要的所有信息,以便轻松使用该库。 以下是如何轻松使用该库并与OpenAI的API交互的示例 #include <StormWaveOpenAI.mqh>       //--- 包含用于AP
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.
KP TRADE PANEL EA is an EA MT5 facilitates various menus. KP TRADE PANEL EA is an EA skin care in MT5 is an EA that puts the system automatically in download EA MT5 to test with demo account from my profile page while some Trailing Stop Stop Loss require more than 0 features EA determines lot or money management calculates lot from known and Stop loss TS = Trailing stop with separate stop loss order Buy more AVR TS = Trailing stop plus
作者的更多信息
Just another plain Super Trend indicator.  On this one i have added another buffer (on index 2) which can be used on EA; the values is -1 to identify a bearish trend while for bullish trend the value  is 1. Here a code snippet:  int trend = ( int ) iCustom ( NULL , Timeframe, "SuperTrend" , Period , Multiplier, 2 , 1 );   It work on every timeframe.  If you need help to integrate it on your EA, don't hesitate to contact me.
FREE
Universal MarketInfo Service Library for MT4 & MT5 Bring simplicity and power to your trading projects with the Universal MarketInfo Service — a professional library that exposes a unified API for both MetaTrader 4 and MetaTrader 5. No more rewriting code for each platform. With this library, you can: Access symbol data, OHLC prices, spreads, and volatility with a single call. Query account balance, free margin, stop levels, and lot constraints. Work with currency precision, pip values, and n
FREE
This simple logging library is designed to provide clear and contextual log output with minimal hassle. It exposes five  methods: LogError Message (message) LogWarn Message (message) LogInfo Message (message) LogDebug Message (message) LogTrace Message (message) Each method prints the provided message to the console only if the severity level meets or exceeds the current threshold set by a global variable logLevel. This means you control the verbosity of your application's logs by adjusting logL
FREE
This simple logging library is designed to provide clear and contextual log output with minimal hassle. It exposes five  methods: LogErrorMessage(message) LogWarn Message (message) LogInfo Message (message) LogDebug Message (message) LogTrace Message (message) Each method prints the provided message to the console only if the severity level meets or exceeds the current threshold set by a global variable logLevel. This means you control the verbosity of your application's logs by adjusting logLev
FREE
This  EA is a swing strategy  with a martingale  system used to recover trades whenever the trend goes in the opposite direction in order to minimize the looses. The settings are simplified in order to work in almost every condition and it was designed to work with small accounts; though, the minimum recommended is 500$. A s every martingale system, it works efficiently if it has enough margin, so keep enough margin free. Here some reccomended configurations:  Property Name GBPUSD AUDJPY  EURGB
筛选:
无评论
回复评论