• Overview
  • Reviews
  • Comments

MyTradingHistory

An easy-to-use library that provides developers with straightforward access to key trading statistics for their MQL5 EAs.

Available methods from the library:

Account Data & Profit:

  • GetAccountBalance() : Returns the current account balance.
  • GetProfit() : Returns the net profit from all trades.
  • GetDeposit() : Returns the total amount of deposits.
  • GetWithdrawal() : Returns the total amount of withdrawals.

Trading Analysis:

  • GetProfitTrades() : Returns the number of profitable trades.
  • GetLossTrades() : Returns the number of losing trades.
  • GetTotalTrades() : Returns the total number of executed trades.
  • GetShortTrades() : Returns the number of short trades.
  • GetLongTrades() : Returns the number of long trades.
  • GetWinLossRatio() : Returns the ratio of winning to losing trades.
  • GetAverageProfitTrade() : Returns the average profit per profitable trade.
  • GetAverageLossTrade() : Returns the average loss per losing trade.
  • GetROI() : Calculates the return on investment.
  • GetLargestProfitTrade() : Returns the largest profit from a single trade.
  • GetLargestLossTrade() : Returns the largest loss from a single trade.
  • GetShortTradesWon() : Returns the percentage of successful short trades.
  • GetLongTradesWon() : Returns the percentage of successful long trades.

Trade Profit Array:

  • GetTradeProfitArray(double &outputArray[]) : Returns an array of profits for each individual trade, enabling detailed trade result analysis.

Sample code below:

// Import the external MyTradingHistory.ex5 module
#import "MyTradingHistory.ex5"
   void UpdateValues(void);                         // Updates the trading data from the MyTradingHistory library. EXECUTE THIS EVERY TIME YOU WANT TO UPDATE THE VALUES, e.g. after closing a trade or before retreiving the value for the first time.
   void GetTradeProfitArray(double &outputArray[]); // Retrieves an array of profits from closed trades
   double GetAccountBalance(void);                 // Returns the current account balance
   double GetProfit(void);                         // Returns the net profit
   double GetDeposit(void);                        // Returns the total deposit amount
   double GetWithdrawal(void);                     // Returns the total withdrawal amount
   int GetProfitTrades(void);                      // Returns the number of profitable trades
   int GetLossTrades(void);                        // Returns the number of loss trades
   int GetTotalTrades(void);                       // Returns the total number of trades
   int GetShortTrades(void);                       // Returns the number of short trades
   int GetLongTrades(void);                        // Returns the number of long trades
   double GetWinLossRatio(void);                   // Returns the win-to-loss ratio
   double GetAverageProfitTrade(void);             // Returns the average profit per trade
   double GetAverageLossTrade(void);               // Returns the average loss per trade
   double GetROI(void);                            // Returns the return on investment (ROI)
   double GetLargestProfitTrade(void);             // Returns the largest profit from a single trade
   double GetLargestLossTrade(void);               // Returns the largest loss from a single trade
   double GetShortTradesWon(void);                 // Returns the percentage of short trades won
   double GetLongTradesWon(void);                  // Returns the percentage of long trades won
#import

// OnInit is executed when the script starts
int OnInit()
{
   // Update internal data from the imported module
   UpdateValues();

   // Prepare a string to display account and trade summary
   string output = "Account Balance: " + DoubleToString(GetAccountBalance(), 2) + "\n" +
                   "Net Profit: " + DoubleToString(GetProfit(), 2) + "\n" +
                   "Deposit: " + DoubleToString(GetDeposit(), 2) + "\n" +
                   "Withdrawal: " + DoubleToString(GetWithdrawal(), 2) + "\n" +
                   "Profit Trades: " + IntegerToString(GetProfitTrades()) + "\n" +
                   "Loss Trades: " + IntegerToString(GetLossTrades()) + "\n" +
                   "Total Trades: " + IntegerToString(GetTotalTrades()) + "\n" +
                   "Short Trades: " + IntegerToString(GetShortTrades()) + "\n" +
                   "Long Trades: " + IntegerToString(GetLongTrades()) + "\n" +
                   "Win/Loss Ratio: " + DoubleToString(GetWinLossRatio(), 2) + "\n" +
                   "Average Profit per Trade: " + DoubleToString(GetAverageProfitTrade(), 2) + "\n" +
                   "Average Loss per Trade: " + DoubleToString(GetAverageLossTrade(), 2) + "\n" +
                   "ROI: " + DoubleToString(GetROI(), 2) + "\n" +
                   "Largest Profit Trade: " + DoubleToString(GetLargestProfitTrade(), 2) + "\n" +
                   "Largest Loss Trade: " + DoubleToString(GetLargestLossTrade(), 2) + "\n" +
                   "Short Trades Won: " + DoubleToString(GetShortTradesWon(), 2) + "%\n" +
                   "Long Trades Won: " + DoubleToString(GetLongTradesWon(), 2) + "%\n";

   // Add trade profit array data to the output
   output += "Trade Profit Array (First 5 Trades): ";
   double tradeProfitArray[]; // Declare an array to store trade profit data
   GetTradeProfitArray(tradeProfitArray); // Fetch trade profit data

   // Loop through the first 5 trades and append their profit values to the output
   for (int i = 0; i < MathMin(5, ArraySize(tradeProfitArray)); i++)
   {
      output += DoubleToString(tradeProfitArray[i], 2) + ", ";
   }

   // Append the last trade's profit value
   output += "...\nLast Closed Trade: ";
   int size = ArraySize(tradeProfitArray); // Get the size of the trade profit array
   if (size > 0)
      output += DoubleToString(tradeProfitArray[size - 1], 2); // Append the last trade's profit
   else
      output += "No trades available."; // Handle the case where no trades exist

   // Display the summary as a comment on the chart
   Comment(output);

   // Signal successful initialization
   return(INIT_SUCCEEDED);
}


Your feedback is welcome and appreciated. Please share your thoughts and questions before&after purchase.






















Recommended products
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  
The library is used to develop automatic trading on Binance Futures Market from MT5 platform. Support all order types: Limit, Market, Stop-Limit, Stop-Market , StopLoss and TakeProfit. Automatically display the chart on the screen. Usage: - Open MQL5 demo account -  Download Header file and EA sample https://drive.google.com/uc?export=download&id=17fWrZFeMZoSvH9-2iv4WDJhcyxG2eW17 Copy BinanceFutures.mqh header file to folder \MQL5\Include Copy  BinanceFuturesEA-Sample.mq5 to folder \MQL5\Expe
Ajuste BRA50
Claudio Rodrigues Alexandre
4.4 (5)
Este script marca no gráfico do ativo BRA50 da active trades o ponto de ajuste do contrato futuro do Mini Índice Brasileiro (WIN), ***ATENÇÃO***  para este script funcionar é necessário autorizar a URL da BMF Bovespa no Meta Trader. passo a passo: MetaTrader 5 -> Ferramentas -> Opções -> Expert Adivisors * Marque a opção "Relacione no quadro abaixo as URL que deseja permitir a função WebRequest" e no quadro abaixo adicione a URL: https://www2.bmf.com.br/ este indicador usa a seguinte página pa
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. Metatrader4 Version |  All Products  |  Contact   Key Features: Efficient Lot Size Calculation : Harness the power of precise lot size
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 c
The Quantitative Qualitative Estimation (QQE) indicator is derived from Wilder’s famous Relative Strength Index (RSI). In essence, the QQE is a heavily smoothed RSI. Modification of this version: ( converted from tradingview script by Mihkell00, original from Glaz) So there are Two QQEs. One that is shown on the chart as columns, and the other "hidden" in the background which also has a 50 MA   bollinger band   acting as a zero line. When both of them agree - you get a blue or a red bar.
This utility copies the trading activity from MT5 to Binance Futures USD-M . Manual or trades from EAs. - Can handle multiple orders with different SL and TP. Can handle partial closes. - In the parameters, you can establish a mutliplier between the size on MT5 and the size to open on Binance. - You can filter the symbols to monitor on metatrader, and also the magic number range. - The EA uses hedge mode on binance, and for decrease risk exposure uses isolate margin mode on each binance
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
The MetaCOT 2 CFTC ToolBox Demo is a special version of the fully functional MetaCOT 2 CFTC ToolBox MT5 library. The demo version has no restrictions, however, unlike the fully functional version, it outputs data with a delay. The library provides access to the 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 sepa
FREE
Market book tester
Aliaksandr Hryshyn
1 (1)
Using data from the order book in the strategy tester Key features: Simultaneous use of several symbols, up to 7 pieces DOM visualization With the visualization of order books, real-time simulation is available, as well as acceleration or deceleration Working with the library: This product also requires a utility to save data:  https://www.mql5.com/en/market/product/71642 Speed control utility:  https://www.mql5.com/en/market/product/81409 Include file:   https://c.mql5.com/31/735/Market_book_s
FREE
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 / OnBookEv
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,
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
Graphic Shapes -using history, it projects four types of graphical shapes at the moment, allowing you to determine the main ranges of price movement in the future, as well as gives an understanding of the main market reversals, while giving entry points by priority!The panel contains three types of figure sizes expressed by timeframes. They allow you to conduct a complete market analysis without using additional tools! The indicator is a powerful tool for forecasting price movements in the forex
Tim Trend
Oleksii Ferbei
Due to the fact that at each separate period of time, trading and exchange platforms from different parts of the planet are connected to the trading process, the Forex market operates around the clock. Depending on which continent trading activity takes place during a certain period, the entire daily routine is divided into several trading sessions. There are 4 main trading sessions: Pacific. European. American Asian This indicator allows you to see the session on the price chart. You can als
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
Market View MT5
Kyra Nickaline Watson-gordon
Definition : Market View is a dashboard (scanner) to view price graphs of all symbols and all timeframes at a glance. The utility is designed user friendly and added a wide range of customization options. Main features of Market View : Visual settings window on the chart Customizable list of symbols and timeframes Different shapes : Real Candles, Schematic Candles, Arrows Customizable number of candles Changeable size of dashboard (scanner) Highlight timeframes with gaps on candles Open appr
OpenAI Library MT5
VitalDefender Inc.
The following library is proposed as a means of being able to use the OpenAI API directly on the metatrader, in the simplest way possible. For more on the library's capabilities, read the following article: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual IMPORTANT: To use the EA you must add the following URL to allow you to access the OpenAI API as shown in the attached images In order to use the library, you must include the following Hea
MA Gold Sniper Entry
Samson Adekunle Okunola
Maximize Your Trading Potential with Our MA Gold Sniper Entry EA Transform your trading experience with our expertly designed EA, engineered to deliver consistent profitability and optimal performance. Safe Trading Approach: No Risky Strategies: Avoids using high-risk trading styles such as grid or martingale systems, ensuring a safer and more stable trading experience. Consistent Methodology: Employs a proven and reliable trading strategy focused on long-term success and sustainability. Key
Unleash the Power of Precision Trading with XScalpGenesis Experience a new era of trading with XScalpGenesis, the ultimate expert advisor designed to revolutionize your trading experience. With its cutting-edge features and intuitive interface, XScalpGenesis empowers you to navigate the markets with unparalleled precision and efficiency. Exclusive Launch Offer Seize the opportunity to acquire XScalpGenesis at an unbeatable introductory price. As an early adopter, you can secure this groundbr
This indicator delves into using standard deviations as a tool in trading, specifically within the Inner Circle Trader (ICT) framework. Standard deviations are a statistical measure that helps traders understand the variability of price movements. These projections is use to forecast potential price targets, identify support and resistance levels, and enhance overall trading strategies. Key Concepts: Understanding Standard Deviations : Standard deviations measure how much a set of values (in thi
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 pr
FREE
Introducing "PropFirm Consistency Analyst" — your dynamic companion for achieving consistency in proprietary trading. This innovative Expert Advisor operates seamlessly, continuously calculating consistency metrics between two specified dates, providing real-time insights throughout the trading month. Tailored specifically for prop traders, this tool serves as a dedicated ally in meeting the stringent consistency requirements set by some proprietary firms. By evaluating trading performance on
FREE
Nagara
Tatiana Savkevych
I present you the settings and parameters of the Nagara bot, an ultramodern tool for working in the Forex market. This bot uses advanced capital management technologies and market analysis to determine the trends and make reasonable trading decisions. In addition, it is equipped with a flexible control and protection system for each position. Currency pairs for trading: Eurusd, USDJPY, GBPUSD, AUDUSD, USDCAD, USDSHF, NZDUSD, EURJPY, GBPJPY, EURGBP, AUDJPY, EURAUD, EURCHF, AUDNZD, NZDJPY, GBPA
Just $10 for six months!!!. This will draw Supply & Demand zones just by clicking on a candle. It can also draw a 50% line on the zone. https://youtu.be/XeO_x7cpx8g As a drawing tool, it is not active all the time after adding it to the chart. Activate by pressing 's' twice on the keyboard within a second. If activated but then decided not to draw, deactivate by pressing 's' once.  Box color depends if candle is above or below current price. Features: Draw the box up to the last current can
TradeMetrics Pro
Hussein Adnan Kadhim
The TradeMetrics Pro indicator enhances trade analysis and performance evaluation by presenting trade history and metrics directly on the chart. It accomplishes this through three key features: Summary Trade Panel: The Summary Trade Panel provides a concise overview of open and closed trades. It organizes trade summaries by symbol, lots traded, pips gained or lost, profit, and advanced statistics. This panel enables quick assessment and comparison of trade performance across different symbols
The 4 headed dragon is an indicator that has two functions. 1) Set the background trend. 2) Mark the predominant trend. By combining these two indicator signals, we will be able to trade for or against the trend, adapting the signals to your reading of the market. You can download the demo and test it yourself. 1) Set the background trend.    Define four possibilities of trend that are the four heads of the dragon, marked by colors on the indicator, marking a) Powerful buying trend. b)
Narrow Range Timeframe
Ricardo Rodrigues Lucca
4.5 (2)
This indicator utilizes the Narrow Range 7 concept . This concept says that if the seventh candle is the one with the smallest range, that is, the smallest difference between maximum and minimum of all 7 candles. The indicator marks this candle with two markers and waits for a breakout to happens in the next 6 candles. It's called "timeframe" because if in the next 6 candles the breakout not happens, it will remove all marks on candle. If it exceeds 7 times the timeframe, it also will remove the
FREE
AutoPilotEURUSD
Aldo Marco Ronchese
On special 50% off from $1200! Get it now -  Add Autopilot on EURUSD (H1) MT4 version can be found here Introduction Effortless Trading? It's possible!   Autopilot EURUSD,   your automated trading assistant,   leverages 4 years of research and backtesting to unlock consistent returns on the EURUSD H1 timeframe.   Simply relax and watch as our proven algorithm analyzes the market and executes trades for you. Key Features: Trade on Autopilot: Let go of manual analysis and enjoy stress-free tra
HiperCube Protector
Adrian Lara Carrasco
HiperCube Protector is here! Discount code for 25% off at Darwinex Zero: DWZ2328770MGM HiperCube Protector is the simpliest and easy drawdown Limiter to get the control of your account!, this tools aim to protect your account in real time, use a Max drawdown or StopLoss setting. Features: Control DrawDown by Percent or Money, based on Balace of your account Friendly and elegent interface to see data in real time Send Notifications to Telegram, Push up Notificiations on your MT5 app , and
FREE
Buyers of this product also purchase
WalkForwardOptimizer MT5
Stanislav Korotky
3.63 (8)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 5. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a CSV file and some special global variables.
This 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
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
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
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, Stop-Limit and Stop-Market. Support margin trading. Automatically display the chart on the screen. Usage: - Open MQL5 demo account - Move BinanceLib.ex5 from folder \MQL5\Scripts\Market to MQL5\Libraries - Download Header   file and EA sample   https://drive.google.com/uc?export=download&id=1kjUX7Hyy02EiwTLgVi8qdaCNvNzazjln Copy Binance.mqh header file to folder \M
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
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 );    //复杂开单
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
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
The Matrix
Omega J Msigwa
Matrix is the foundation of complex trading algorithms as it helps you perform complex calculations effortlessly and without the need for too much computation power, It's no doubt that matrix has made possible many of the calculations in modern computers as we all know that bits of information are stored in array forms in our computer memory RAM, Using some of the functions in this library I was able to create machine learning robots that could take on a large number of inputs To use this libra
AO Core
Andrey Dik
3 (2)
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
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 installatio
This is standard library built for flexible neural Networks with performance in mind. Calling this Library is so simple and takes few lines of code:    matrix Matrix = matrix_utils.ReadCsv( "Nasdaq analysis.csv" );       matrix x_train, x_test;    vector y_train, y_test;         matrix_utils.TrainTestSplitMatrices(Matrix,x_train,y_train,x_test,y_test, 0.7 , 42 );    reg_nets = new CRegressorNets(x_train,y_train,AF_RELU_,HL, NORM_MIN_MAX_SCALER); //INitializing network       reg_nets.RegressorN
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 cl
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 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   a
This is an EXPERT with a FOCUS on LEARNING and PROFESSIONAL DEVELOPMENT!!! The idea of this product is to commercialize the source code, allowing those who want to develop their own robots, or start a professional activity developing customized experts, to have a reference source code that helps them in the learning and development process. This source code will be increased, that is, new functionalities will be created, thus allowing the project to continue evolving. For every 10 sales a new v
Nmt5
Liang Qi Quan
这段代码是一个简单的交易专家顾问(Expert Advisor)示例,主要功能如下: 使用两个移动平均线(MA)作为交易信号: 快速MA(FastMA)和慢速MA(SlowMA) 初始化函数(OnInit): 创建两个MA指标句柄 设置数组为时间序列模式 清理函数(OnDeinit): 释放指标句柄,防止内存泄漏 主要交易逻辑(OnTick): 获取最新的MA值 判断趋势和交易信号 在无持仓时执行交易 交易规则: 上升趋势+买入信号时开多单 下降趋势+卖出信号时开空单 使用固定的止损和止盈点数 风险管理: 使用输入参数设置交易手数、止损和止盈 每次只允许一个持仓(inTrade变量) 使用MQL5的Trade库进行交易操作,简化了下单过程 这个EA适合初学者学习,展示了基本的EA结构和简单的交易策略实现方法。但在实际使用前,还需要进行更多的测试和优化。
Molo kumalo
James Ngunyi Githemo
Trading Forex with our platform offers several key advantages and features: Real-time Data : Stay updated with live market data to make informed decisions. User-Friendly Interface : Easy-to-navigate design for both beginners and experienced traders. Advanced Charting Tools : Visualize trends with interactive charts and technical indicators. Risk Management : Set stop-loss and take-profit levels to manage your risk. Multiple Currency Pairs : Access a wide range of forex pairs to diversify your tr
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
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.
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 WebSocket Connections from a single program. Various Log Levels for error tracing Can be synchronized to MQL5 Virtual Hosting . Completely native to
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
The Trade Tracker Library is used to automatically detect and display trade levels on custom charts. It is an especially useful add-on for EAs that trade on custom charts in MT5. With the use of this library, the EA users can see trades as they are placed via the EA (Entry, SL & TP levels) in real-time. The header file and two examples of EA skeleton files are attached in the comments section (first comment). The library will automatically detect the tradable symbol for the following custom
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
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
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
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, Stop-Limit and Stop-Market. Support margin trading. Automatically display the chart on the screen. Usage: - Open MQL5 demo account - Move BinanceLib.ex5 from folder \MQL5\Scripts\Market to MQL5\Libraries - Download Header   file and EA sample   https://drive.google.com/uc?export=download&id=1kjUX7Hyy02EiwTLgVi8qdaCNvNzazjln Copy Binance.mqh header file to folder \M
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        -
More from author
My Trading Journal
Max Timur Soenmez
5 (2)
Tired of the cluttered, complex reports in MetaTrader? Say hello to a cleaner, more streamlined way to track your trades. My new Utility/Expert Advisor is designed to provide you with an easy-to-read, minimalist view of your trading performance. This EA is currently available for free while I gather feedback and continue to improve its functionality. Although I am open to suggestions, please understand that development is proceeding alongside other commitments. Key Features: Account Bala
FREE
Filter:
No reviews
Reply to review