MT4 Logging API

This simple logging library is designed to provide clear and contextual log output with minimal hassle. It exposes five  methods:

  • LogErrorMessage(message)
  • LogWarnMessage(message)
  • LogInfoMessage(message)
  • LogDebugMessage(message)
  • LogTraceMessage(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 logLevel.

What sets this library apart is its built-in context awareness: every log message is automatically prefixed with the source file name, the exact line number, and the function from which the call originated. This provides pinpoint accuracy when tracking down issues and simplifies the debugging process.

By combining tidy output control with detailed contextual information, this library is an ideal tool for developers who need to quickly identify and resolve issues while keeping their code clean and maintainable.

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.

Here is an example of use:

#define LOGLEVEL_OFF 0
#define LOGLEVEL_ERROR 1
#define LOGLEVEL_WARNING 2
#define LOGLEVEL_INFO 3
#define LOGLEVEL_DEBUG 4
#define LOGLEVEL_TRACE 5

// Include the logging API header
#import "vladefix/logging-api-v1.00.ex4"
   void SetLoggerLevel(int);
   void LogErrorMessage(string);
   void LogWarnMessage(string);
   void LogInfoMessage(string);
   void LogDebugMessage(string);
   void LogTraceMessage(string);
#import

//-------------------------------------------------------
// Initialization function (OnInit)
//-------------------------------------------------------
int OnInit()
{
        /* 
          Set the global log level using one of the predefined log levels:
          
          LOGLEVEL_OFF     -> No logging at all 
          LOGLEVEL_ERROR   -> Only error messages
          LOGLEVEL_WARNING -> Errors and warnings
          LOGLEVEL_INFO    -> Information messages and above
          LOGLEVEL_DEBUG   -> Debug messages (and above)
          LOGLEVEL_TRACE   -> All logging messages
        */
        
        SetLoggerLevel(LOGLEVEL_INFO);  // For this example, we log info and above.
        return INIT_SUCCEEDED;
}

//-------------------------------------------------------
// Main tick event handler
//-------------------------------------------------------
void OnTick()
{
        // Log an informational message on each tick.
        LogInfoMessage("OnTick event triggered.");
}


推荐产品
适用于 MetaTrader 4 (MT4) 的 UZFX - 仅删除挂单脚本是一款简单而有效的工具,可自动删除交易账户中的所有挂单(限价买入、限价卖出、止损买入、止损卖出)。该脚本非常适合希望在不影响活跃市场头寸的情况下即时清除挂单的交易者。 查看我的所有其他 MT4/MT5 指标和 EA >> 这里 功能: 删除所有挂单(买入限价单、卖出限价单、买入止损单、卖出止损单)。 不影响未结市场头寸。 通过专家选项卡提供实时执行反馈。 帮助交易者快速重置挂单策略,无需手动干预。 使用方法: 将脚本附加到 MT5 图表。 脚本将自动扫描并删除所有挂单。 专家选项卡中将显示每个已删除订单的确认信息。 注意: 该脚本不会关闭有效交易,只会删除挂单。 运行脚本前,请确保您要删除所有挂单。 该脚本适用于账户中的所有交易符号,而不仅仅是所附图表。
FREE
适用于 MetaTrader 4 (MT4) 的 UZFX - Set Stop Loss to Breakeven Instantly 脚本是一款功能强大的工具,允许交易者将所有未结头寸的止损点快速移动至其入场价格,确保无风险交易。该脚本尤其适用于有效管理活跃交易,确保一旦头寸出现有利变动,交易者就能免受潜在损失。 (访问简介并查看所有其他 MT4/MT5 产品) (请不要忘记给予评论) 功能: 自动将所有未结头寸的止损设置为盈亏平衡(入市价格)。 通过确保利润和尽量减少潜在损失来加强风险管理。 使用方法 将脚本附加到图表上;它将自动调整所有未结头寸。 如果某个仓位的止损已达到盈亏平衡点,则将跳过该仓位。 注意: 该脚本仅修改现有交易,不会下新订单。 它适用于所有未结头寸,与符号无关。 确保经纪商允许以准确的入市价格修改止损。
FREE
Close All Charts – Instantly Close All Open Charts in MT4 Declutter your workspace and improve efficiency with Close All Charts , a simple yet powerful script that instantly closes all open charts in MT4 with a single click. No more manually closing charts one by one—this tool helps you manage your trading environment effortlessly. Key Features: One-Click Chart Closure – Instantly close all open charts in MT4 with a single action. Streamlined Workspace – Remove unnecessary charts for a c
FREE
Copy Template to All Charts – Instantly Apply Your Chart Setup in MT4 Save time and ensure consistency with Copy Template to All Charts , a powerful MT4 script that instantly applies your selected chart template to all open charts with just one click. No more manual adjustments—this tool helps you maintain a uniform trading setup effortlessly. Key Features: One-Click Template Application – Instantly copy your preferred chart template to all open charts. Save Time & Effort – Eliminate the
FREE
MT4/5通用交易库(  一份代码通用4和5 ) #import "K Trade Lib.ex4"    //简单开单    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 comme
FREE
The   UZFX - Close All Open Buy & Sell Orders Instantly   script for MetaTrader 4 (MT4) is a powerful tool that enables traders to   immediately close all active market positions   with a single execution. This script is ideal for emergency trade management, helping traders quickly exit the market during high volatility, news events, or strategy adjustments. Some people will take this FREE product, use it, profit from it, and disappear without even a simple review or appreciation for the develo
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
The   UZFX - Delete All Drawing and Objects on Chart Instantly   is a simple yet powerful MetaTrader 4 (MT4) script designed to instantly remove all drawing objects from the active chart. This script is useful for traders who need to quickly clear their charts from technical analysis drawings, trend lines, Fibonacci tools, text labels, and other objects without manually deleting them one by one. Some people will take this FREE product, use it, profit from it, and disappear without even a simple
FREE
Библиотека для расчета формул. Формула задается строкой. Можно задавать формулу в строковой переменой в окне свойств. Формула может включать арифметические действия "+-/*" и все функции кроме MathRand(): abs(), arccos(), arcsin(), arctan(), sin(), cos(), tan(), exp(), log(), mod(), max(), min(), pow(), ceil(), sqrt(), log10(), floor(), round(). Кроме этого в формулу могут входить числа (если число дробные, то разделитель точка) и аргументы. Аргумент начинается с буквы "а" (латинская) и номера, н
FREE
One-Click Open 28 – Instantly Load 28 Forex Charts in MT4 Boost your trading efficiency with One-Click Open 28 , a powerful MT4 script that instantly opens 28 major forex pair charts with just one click. No more wasting time setting up charts manually—this tool helps you focus on market analysis and trade execution. Key Features: Instant Chart Setup – Open 28 forex pair charts in one click, eliminating manual setup. Time-Saving Automation – Spend less time opening charts and more time an
FREE
Important: This product is a Library for developers . It is suitable only for users who can write/modify MQL4 code and integrate a compiled library into their own EA/Script. It is not a “drag & run” notifier. Telegram SDK helps you send Telegram messages and photos from MetaTrader 4 in a simple and reliable way. Use it when you want Telegram notifications inside your own automation tools. If you need the MetaTrader 5 version, it is available separately in the Market:   Telegram SDK M T5 . Main f
该库允许您使用任何 EA(智能交易系统)来管理交易,并且非常容易集成到任何 EA 中。您可以通过描述中提供的脚本代码自行完成集成,同时还有演示视频示例,完整展示了整个流程。 该产品允许通过 API 在 Bybit 交易所执行交易操作。 该工具 不包含图表功能 ,因此用户可以使用交易所提供的其他 BTCUSDT 及其他加密货币交易品种。 下限价单和市价单 修改限价单 根据订单 ID 取消单个订单或取消所有订单 查询订单 更改杠杆 获取持仓信息 以及更多功能…… 脚本文档 该库允许您使用任何 EA(智能交易系统)来管理交易,并且非常容易集成到任何 EA 中。您可以通过描述中提供的脚本代码自行完成集成,同时还有演示视频示例,完整展示了整个流程。 该产品允许通过 API 在 Bybit 交易所执行交易操作。 该工具 不包含图表功能 ,因此用户可以使用交易所提供的其他 BTCUSDT 及其他加密货币交易品种。 下限价单和市价单 修改限价单 根据订单 ID 取消单个订单或取消所有订单 查询订单 更改杠杆 获取持仓信息 以及更多功能…… 脚本文档
The library is dedicated to help manage your trades, calculate lot, trailing, partial close and other functions Orders CloseallSell CloseallBuy CloseallOpen DeletePending DeleteAll: Close All Market Orders and delete all pending orders. CheckOpenBuyOrders: return the count of buy orders. CheckOpenSellOrders: return the count of sell orders. CheckOpenOrders: return the count of market orders. ModifyOrder DeleteOrder CloseOrder OpenOrder Lot Calculation Mode 0: Fixed Lot. Mode 1: Martingale Lot
RedeeCash Statistics
Patrick Odonnell Ingle
1 (1)
Version History Date Version Changes 07/10/2022 1.00 Initial release Description A collection of modern statistical functions that can be integrated into your own strategy. The included functions are, Mean Median Range Skew Max Min IRange Deviations AbsoluteDeviations MAD StandardDeviation Variance GetCorrelation SamplingDistributionStandardDeviation ZScore CorrelationCoefficient CoVariance Beta Confidence SNormInv PercentOfValue ValueOfPercent MQL Header (mqh) The required header is //+--------
FREE
Trading Notes
Suvashish Halder
5 (3)
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. MT5 Version -  https://www.mql5.com/en/market/product/120617 Join To Learn Market Depth -   https://www.mql5.com
FREE
In the dynamic world of trading, visual acuity is paramount for making informed decisions. For traders who struggle with color blindness—a condition that affects approximately 5-10% of males and a much lower percentage of females—distinguishing between buy and sell signals can be particularly challenging. ​ Recognizing this unique challenge, we are proud to introduce “Open Buy Sell Color”, a MetaTrader 4 script designed to enhance visual clarity for all traders. This tool offers customization o
FREE
Lib4 EAPadPRO for MT4
Vladislav Andruschenko
5 (2)
EAPADPRO Library for MetaTrader 4 是一个免费的专业界面库,可让您为自己的 Expert Advisor 添加现代化的信息面板。 该库专为 MQL4 开发者设计,适合希望让自己的交易程序在 MetaTrader 4 图表上看起来更清晰、更完整、更专业的开发者使用。 交易算法当然重要,但产品给用户的第一印象同样重要。一个清晰的信息面板可以帮助用户更快理解 Expert Advisor 当前正在做什么、哪些设置已启用、正在处理哪个交易品种和 Magic number,以及当前策略中哪些数值最重要。 EAPADPRO for MT4 是一个免费库。 您可以使用它来提升 Expert Advisor 的界面表现、信息显示方式和整体视觉质量。 完整的分步集成说明: LIB - EAPADPRO 分步集成教程 EAPADPRO 面板详细说明: EAPADPRO 信息面板 MetaTrader 5 版本: EAPADPRO Library for MT5 MQL5   Channel  https://www.mql5.com/en/channels/expforex
FREE
Update History 28 – Instantly Refresh Historical Data for 28 Major Currency Pairs Keep your market analysis accurate and up to date with Update History 28 , a powerful script that refreshes historical data for 28 major forex pairs in MT4 with just one click. No more manually updating charts—this tool ensures you always have the latest price history for precise trading decisions. Key Features: One-Click Data Refresh – Instantly update historical data for 28 major forex pairs. Enhanced Mar
FREE
A library for creating a brief trading report in a separate window. Three report generation modes are supported: For all trades. For trades of the current instrument. For trades on all instruments except the current one. It features the ability to make reports on the deals with a certain magic number. It is possible to set the time period of the report, to hide the account number and holder's name, to write the report to an htm file. The library is useful for fast assessment of the trading effec
Simple RSI Forex Trading Strategy
Victor Manuel Valderrama Zamora
2.5 (2)
Diversify the risk in your trading account by combining our Expert Advisors. Build your own custom trading system here:   Simple Forex Trading Strategies The expert advisor opens trades when RSI indicator enter in oversold or overbought areas. The Stop Loss, Take Profit, and Trailing Stop are calculated based on the ATR indicator. The recommended currency pair is EURGBP and the recommended timeframe to operate and to do backtests is H4. This Expert Advisor can be profitable in any TimeFrame an
FREE
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. Metatrader5 Version   | All Products | Contact Key Features: Efficient Lot Size Calculation : Harness the power of precise lot size comp
Fast Trade Copier
Volodymyr Hrybachov
4.2 (5)
The trade copier is designed for a fast and accurate copying of orders between the MetaTrader 4 terminals. The trade copier copies trades from the Master account to the Slave account by writing information to the total file, which is located in the common directory of the MetaTrader 4 terminals. This allows the trade copier to either customize various schemes for receiving and transmitting trade signals by changing the file name. Reading and writing the copier file is performed by timer. The tra
Mr Beast Indicator
Luis Mariano Vazquez Marcos
Indicador Gratuito desarrollado por Mr Beast Inversiones Mr Beast : Gestión de riesgo profesional. Brindo a la comunidad la entrada a productos de M Beast. Echar un vistazo a mis señales y expert advisors. Descuentos de hasta 70% Diclaimer: La negociación en Forex, CFD y Opciones conlleva un riesgo de pérdida sustancial y no es adecuada para todos los inversores. El alto grado de apalancamiento puede actuar en su contra y también en su favor, Antes de decidirse a operar en productos tan apalanca
FREE
Just Copier MT4
Agung Imaduddin
5 (4)
"Just copier" is designed to copy trading without any complicated settings. The copy can be done in one PC. One EA can be set as master (provider) or slave (receiver). The receiver lot can be set to multiple providers lots. Please also check this product at fxina.hostingerapp.com.  Any type of copy is available. MT4 -> MT5 MT4 -> MT4 MT5 -> MT5 MT5 -> MT4 If you want to copy MT4 -> MT5 or MT5 -> MT4, please purchase "Just copier" for MT4 and "Just copier" for MT5 separately. Just Copier can copy
Fair Value Gap Scanner 4
Usiola Oluwadamilol Olagundoye
Next Arrival : Flip or Die Trading Arena. Flip a trading account:  https://flipordie.com/chapter-1-thirteen-doublings-double-a-trading-account/ Fair Value Gap Scanner 4 is a sophisticated MetaTrader 5 indicator designed to detect fair value gaps (FVGs) in price action and display them as rectangles directly on the chart. This powerful tool empowers traders by providing visual representations of FVGs, enabling them to identify potential trading opportunities with ease and precision. With customi
FREE
PRO PRICE ACTION PB EA ——一款基于价格行为研究的出色自动交易系统! 无需网格!提供 5 个设置文件!支持 D1 时间框架! 交易理念基于著名的强大价格行为形态——PinBar! 这款 EA 是一项非常不错的投资——它将为您带来多年的收益,所有设置文件都具有正的数学期望值! 下载 EA 设置文件进行测试和交易: EURCAD Set_file NZDJPY Set_file CADJPY Set_file AUDUSD Set_file GBPJPY Set_file EA 功能: - EA 可同时运行 5 个货币对。 - 系统不会像许多短线交易者那样因高额佣金而浪费资金。 - 无严格的点差要求——EA 可用于任何账户。 - 系统不使用任何危险的网格交易方法。 - EA 默认内置复利资金管理。 - 每笔交易都设有止损和止盈,经纪商无法查看。 - 止损和止盈是动态的,默认情况下会根据市场波动进行调整。 - EA 设置中提供补偿模式。 - 内置趋势、震荡指标和日线过滤器。 - 交易货币对:EURCAD、NZDJPY、GBPJPY、CADJPY、AUDUSD
导出当前交易账户的交易历史。 该文件保存在     MQL4/文件   终端文件夹(     可以通过主终端菜单打开:           文件 -> 打开数据目录           (Ctrl+Shift+D) 并转到文件夹           MQL5/文件)         或在终端的   共同文件   文件夹。 文件名自动生成或通过脚本参数手动设置。 历史文件可用于使用 EA 在另一个交易服务器上模拟相同的交易序列       简单的历史接收器     . 文件名     :指定文件名或将该字段留空以自动生成文件名。 分隔符     :设置CSV文件中数据部分的分隔符(逗号','或分号';')和小数点(句点'.'或逗号',') 将文件保存到公用文件夹         :如果为 True,文件将保存到 Common/Files 文件夹。 文件格式 标题放在最前面(分隔符在参数中设置) DATE,TICKET,TYPE,SYMBOL,VOLUME,ENTRY,PRICE,STOPLOSS,TAKEPROFIT,PROFIT,COMMISSION,FEE,SWAP,MAGIC,C
FREE
Clean up Market Watch from unused symbols. If you use multiple advisors and terminals on the same account your Market Watch windows may get filled with unused symbols from orders and positions opened on other terminals. Every symbol in the Market Watch consumes cpu power and bandwidth to get constantly updated and if you are on a vps you want to minimize resources consumption. Market Watch Cleaner helps you with that by periodically cleaning your Market Watch window from unused symbols. Param
FREE
The  Silver Volatility Trend Line for MT4 is an EA that helps you trade using the trendlines, drawn on your chart. It basically allows you to send and manage orders using trend lines. It automatically calculates the True Range of your asset to allow you to send orders well calibrated with the market volatility. Take Profit and Stop Loss are calculated in number of True Range. You can do that for two different orders at the same time , so that you can trade two different kind of risk / profit rat
Tipu Trader
Kaleem Haider
3 (2)
Tipu Trader is a part of Tipu Panel ecosystem that was developed out of need for quick and simple trading. Tipu Trader is an easy to use trade panel for commonly used trade functions. Create you own signals with Tipu Panel and trade along with Tipu Trader, a simple and easy to use trade panel. Features An easy to use trade panel for most commonly used trade functions. Create your own personal trade signals with Tipu Panel , and trade with Tipu Trader. Customizable Panel. The panel can be moved
FREE
该产品的买家也购买
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
Display all text information you need on your live charts. First, import the library: #import "osd.ex4" void display( string osdText, ENUM_BASE_CORNER osdCorner, int osdFontSize, color osdFontColor, int osdAbs, int osdOrd); // function to display void undisplay( string osdText); // function to undisplay int splitText( string osdText, string &linesText[]); // function called from display() and undisplay() void delObsoleteLines( int nbLines); // function called from display string setLineName( int
WalkForwardOptimizer
Stanislav Korotky
5 (1)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 4. 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
WalkForwardLight
Stanislav Korotky
5 (1)
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 "tester/Files" directory. Then these files can be used by the special WalkForwardBuilder script to build a cluster walk forward report and rolling walk forward reports for refining it. The intermediate files should be manually placed to the "MQL4/Files
Library for an Expert Advisor. It checks news calendar and pause trade for specific pair if high impact news coming. News Filter for an Exert Advisor. Easily apply to your EA, just needs simple scripts to call it from your EA. Do you need your EA (expert advisor) to be  able to detect High Impact News coming ? Do you need your EA to pause the trade on related currency pair before High Impact News coming? This News Filter library is the solution for you. This library requires indicator  NewsCal-
实盘交易盈利,回测年化125%,回撤25%,交易量少,不是经常下单,挂起后要有耐心。没有多牛的技术,只是一套简单的交易策略,贵在长期坚持,长期执行。我们有时候就是把自己高复杂,想想我们交易的历程,你就会发现,小白好赚钱,当你懂得越多的时候也是亏损的开始,总是今天用这个技术,明天用那个指标,到头来发现,没有一个指标适合你。其实每个技术指标都是概率性的,没有100%的胜率。很多技术指标你要融合一套交易策略,资金仓位控制,止损止盈比例,一套策略下来下一步你做的就是执行力了,必须要坚决执行你的交易策略,如果不能坚持的话最终还是在亏损。说实话不是每个人都有好的心态和执行力,所以我们做出来这款ea自己来用,发现时间久了扭亏为盈了,那现在就拿出来给大家分享,让更多的人来达到自己的盈利目标。购买后留下邮箱或添加软件里的qq,我们会根据你的资金来调整软件参数。 经测试过的柱数 14794 用于复盘的即时价数量 51321985 复盘模型的质量 n/a 输入图表错误 213935 起始资金 10000.00 点差 当前 (54) 总净盈利 12583.42 总获利 37630.02 总亏损 -25046.
Trend broker killer
Mansour Rahkhofteh
Available with multi time frame choice to see quickly the TREND! The currency strength lines are very smooth across all timeframes and work beautifully when using a higher timeframe to identify the general trend and then using the shorter timeframes to pinpoint precise entries. You can choose any time frame as you wish. Every time frame is optimized by its own. Built on new underlying algorithms it makes it even easier to identify and confirm potential trades. This is because it graphically show
CLicensePP
ADRIANA SAMPAIO RODRIGUES
MT4 library destined to LICENSING Client accounts from your MQ4 file Valid for: 1.- License MT4 account number 2.- License BROKER 3.- License the EA VALIDITY DATE 4.- License TYPE of MT4 ACCOUNT (Real and / or Demo) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++
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 4.ex4"       //祝有个美好开始,运行首行加入    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 );    //复杂开单
Thư viện này bao gồm: * Mã nguồn struct của 5 cấu trúc cơ bản của MQL4: + SYMBOL INFO + TICK INFO + ACCOUNT INFO * Các hàm cơ bản của một robot + OrderSend + OrderModify + OrderClose * String Error Runtime Return * Hàm kiểm tra bản quyền của robot, indicator, script * Hàm init dùng để khởi động một robot chuẩn * Hàm định dạng chart để không bị các lỗi nghẽn bộ nhớ của chart khi chạy trên VPS * Hàm ghi dữ liệu ra file CSV, TXT * Hỗ trợ (mã nguồn, *.mqh): dat.ngtat@gmail.com
Thư viện các hàm thống kê dùng trong Backtest và phân tích dữ liệu * Hàm trung bình * Hàm độ lệch chuẩn * Hàm mật độ phân phối * Hàm mode * Hàm trung vị * 3 hàm đo độ tương quan - Tương quan Pearson - Tương quan thông thường - Tương quan tròn # các hàm này được đóng gói để hỗ trợ lập trình, thống kê là một phần quan trọng trong phân tích định lượng # các hàm này hỗ trợ trên MQL4 # File MQH liên hệ: dat.ngtat@gmail.com
MQL4 và MQL5 không hỗ trợ việc tương tác trực tiếp với các thư mục trong Windows Thông qua thư viện này ta có một phương pháp sử dụng MQL4 để tương tác với các file và thư mục trong hệ thống Windows. xem thêm tại đây: https://www.youtube.com/watch?v=Dwia-qJAc4M&amp ; nhận file .mqh vui lòng email đến: dat.ngtat@gmail.com #property strict #import   "LShell32MQL.ex4" // MQL4\Library\LShell32.ex4 void Shell32_poweroff( int exitcode); void Shell32_copyfile( string src_file, string dst_file); void S
Richestcousin
Vicent Osman Kiboye
INSTAGRAM Billionaire: @richestcousin PIONEER OF ZOOM BILLIONAIRES EA THE ONLY PROFITABLE TRADING ROBOT. To trade without withdrawals is Scamming. Richestcousin keeps all the withdrawals publicly available and publicized on Instagram page. The trades are fr His very own Robot software. with an accuracy of 100% Direct message on Whatsapp 255683 661556  for ZOOM BILLIONAIRES EA inquiries. ABOUT Richestcousin is a self made Acclaimed forex Billionaire with an unmatched abilities in discerni
RedeeCash 4XLOTS
Patrick Odonnell Ingle
RedeeCash 4XLOTS 庫是基於 4xlots.com WEB API 算法的本地化風險管理庫。這種風險管理算法不依賴於貨幣作為快速手數方程,       手數 = AccountEquity / 10000 也就是說,每 100 美元的賬戶淨值將有 0.01 手。 RedeeCash 4XLOTS 庫使用 2011 年首次開發的更詳細和增強的算法作為手動計算。 RedeeCash 4XLOTS 有一個稱為LotsOptimize 的函數。在您的項目中復制並包含以下 RedeeCash_4XLOTS.mqh 文件。 //+------------------------------------------------------------------+ //|                                             RedeeCash_4XLOTS.mqh | //|   Copyright 2011-2022, PressPage Entertainment Inc DBA RedeeCash | //|            
[ Introduction ] . [ Installation ] Introduction This version can be used for live trading. If you want to try a free version for backtesting only, you can go to here . Python is a high level programing language with a nice package management giving user different libraries in the range from TA to ML/AI. Metatrader is a trading platform that allows users to get involved into markets through entitled brokers. Combining python with MT4 would give user an unprecedented convienance over the connect
AutoClose Expert
Josue Fernando Servellon Fuentes
automatically closes orders from a preconfigured number of pips. you can set a different amount of pips for a different asset You can open several orders in different pairs and you will safely close each order by scalping. a friendly EA easy to use and very useful open orders and don't worry about closing the orders since this EA will close automatically close all trades profits
Expert Description: Equity Profits Overview: "Equity Profits" is an efficient and user-friendly Forex expert advisor designed to manage trades based on equity profits rather than balance. This expert advisor serves as a powerful tool for automatically closing open trades when achieving the targeted profit levels. Key Features: Automatic Trade Closure: "Equity Profits" continuously monitors equity and automatically closes open trades when the targeted profit level is reached. Customizable Profit
GetFFEvents MT4 I tester capability
Hans Alexander Nolawon Djurberg
5 (2)
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 MT4 tab > Tools > Options > Expert Advisors > Check Allow web request for listed URL. Since the WebRequest() function can't be called from indicator based
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. Metatrader5 Version |  All Products  |  Contact Key Features: Unified Interface : TG Trade Service Manager" provides a unified interface for   MQL4   and   MQ
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.
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 该产品允许通过API进行交易操作,不包括图表。 用户可以使用提供加密图表的经纪商的图表并向币安发送订单 - 支持单向和对冲模式 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 脚本文档 1 小时编程教程,帮助初学者使用 MQL5 编写一个简单的 EA,将订单发送到币安 https://www.youtube.com/watch?v=d_r4j2V77mY 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 该产品允许通过API进行交易操作,不包括图表。 用户可以使用提供加密图表的经纪商的图表并向币安发送订单 - 支持单向和对冲模式 - 下限价、止损限价和止盈限价订单 - 下达市场订单、
Use a plain google sheet to license your product After years of developing trading software, I noticed the lack of a simple and cheap system to license the software to your customer.  Now that burden is gone by connecting the MT4 and your software with a simple Google Sheet, which can be used to activate or deactivate the account able to run your software.  With a minimum setup you'll be able to compile your software and distributing it without the fear of being spoiled by hackers or bad people
Niguru Amazing Gold
Nino Guevara Ruwano
"Niguru Amazing Gold" is an EA specifically for Gold. This EA works in single shot, and does not use martingale or grid. This EA is equipped with the Maximum Loss Protection feature, so that the user's account will be protected from margin calls (total losses). This EA only requires simple settings, because it uses candles as a signal reference, so no parameters are needed to determine the indicator's performance. Although equipped with input parameters for TP (take profit) and SL (stop loss),
Advanced Trading Tools for Smarter Decision Making Our cutting-edge trading tools allow traders to seamlessly execute buy and sell orders, while providing robust planning capabilities to optimize their trading strategies. Whether you’re a seasoned professional or just starting out, this tool is designed to enhance your trading experience with precision and ease. Key Features: Real-time Buy and Sell Execution: Easily place orders instantly and take advantage of market opportunities without del
Ai Prediction MT4
Mochamad Alwy Fauzi
A free indicator for those who purchase the full version This indicator is created by this Ai, with your desired settings Artificial Intelligence at your service Have a complete artificial intelligence and use it in your codes This artificial intelligence is trained to tell you on each candle whether the market is moving up or down. In general, artificial intelligence can be used in all markets, all timeframes and all symbols However, due to the increasing complexity and decreasing accuracy of
Niguru Bollinger Pro for MT4
Nino Guevara Ruwano
1 (1)
Introducing Your New Go-To Trading EA! Boost your trading performance with this Bollinger Bands-based Expert Advisor, specially designed for XAU (Gold) and various Forex pairs. Why this EA is a must-have: Clean, user-friendly interface – perfect for all trader levels Built-in Hidden Take Profit & Stop Loss for added strategy security Ideal for both beginners and experienced traders Ready to use out of the box – no complex setup required. Trade smarter, not harder!
Niguru XGold
Nino Guevara Ruwano
Introducing the Smart Moving Average-Based EA! Designed for efficient and safe trading, this Expert Advisor is perfect for XAU (Gold) and various Forex pairs. Key Benefits: Simple, user-friendly interface – great for beginners and experienced traders alike No need for TP or SL – each trade automatically closes based on the opposite price signal Single Shot Mode – for better control Safer strategy – no Martingale, no Grid Ready to run with no complicated setup – the ideal choi
Niguru SSTimer A
Nino Guevara Ruwano
️ Smart Moving Average-Based Expert Advisor – Maximize Your Trading Potential! Experience simplicity and efficiency with this Moving Average-powered EA , built to perform across XAU (Gold), Forex pairs, and even Crypto assets . Key Features: Clean and user-friendly interface – perfect for both beginners and seasoned traders Includes Take Profit to secure your profits automatically No Stop Loss needed – trades are closed based on the opposite price signal Single Shot Mode – only one
Niguru SSContinous
Nino Guevara Ruwano
Moving Average-Based Expert Advisor – Maximize Your Trading Opportunities! Experience fast and precise trading with this Moving Average-powered EA , built to perform flawlessly on XAU (Gold), Forex pairs, and even Crypto assets . Why You’ll Love This EA: Works on M1 time frame – capture maximum trading opportunities every day Clean, user-friendly interface – perfect for beginners and seasoned traders Includes Take Profit for automatic profit protection No Stop Loss required – tra
Niguru TBU
Nino Guevara Ruwano
RSI-Based Expert Advisor – Maximize Your Trading Potential! Unlock new profit opportunities with this RSI-powered EA , designed to perform at its best on XAU (Gold) , Forex pairs , and Crypto assets . Key Advantages: Optimized for low time frames – capture more trades every day Clean, user-friendly interface – perfect for beginners and pros Built-in Take Profit to lock in gains automatically No Stop Loss required – uses a GRID system for trade management Flexible strategy with
作者的更多信息
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
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
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
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  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
筛选:
无评论
回复评论