• 概述
  • 评论
  • 评论

MyTradingHistory

一个易于使用的库,为开发者提供关键交易统计数据的便捷访问,适用于其MQL5 EA。

库中的可用方法:

账户数据和收益:

  • GetAccountBalance() : 返回当前账户余额。
  • GetProfit() : 返回所有交易的净利润。
  • GetDeposit() : 返回总存款金额。
  • GetWithdrawal() : 返回总取款金额。

交易分析:

  • GetProfitTrades() : 返回盈利交易的数量。
  • GetLossTrades() : 返回亏损交易的数量。
  • GetTotalTrades() : 返回执行的总交易数。
  • GetShortTrades() : 返回卖空交易的数量。
  • GetLongTrades() : 返回多头交易的数量。
  • GetWinLossRatio() : 返回盈利与亏损交易的比例。
  • GetAverageProfitTrade() : 返回每笔盈利交易的平均利润。
  • GetAverageLossTrade() : 返回每笔亏损交易的平均亏损。
  • GetROI() : 计算投资回报率。
  • GetLargestProfitTrade() : 返回单笔交易的最大利润。
  • GetLargestLossTrade() : 返回单笔交易的最大亏损。
  • GetShortTradesWon() : 返回成功卖空交易的百分比。
  • GetLongTradesWon() : 返回成功多头交易的百分比。

交易收益数组:

  • GetTradeProfitArray(double &outputArray[]) : 返回每笔交易的收益数组,以便进行详细的交易结果分析。


示例代码如下:

// 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);
}

欢迎并感谢您的反馈。请在购买前后分享您的想法和问题。

https://www.mql5.com/en/users/maxsonm


推荐产品
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 - Move BinanceFuturesLib.ex5 from folder \MQL5\Scripts\Market to MQL5\Libraries -  Download Header file and EA sample https://drive.google.com/uc?export=download&id=17fWrZFeMZoSvH9-2iv4WDJhcyxG2eW17 Copy BinanceFutures.mqh header fil
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
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
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
OpenAI Library MT5
VitalDefender Inc.
该库旨在提供一种尽可能简单的方法,直接在MetaTrader上使用OpenAI的API。 要深入了解库的潜力,请阅读以下文章: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual 重要提示:要使用EA,需要添加以下URL以允许访问OpenAI API  如附图所示 要使用该库,需要包含以下Header,您可以在以下链接找到:  https://www.mql5.com/en/blogs/post/756108 #import "StormWaveOpenAI.ex5" COpenAI *iOpenAI(string); CMessages *iMessages(void); CTools *iTools(void); #import 这就是您需要的所有信息,以便轻松使用该库。 以下是如何轻松使用该库并与OpenAI的API交互的示例 #include <StormWaveOpenAI.mqh>       //--- 包含用于A
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
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
这是一个可以定时自动交易的EA。根据你设定的时间,精确到秒,可以设置最多下几单。下单buy或者Sell.可以设置值止盈止损点。并且可以设定在下单后多久平仓。一般都是用来做事件。祝你好运。 请看图片自己根据设定来使用。每一次使用请重新加载EA。不用的时候记得关闭EA按钮。 我来举个例子。比如英国央行利率决议。你在最后两秒下单。因为可能瞬间点差扩大,你可能不敢直接下最大手数,所以你可以选择小手分批从最后5秒开始进场。我相信做过的人知道我说的意思。因为我专业做这个已经十年。最近才做出了这个自动化EA。并且这里面有个检测就是你点击开始之后如果超过了你设定的时间十秒他就不会执行了。保证你的安全。你自己用DEMO账户测试几次你就知道我这个有多好用了!
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
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
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
Nmt5
Liang Qi Quan
这段代码是一个简单的交易专家顾问(Expert Advisor)示例,主要功能如下: 使用两个移动平均线(MA)作为交易信号: 快速MA(FastMA)和慢速MA(SlowMA) 初始化函数(OnInit): 创建两个MA指标句柄 设置数组为时间序列模式 清理函数(OnDeinit): 释放指标句柄,防止内存泄漏 主要交易逻辑(OnTick): 获取最新的MA值 判断趋势和交易信号 在无持仓时执行交易 交易规则: 上升趋势+买入信号时开多单 下降趋势+卖出信号时开空单 使用固定的止损和止盈点数 风险管理: 使用输入参数设置交易手数、止损和止盈 每次只允许一个持仓(inTrade变量) 使用MQL5的Trade库进行交易操作,简化了下单过程 这个EA适合初学者学习,展示了基本的EA结构和简单的交易策略实现方法。但在实际使用前,还需要进行更多的测试和优化。
Introducing the Lets Easy Order Panel: Easy Forex and CFD Trading Experience a game-changing approach to Forex and CFD trading with the Lets Easy Order Panel. This innovative tool streamlines your trading process, allowing you to focus on what truly matters. Key Features: All-in-one order functionality Intuitive and user-friendly interface Swift order execution Enhanced focus on trading strategies With the Lets Easy Order Panel, you can: Execute all necessary trades from a single, convenient pan
This indicator is fully user-adjustable, calculates corellation between all symbols, which you want. Indicator is real-time updated and fully automated.  You can adjust a lot of parameters. Calculation Parameters List of symbols: write all symbol, which you want to calculate, just separate them by comma Calculated bars: amount of bars from which will be calculated Time frame: time period of calculation Used price: used price - 0 (CLOSE), 1 (OPEN), 2 (HIGH), 3 (LOW), 4 (MEDIAN), 5 (TYPICAL), 6
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
Elliott Wave Helper
Siarhei Vashchylka
4.92 (13)
Elliott Wave Helper - a panel for making elliott wave and technical analysis. Includes all known wave patterns, support and resistance levels, trend lines and cluster zones. Manual (Be sure to read before purchasing) | Version for MT4 Advantages 1. Making wave analysis and technical analysis in a few clicks 2. All Elliott wave patterns available, including triangle and combinations 3. All nine wave display styles, including a special circle font 4. E lements of technical analysis : trend lines
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
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
Chart Notes = MULTI LINE TEXT INPUT ON CHART FOR MT5 is finally here! # sticky notes This indicator is a powerful text editor for placing notes on chart, similarly like the feature on Tradingview. There are 2 types of messages: anchored (on screen ) and free (on chart).  1. Anchored = stays on the same place on screen (x point, y point) -this text can be EDITED on click (first line is for dragging the message around- this line is edited via right clicking- >properties) -move the messages by
Best for Technical Analysis You can set from one key shortcut for graphical tool or chart control for technical analysis. Graphic design software / CAD-like smooth drawing experience. Best for price action traders. Sync Drawing Objects You don’t need to repeat drawing the same trend line on the other charts. Shortcuts do that for you automatically. Of course, any additional modifications of the object immediately apply to the other charts too. Colors depend on Timeframe Organize drawings
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
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
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
This script notifies a user about different events by playing sounds, sending emails and text messages to a mobile device. The following events are supported: New deals (in/in out/out). Expiration of Pending orders. The terminal disconnected. The terminal or the script closed. Please set a notification type for each event separately. If you need notifications via Email, please make sure that the settings on the Email tab are correct. If you need to receive notifications on a mobile device, pleas
Introducing the BlackWing Signal Provider—an advanced EA designed to enhance your trading experience by facilitating seamless communication between your MetaTrader 5 platform and Telegram channels, groups, or individual users. Key Features: 1. Real-Time Event Notifications: Receive instant alerts on new trades, modified orders, closed positions, and deleted orders. Stay informed and make well-timed decisions. 2. Interactive Chart Snapshots: Share chart snapshots along with new trades and
Survivor
Pavel Nikiforov
Название советника : Survivor  (есть расширенная версия: https://www.mql5.com/ru/market/product/36530 ) Валютные пары : USDJPY, EURUSD, GBPUSD, AUDUSD, GBPJPY, XAUUSD, EURCHF Рекомендованная валютная пара : USDJPY Таймфрейм : М5 Время торговли : круглосуточно Описание : Трендовый  советник с возможностью мартингейла и построением сетки ордеров. В советнике используются три группы аналогичных сигналов для открытия, закрытия и дополнительных сделок. При наличии тренда(определяется МА) ловится отс
FREE
Institutional Momentum Stochastic Index
Agustinus Biotamalo Lumbantoruan
The Stochastic Momentum Index (SMI), developed by William Blau and featured in the January 1993 edition of Technical Analysis of Stocks & Commodities magazine, introduces a unique perspective to trading analysis. Distinguished from the conventional Stochastic Oscillator, which evaluates the current close in relation to the recent x-period high/low range, the SMI assesses the close's position relative to the midpoint of this range. This innovation yields an oscillator with a range of +/- 100, re
FREE
币安是全球知名的加密数字货币交易所!为方便对加密数字货币行情进行实时数据分析,程序可自动将币安实时成交数据导入到MT5进行分析,主要功能有: 1、支持币安全部现货交易对自动创建,也可以单独设置盈利货币和基础货币。如盈利货币ProfitCurrency为空表示全部交易区,可选:USDT、BTC、DAI等币安支持的交易区(合约交易暂不支持),基础货币BaseCurrency为空表示所有货币,也可以单独设置BNB、ETC等任何币安支持的加密货币。 2、同步币安各货币的价格精度、交易量精度以及最大交易量等。 3、通过WebSocket链接币安,每一笔成交即可推送到Mt5更新行情。 4、支持所有现货品种同时更新,为提高实时数据效率,可自定义最大更新组(需要打开对应窗口更新),工具默认最大组数为4组,需要打开4个图表窗口,运行时分别设置RangNO为0,1,2,3(小于最大窗口数),以此类推。如果仅需要更新当前窗口的实时行情,可将RangNO设置为-1。 5、实时行情更新请使用代理地址,因此,必须将代理地址 trade.ctabot.com 添加到:MT5——工具——选项——EA
Channel Scanner MT5
Reza Aghajanpour
5 (1)
**   All Symbols   x   All Timeframes   scan just by pressing scanner button ** *** Contact me  to send you instruction and add you in "Channel Scanner group" for sharing or seeing experiences with other users. Introduction: The Channel pattern is described as the area located between two trend lines. This area is used for a measure of a trading range. In this case, the upper trend line connects price highs while the lower trend line connects price lows. Also when it comes to breakout points, it
WalkForwardOptimizer MT5
Stanislav Korotky
3.86 (7)
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.
该产品的买家也购买
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示:单击此处 如果您想与交易面板进行交易,您可能对此产品感兴趣 该产品是加密图表的插件 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上
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
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,
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. 这是什么 MT5系统自带的优化结果非常少,有时候我们需要研究更多的结果,这个库可以让你在回测优化时可以输出更多的结果。也支持在单次回测时打印更多的策略结果。 2. 产品特色 优化的输出的结果非常多。 可以自定义CustomMax。 输出结果在Common文件夹。 根据EA名称自动命名,且同一个EA多次回测会自动更新名称,不会覆盖上一次的结果。 函数非常简单,你一眼就可以看懂。 #import "More BackTest Results.ex5" // Libraries Folder, Download from the market. //---Set CustomMax void iSetCustomMax( string mode); //---Display multiple strategy results when backtesting alone (not opt). void iOnDeinit(); //--- void iOnTesterInit(); double iOnTester(); void iOnTesterPass( string lang
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 installa
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
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示:单击此处 如果您想与交易面板进行交易,您可能对此产品感兴趣 该产品是加密图表的插件 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上
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
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
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,
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 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
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. 这是什么 MT5系统自带的优化结果非常少,有时候我们需要研究更多的结果,这个库可以让你在回测优化时可以输出更多的结果。也支持在单次回测时打印更多的策略结果。 2. 产品特色 优化的输出的结果非常多。 可以自定义CustomMax。 输出结果在Common文件夹。 根据EA名称自动命名,且同一个EA多次回测会自动更新名称,不会覆盖上一次的结果。 函数非常简单,你一眼就可以看懂。 #import "More BackTest Results.ex5" // Libraries Folder, Download from the market. //---Set CustomMax void iSetCustomMax( string mode); //---Display multiple strategy results when backtesting alone (not opt). void iOnDeinit(); //--- void iOnTesterInit(); double iOnTester(); void iOnTesterPass( string lang
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
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. 
作者的更多信息
My Trading Journal
Max Timur Soenmez
5 (2)
厌倦了 MetaTrader 中繁琐复杂的报告?欢迎使用一种更简洁、更直观的方式来跟踪您的交易。 我的新实用工具/专家顾问旨在为您提供一个简洁、易读的交易表现视图。 此EA目前免费提供,期间我将收集反馈并继续改进其功能。虽然我乐于接受建议,但请理解开发工作是与其他事务同时进行的。 主要功能: 账户余额折线图 通过简单的折线图追踪您的账户余额随时间的变化。轻松查看您的账户表现,一目了然地观察您的交易历史趋势。 盈亏比柱状图 每日交易会话的盈亏可视化。绿色柱状代表盈利交易,红色柱状代表亏损交易,帮助您快速识别交易的好坏天数。交易关闭后,图表立即更新。 详细统计表 EA 包含分析您的交易表现所需的所有关键指标: 净总利润 总交易数 盈亏比 盈利交易 亏损交易 止损/止盈比 投资回报率(账户余额百分比) 成功的空头交易 成功的多头交易 平均盈利交易 平均亏损交易 最大盈利交易 最大亏损交易 为什么选择这个 EA? 简洁且易于理解:没有令人不知所措的数据,只有帮助您掌控交易表现的必要信息。 即时可视化:快速发现趋势并查看交易表现,无需筛选大量报告。 适合:
FREE
筛选:
无评论
回复评论