• Overview
  • Reviews
  • Comments
  • What's new

EA Toolkit

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 installation explained above must be done in order to use this library.


Enumerations :

enum TRAILLING_STOP;
enum TRAILLING_STOP_CROSSING;
enum HOURS;
enum MINUTES;
enum POSITIONS;
enum ORDERS;


Functions :

long CandlesNumberSince(datetime since);
bool CheckMoneyForTrade(string symbol,double lot,ENUM_ORDER_TYPE type);
bool CloseFridayPositions(long magic,HOURS h,MINUTES m,bool close=true);
bool CloseOrders(long magic,int ORDERS);
bool ClosePositions(long magic,POSITIONS pos);
void Comment_(long magic,bool comment,double &profit_total[],double &profit_daily[]);
int CountDigits(double value,double precision_max=8.000000);
datetime DateDiff(datetime a,datetime b);
POSITIONS Direction(ENUM_ORDER_TYPE type);
POSITIONS Direction(ENUM_POSITION_TYPE type);
bool EarlierEqThan(HOURS hour,MINUTES minute);
bool EarlierThan(HOURS hour,MINUTES minute);
bool FirstTick(MqlRates &candles[]);
double GetLot(double risk,int point);
double GetLot(double risk,int point,bool money_managment,double fixed_lot);
double GetMaxClose(MqlRates &candles[],int from=1,int to=10);
double GetMaxOpen(MqlRates &candles[],int from=1,int to=10);
double GetMaxPrice(MqlRates &candles[],int from=1,int to=10);
double GetMaxSpread(MqlRates &candles[],int from=1,int to=10);
double GetMinClose(MqlRates &candles[],int from=1,int to=10);
double GetMinOpen(MqlRates &candles[],int from=1,int to=10);
double GetMinPrice(MqlRates &candles[],int from=1,int to=10);
double GetMinSpread(MqlRates &candles[],int from=1,int to=10);
bool LaterEqThan(HOURS hour,MINUTES minute);
bool LaterThan(HOURS hour,MINUTES minute);
bool MarketOpen(void);
double MeanCandlesSize(MqlRates &candles[],int nb);
bool ModifyPosition(void);
bool Movement(MqlRates &candles[],int mean_sup,int nb_mean_sup,int mean_inf,int nb_mean_inf);
bool NewCandle(datetime &previous);
int PeriodToInt(ENUM_TIMEFRAMES period);
void Profit(long magic,int &last_day,double &capital_daily,double &profit_total[],double &profit_daily[]);
void Profit_daily(long magic,double &result[]);
void Profit_since(long magic,double &result[],datetime since);
double SLBuy(double bid,long SL);
double SLSell(double ask,long SL);
datetime Start_day(void);
datetime Start_day(datetime day);
int TotalOperations(long magic);
int TotalOperationsBuy(long magic);
int TotalOperationsSell(long magic);
int TotalOrders(long magic);
int TotalOrdersBuy(long magic);
int TotalOrdersSell(long magic);
int TotalPositions(long magic);
int TotalPositionsBuy(long magic);
int TotalPositionsSell(long magic);
double TPBuy(double ask,long TP);
double TPSell(double bid,long TP);
bool TradeDays(bool monday,bool tuesday,bool wednesday,bool thursday,bool friday,bool saturday=false,bool sunday=false);
bool TradeHours(bool time_filter,HOURS start_hour,MINUTES start_minute,HOURS end_hour,MINUTES end_minute);
bool TraillingStop(TRAILLING_STOP sl_type,MqlRates &candles[],long magic,int sl,double &ma_buff[],int sl_min,int sl_quick_q,int sl_start_q,int ratio,int mean_nb_candles,int sl_i,int sl_start_i,int nb_candles_i,int sl_increase,int max_increase,int min_decrease);
bool TraillingStop(TRAILLING_STOP_CROSSING sl_type,MqlRates &candles[],long magic,int sl,double &ma1_buff[],double &ma2_buff[],int sl_min,int sl_quick_q,int sl_start_q,int ratio,int mean_nb_candles,int sl_i,int sl_start_i,int nb_candles_i,int sl_increase,int max_increase,int min_decrease);
bool TraillingStopFixe(double ask,double bid,long magic,int sl);
bool TraillingStopIncreasing(double ask,double bid,long magic,int sl,int sl_start,int nb_candles,int sl_increase,int max_increase,int min_decrease);
bool TraillingStopMa(double ask,double bid,long magic,double &buff[],int sl_min);
bool TraillingStopMeanMoving(double ask,double bid,long magic,MqlRates &candles[],int ratio,int mean_nb_candles);
bool TraillingStopQuickSecurity(double ask,double bid,long magic,int sl,int sl_start);
bool UpdateBuffer(int handle,double &buff[],int size,int shift=0);
bool UpdateCandles(MqlRates &candles[],int size,int shift=0);


If you want to add new functions in this library, modify some or you found bugs, please inform me by private message


Some robots that use the EA Toolkit :

https://www.mql5.com/en/market/product/94056

https://www.mql5.com/en/market/product/89515

https://www.mql5.com/en/market/product/90132

Recommended products
Srfire Hedge Position
Javier Antonio Gomez Miranda
SRFire Hedge Position - Automated Trading Strategy SRFire Hedge Position is an Expert Advisor (EA) designed to ensure trades always close in profit using a hedging and scaling technique. Here’s how it works: How It Works: Trade Initiation: The EA opens a Buy position within a predefined channel. Simultaneously, it places a Sell Stop order below the channel with double the lot size of the Buy position. If the Buy position hits the Take Profit (TP), the Sell Stop order is canceled, and the proces
Manyal trading system, CovEchoTrend Robot, focuses on reliability and flexibility. By employing statistical analysis methods to study the relationships between the base indicator and market patterns, the system enables a deeper understanding of market processes. Intelligent pattern analysis: The application of statistical data processing helps identify key trend reversal points more accurately, signaling significant market shifts. Informed decision-making is based on the intersection of indicato
The UZFX - Close All Open Buy & Sell Orders Instantly script for MetaTrader 5 (MT5) 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. Checkout All Other Products -->  HERE Features: Closes all open Buy and Sell positions across all symbols. Uses the latest Bid/Ask price for accu
Phoenix Plus
Dang Cong Duong
At first, I got my teeth into  Phoenix  Ultra   Expert Advisor. This   Expert Advisor  will support automatic close order if the direction is correct and perform recovery if the direction is wrong. If you enter an order: 1. The price goes in the right direction and hits the   Min Profit Point ,   trailing stop 20% of the current profit. 2. The price goes in the opposite direction, the Expert Advisor will place the order with the volume is   Recovery Volume Percent  at the input, the distance to
| Fully-automated Smart Money Concept (ICT) inspired trading solution with multi-strategy capabilities | Built by a grid trader >> for grid traders.  This is MT5 version, click  here  for  Blue CARA MT4  (settings and logics are same in both versions)     Real monitoring signal  -->  Cara Gold Intro Blue CARA EA   ('CARA') - short for  C omprehensive  A lgorithmic   R esponsive   A dvisor is a next-gen  multi-currency    multi-timeframe  EA base on the widely known (and perhaps the most popul
Pro Experience Only 4 copies available for $99.00. Next price 199 USD ECN Pro Experience is a scalping strategy based on breaking through strong price levels. One of the oldest and most reliable strategies with the author's modernization for the current market. The strategy does not require any optimizations. We installed it on the chart according to the recommendation and enjoy trading!!! Advantages of ECN Pro Experience: - optimal SL/TP ratio - low SL, which makes the system as safe as possi
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.
Based on the trading model/strategy/system of gold double-position hedging and arbitrage launched by Goodtrade Brokers, problems encountered in daily operations: 1. Account B immediately places an order immediately following account A. 2: After account A places an order, account B will automatically copy the stop loss and take profit. 3: Account A closes the position of Account B and closes the position at the same time. 4: When account B closes the position, account A also closes the position.
Daytrade Pro Algo MT5
Profalgo Limited
4.1 (10)
Launch Promo: Limited number of copies available at current price Final price: 990$ NEW: get 1 EA for free! (for 2 trade accounts) Ultimate Combo Deal   ->   click here LIVE RESULTS:   https://www.mql5.com/en/signals/1949810 JOIN PUBLIC GROUP: Click here Set Files Welcome to DayTrade Pro Algo!  After years of studying the markets and programming different strategies, I have found an algorithm that has everything a good trading system needs: It is broker independent It is spread independent It
PZ Mean Reversion MT5
PZ TRADING SLU
3 (2)
Outperform traditional strategies: effective mean reversion for savvy traders Unique indicator that implements a professional and quantitative approach to mean reversion trading. It capitalizes on the fact that the price diverts and returns to the mean in a predictable and measurable fashion, which allows for clear entry and exit rules that vastly outperform non-quantitative trading strategies. [ Installation Guide | Update Guide | Troubleshooting | FAQ | All Products ] Clear trading signals Am
Premium level is a unique indicator with more than 80% accuracy of correct predictions! This indicator has been tested for more than two months by the best Trading Specialists! The author's indicator you will not find anywhere else! From the screenshots you can see for yourself the accuracy of this tool! 1 is great for trading binary options with an expiration time of 1 candle. 2 works on all currency pairs, stocks, commodities, cryptocurrencies Instructions: As soon as the red arrow app
The SMC Venom Model BPR indicator is a professional tool for traders working within the Smart Money (SMC) concept. It automatically identifies two key patterns on the price chart: FVG   (Fair Value Gap) is a combination of three candles, in which there is a gap between the first and third candles. It forms a zone between levels where there is no volume support, which often leads to a price correction. BPR   (Balanced Price Range) is a combination of two FVG patterns that form a “bridge” - a zon
Brent Oil
Babak Alamdar
3.67 (9)
“Two Expert Advisors, One Price: Fueling Your Success!”  Brent Oil Scalping Expert + Brent Oil Swingy Expert in one Expert Advisor   Live signal This price is temporary for the duration of the promotion and will be raised shortly Final Price: 5000 $ There are only a few copies left at the current price, the next price is -->> 1120 $ Welcome to the Brent Oil Brent Oil expert advisor is a powerhouse, engineered to master the volatile energy markets with precision and agility. Brent Oil is not
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 );    //复杂开单
The key logic of SignalTech is generated by Artificial Intelligence. The machine learning module should continue optimizing the core logic on the server side to guarantee that SignalTech System can accurately track the market's movement.  SignalTech can generate AI based signals with Buy/Sell Arrows and Pop-Up/Sound Alerts. Each signal has clear Entry and stop Loss levels, which should be automatically flagged on the chart, as well as potential Targets 1, 2, and 3. SignalTech can work on EURU
Trend Sentry Pro
K2021665571 (SOUTH AFRICA)
Product Description Trend Sentry Pro is a sophisticated fully automated long-only Expert Advisor (EA) that capitalizes on upward trends using an advanced trend-line indicator. The EA opens buy positions when the price closes above the trend line, signaling a confirmed bullish trend, and closes trades when the price falls below the trend line, marking a potential trend reversal. This approach allows Trend Sentry Pro to fully capture upward movements while minimizing losses. With adaptive ATR-base
Indices Scalper EA
Igor Widiger
1 (1)
Indices Scalper EA offers functions: start trading, end trading, close order (time), pending order placement (time), tralling stop (automatic according to strategy), trading can be switched off, daily range (strategy), stop loss on the day (risk management), stop loss (risk management), take profit (money management), traling stop and tralling step (strategy), risk per order (risk management) and much more! With a newly developed stop system and with a never-before-seen algorithm, Indices Scal
FREE
Live signal https://www.mql5.com/en/users/datbh/seller [MT4 version: https://www.mql5.com/en/market/product/93601 ] ! Next price --> $699 and final: 1779$ This is a smart grid-based automated trading system, meticulously developed from over a decade of trading experience. The system leverages quantitative analysis, trend evaluation, and key resistance levels to execute precise entries. Our EA specializes in trading three major currency pairs: AUDCAD NZDCAD AUDNZD Designed with both efficiency a
Mt5TradeCopier
Mcblastus Gicharu Ndiba
Forex Trade copier MT5.  It copies forex trades, positions, orders from any accounts to any other account,  MT5 even multiple accounts. The unique copying algorithm exactly copies all trades from the master account to your client account. It is also noted for its high operation speed and Tough error handling. It also can copy from demo account to live account too. It is one of the best free trade copiers that can do ,  MT5 or to multiple accounts  MT5 to multiple accounts  Features of Trade Copi
Stormer RSI 2
Ricardo Rodrigues Lucca
This strategy was learned from Stormer to be used on B3. Basically, 15 minutes before closing the market, it will check RSI and decided if it will open an position. This strategy do not define a stop loss. If the take profit reach the entry price it will close at market the position. The same happens if the maximal number of days is reached. It is created to brazilian people, so all configuration are in portuguese. Sorry Activations allowed have been set to 50.
RSI Grid MT5
Joseph Anthony Aya-ay Yutig
GET OTHER EAs FOR FREE!!!  GET OTHER EAs FOR FREE!!!  GET OTHER EAs FOR FREE!!!  GET OTHER EAs FOR FREE!!!  GET OTHER EAs FOR FREE!!!  RSI Grid is based on the RSI overbought and oversold conditions and opens a grid when the trade is on the losing side of the market. The RSI provides technical traders with signals about bullish and bearish price momentum, and it is often plotted beneath the graph of an asset’s price. An asset is usually considered overbought when the RSI is above 70% and overso
Tools for earning and research. The core of the trading signals and strategy is based on the author's algorithm for the formation of price forecasting patterns. Applicable to any instrument! Supplemented with a control system based on the MA "Nine-Tailed Fox" , updating and adjusting the signal as accurately as possible for the market, instrument and period of work. Eligible: All instruments in all markets (there are exceptions). Who it's for: hedge funds, fund and asset managers, investment
Our   Basic Support and Resistance   indicator is the solution you need to boost your technical analysis. This indicator allows you to project support and resistance levels on the chart /   MT4 Version Features Integration of Fibonacci Levels:  With the option to display Fibonacci levels alongside support and resistance levels, our indicator gives you an even deeper insight into market behavior and possible reversal areas. Performance Optimization:  With the option to update extended lines onl
Introduction to the Manual Backtesting Indicator on MQL5 The MetaTrader platform provides an excellent backtesting tool for evaluating Expert Advisors (EAs). However, when it comes to manually backtesting a strategy to assess its effectiveness, this tool has some limitations: You cannot manually draw zones or trend lines while in backtesting mode. You cannot switch timeframes to check time alignment. For example, if my strategy requires additional confirmation from a higher timeframe (HTF), this
R Factor EA MT5
Raphael Minato
5 (4)
R FACTOR Multi Strategy Expert Advisor with Proprietary Dynamic Portfolio Management System After 4 years of development and more than  3  years of real positive results, R Factor is available for MQL5 community! It has always been important for us that the strategies performed positively for the creator before it could be shared.  Skin In The Game is essential to demonstrate the belief in the strategy and also to provide a continuous improvement of it. Anyone who has been in this market for s
Santa Scalping MT5
Morten Kruse
3.33 (3)
Santa Scalping is a fully automated Expert Advisor with no use of martingale. Night scalping strategy. The SMA indicator filter are used for entries. This EA can be run from very small accounts. As small as 50 EUR. General Recommendations The minimum deposit is 50 USD,  default settings reccomend for eurusd m5 gmt +2 . Please use max spread 10 if you will not have orders change it to -1. Use a broker with good execution and with a spread of 2-5 points. A very fast VPS is required, preferably wi
Nmt5
Liang Qi Quan
这段代码是一个简单的交易专家顾问(Expert Advisor)示例,主要功能如下: 使用两个移动平均线(MA)作为交易信号: 快速MA(FastMA)和慢速MA(SlowMA) 初始化函数(OnInit): 创建两个MA指标句柄 设置数组为时间序列模式 清理函数(OnDeinit): 释放指标句柄,防止内存泄漏 主要交易逻辑(OnTick): 获取最新的MA值 判断趋势和交易信号 在无持仓时执行交易 交易规则: 上升趋势+买入信号时开多单 下降趋势+卖出信号时开空单 使用固定的止损和止盈点数 风险管理: 使用输入参数设置交易手数、止损和止盈 每次只允许一个持仓(inTrade变量) 使用MQL5的Trade库进行交易操作,简化了下单过程 这个EA适合初学者学习,展示了基本的EA结构和简单的交易策略实现方法。但在实际使用前,还需要进行更多的测试和优化。
Project IG MT5
Ruslan Pishun
1.57 (7)
The EA is not a scalper. The EA uses a strategy based on the breakdown of local support and resistance levels, also uses the reverse and rebound from support and resistance levels.  The EA is based on the original author's strategy. Real monitoring:   https://www.mql5.com/en/signals/author/profi_mql Detailed description of the strategy here:  https://www.mql5.com/ru/blogs/post/728430 This is a link for general discussion of the EA:  https://www.mql5.com/ru/blogs/post/728430 Hidden Take profit,
Magic EA MT5
Kyra Nickaline Watson-gordon
Magic EA is an Expert Advisor based on Scalping, Elliot Waves and with filters such as RSI, Stochastic and 3 other strategies managed and decided with the robot smartly. Large number of inputs and settings are tested and optimized and embedded in the program thus inputs are limited and very simple. Using EA doesn't need any professional information or Forex Trading Knowledge. EA can trade on all symbols and all time frames, using special and unique strategies developed by the author. The EA w
Cleopatra EA MT5
Nestor Alejandro Chiariello
Hello Traders! I present to you the "Cleopatra" Cleopatra a beautiful and intelligent design, with a recovery form that constantly adapts where its power is versatility . Its main strategy is to read the market in its elasticity, we can analyze the entry range in different ways. This can be very dynamic at different TF and different ranges, with handling queries on market news. Cleopatra has great power to adapt to market recovery , its patterns are not fixed , we also have different types of p
Buyers of this product also purchase
*****The main trading is XAUUSD. If testing, it is recommended to adjust to XAUUSD. Other trading targets cannot guarantee profitability********* If you need to test, please leave a message (I will reply as soon as I see it). In order to protect the work results, specific parameters need to be entered. The default parameters of the system cannot achieve the effect shown in the screenshot pullback! If you need to test, please leave a message (I will reply as soon as I see it). In order to prot
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
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
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
Kaseki
Ben Mati Mulatya
The Hybrid Metaheuristic Algorithm (HMA) is a cutting-edge optimization approach that combines the strengths of genetic algorithms with the best features of population-based algorithms. Its high-speed computation ensures unparalleled accuracy and efficient search capabilities, significantly reducing the total time required for optimization while identifying optimal solutions in fewer iterations. HMA outperforms all known population optimization algorithms in both speed and accuracy. Use Cases AO
Bookeepr
Marvellous Peace Kiragu
Bookeepr is an advanced MQL5 trading bookkeeping software that automates trade logging, tracks real-time P&L, and integrates a ledger-style financial system for deposits, withdrawals, and expenses. It supports multi-currency assets , generates detailed performance reports , and provides risk management tools to help traders optimize their strategies. With secure cloud storage, exportable reports, and seamless MetaTrader 5 integration , Bookeepr ensures accurate, transparent, and hassle-free fina
Ai Prediction MT5
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
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.
*****The main trading is XAUUSD. If testing, it is recommended to adjust to XAUUSD. Other trading targets cannot guarantee profitability********* If you need to test, please leave a message (I will reply as soon as I see it). In order to protect the work results, specific parameters need to be entered. The default parameters of the system cannot achieve the effect shown in the screenshot pullback! If you need to test, please leave a message (I will reply as soon as I see it). In order to prot
This library will allow you to manage trades using any of your EA and its very easy to integrate on any EA which you can do yourself with the script code which is mentioned in description and also demo examples on video which shows the complete process. This product allows trading operations via API For chart : Renting Crypto Charting for OHLC data or Crypto Ticks with Order Book Depth is optional If your EA is HFT and operations on seconds chart, You may be interested in converting charts to se
Native Websocket
Racheal Samson
5 (5)
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
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  
If you're a trader looking to use Binance.com and Binance.us exchanges directly from your MetaTrader 5 terminal, you'll want to check out Binance Library MetaTrader 5. This powerful tool allows you to trade all asset classes on both exchanges, including Spot, USD-M   and COIN-M futures, and includes all the necessary functions for trading activity. With Binance Library MetaTrader 5, you can easily add instruments from Binance to the Symbols list of MetaTrader 5, as well as obtain information ab
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
MetaCOT 2 CFTC ToolBox MT5
Vasiliy Sokolov
3.67 (3)
MetaCOT 2 CFTC ToolBox is a special library that provides access to CFTC (U.S. Commodity Futures Trading Commission) reports straight from the MetaTrader terminal. The library includes all indicators that are based on these reports. With this library you do not need to purchase each MetaCOT indicator separately. Instead, you can obtain a single set of all 34 indicators including additional indicators that are not available as separate versions. The library supports all types of reports, and prov
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        - 
Gold plucking machine S   Gold plucking machine  S Gold plucking machine S   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
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
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. 
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 installation
This library is used for sorting key and value arrays, we often need to sort values. like in the python language sorted(key_value.items(), key = lambda kv:(kv[ 1 ], kv[ 0 ])) import function Example of usage scenarios 1. Grid EA orders are sorted according to the opening price void SortedByOpenPride()   {    long     OrderTicketBuffer[];    double   OpenPriceBuffer[];    for ( int i = PositionsTotal ()- 1 ; i>= 0 ; i--)      {        if (m_position.SelectByIndex(i))         {          Order
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
More from author
Otter Scalper Gold
Esteban Thevenon
Otter Scalper Gold is an expert advisor that operates on the breakout strategy. The EA detects the highs and lows based on a specified range of candles and places Stop or Limit Orders accordingly. Otter Scalper Gold provides several types of stop loss options, including a wide choice of different stop losses to match your trading strategies. The EA includes advanced money management and risk management systems to help minimize losses and maximize profits. You can use Otter Scalper Gold for scalp
Otter Scalper
Esteban Thevenon
Otter Scalper is a 100% automated trading robot. It uses a very effective breakout strategy. The money management is automatic. A position is taken when a high or low is reached. The position is secured as soon as possible and followed with a trailing stop loss. As the average profit is small, it is advisable to trade with a small spread. The performance of the robot can therefore change depending on your broker. It is also strongly recommended not to use this robot if your broker uses commissi
Deer Ma
Esteban Thevenon
5 (1)
Deer Ma is a highly advanced trading robot designed for efficient trading in the financial markets. This fully automated software utilizes two moving averages and other advanced indicators to analyze the markets and make trading decisions based on scalping or trend trading strategies. The software's cutting-edge algorithm ensure that it can quickly and accurately identify trades, while its advanced money management features enable it to minimize risk and optimize the results. Whether you are a n
Filter:
No reviews
Reply to review
Version 1.35 2023.05.28
Add :

int TotalOperationsBuy(long magic)
int TotalOperationsSell(long magic)
bool NewCandle(datetime &previous)
bool ModifyPosition()
double GetLot(double risk, int point)
double GetLot(double risk, int point, bool money_managment, double fixed_lot)
bool LaterThan(HOURS hour, MINUTES minute)
bool LaterEqThan(HOURS hour, MINUTES minute)
bool EarlierThan(HOURS hour, MINUTES minute)
bool EarlierEqThan(HOURS hour, MINUTES minute)
enum ORDERS
bool CloseOrders(long magic, ORDERS order)

Update :
bool TraillingStopIncreasing(double ask, double bid, long magic, int sl, int sl_start, int nb_candles, int sl_increase, int max_increase, int min_decrease)
bool TraillingStopMeanMoving(double ask, double bid, long magic, MqlRates &candles[], int ratio, int mean_nb_candles)
bool TraillingStopQuickSecurity(double ask,double bid, long magic, int sl, int sl_start)
bool TraillingStopMa(double ask,double bid,long magic, double &buff[], int sl_min)
bool TraillingStopFixe(double ask, double bid, long magic, int sl)
Version 1.18 2023.03.04
1 function update:
-TradeDays
Version 1.17 2023.02.20
17 new functions :
-Direction
-Direction
-GetMaxClose
-GetMaxOpen
-GetMaxPrice
-GetMaxSpread
-GetMinClose
-GetMinOpen
-GetMinPrice
-GetMinSpread
-TotalOperations
-TotalOrders
-TotalOrdersBuy
-TotalOrdersSell
-TotalPositions
-TotalPositionsBuy
-TotalPositionsSell