• 概述
  • 评论
  • 评论
  • 新特性

More BackTest Results

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 = "EN"); // set language.
    void iOnTesterDeinit();
    #import

3. 怎么使用

  • 下载这个 .ex5 的库,通常它在 \Scripts\Market 文件夹下面。然后移动它到 \Libraries 文件夹。
  • 下载这个链接的 More_BackTest_Result.mqh 文件,放置 More_BackTest_Result.mqh 文件到 Include 文件夹。
  • 你可以参考 More_BackTest_Result.mqh 里面的使用方法,我设计的非常简单,让你一眼就可以看懂。
  • 通常情况下,你只需要在EA中加载一句话就可以了。
    #include <More_BackTest_Result.mqh>
  • 如果你需要修改语言,它不是必须的,你需要修改 .mqh 里面的一个词缀即可。具体参考4。
  • 如果你需要设置 CustomMax,你需要在EA设置它就可以了,它不是必须的,默认是TB值。具体参考5。

4. 修改语言

支持英语(EN)和中文(CN),它不是必须的,不设置它默认是英语,你也可以设置输出结果为中文。

修改 More_BackTest_Result.mqh 里面的一个词缀即可:

void OnTesterPass()
 {
  // You can set the language to Chinese or English.
  string language = "EN"; // "EN","CN"
  iOnTesterPass(language);
 }

5. 设置CustomMax

支持所有的策略结果作为CustomMax,它不是必须的,不设置它默认是TB值,你也可以根据自己的需求来设置它。

你只需要在你的EA中键入以下代码:

int OnInit()
 {
//---Set CustomMax
  iSetCustomMax("CUSTOM_SQN"); 
//---
  return(INIT_SUCCEEDED);
 }

6. 函数 iSetCustomMax(string mode) 参数解析

中英文版本详见:https://www.mql5.com/en/blogs/post/748011

7. EA使用样本

//+------------------------------------------------------------------+
//|                                                  __TEST_EX__.mq5 |
//|                                      Copyright 2022, i201102053. |
//|                         https://www.mql5.com/en/users/i201102053 |
//+------------------------------------------------------------------+
#property copyright "Copyright 2022, i201102053."
#property link      "https://www.mql5.com/en/users/i201102053"
#property version   "1.00"
#include <More_BackTest_Result.mqh>  // Usually it is enough to load this sentence.

//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
 {
//---Set CustomMax, unnecessary.
  iSetCustomMax("CUSTOM_SQN"); 
  return(INIT_SUCCEEDED);
 }
//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
 {
//---Display multiple strategy results when backtesting alone (not opt). unnecessary
  iOnDeinit();
 }
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
 {

 }




推荐产品
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 );    //复杂开单
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
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     
Liquidity Hunter
Philani Mthembu
The Liquidity Hunter EA for MetaTrader 5 leverages advanced liquidity concepts inspired by Smart Money Concepts (SMC). Using sophisticated algorithms, the EA identifies key areas of liquidity at extreme and internal swing highs and lows in the market. It strategically plots rectangle clusters around these levels, indicating potential stop areas and liquidity pools. The EA then executes pending limit orders precisely at these identified liquidity zones, optimizing entry points for trades. It fe
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
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
KopierMaschine - локальный копировщик сделок между различными счетами MetaTrader 4 и MetaTrader 5 в любом направлении расположенных на одном компьютере с интуитивно понятным интерфейсом. Направления копирования: MT4 --> MT5 MT4 --> MT4 MT5 --> MT5 MT5 --> MT4 для копирования между терминалами MetaTrader 4 и   MetaTrader   5 необходимо приобрести версию продукта   KopierMaschine  для    MetaTrader  4 Особенности Программа работает в двух режимах Master и Slave На один подчиненный счет можно коп
Bober Real MT5
Arnold Bobrinskii
4.76 (17)
Bober Real MT5 is a fully automatic Forex trading Expert Advisor. This robot was made in 2014 year and did a lot of profitbale trades during this period. So far over 7000% growth on my personal account. There was many updates but 2019 update is the best one. The robot can run on any instrument, but the results are better with EURGBP, GBPUSD, on the M5 timeframe. Robot doesn't show good results in tester or live account if you run incorrect sets. Set files for Live accounts availible only for c
Pipfinite creates unique, high quality and affordable trading tools. Our tools may or may not work for you, so we strongly suggest to try the Demo Version for MT4 first. Please test the indicator prior to purchasing to determine if it works for you. We want your good reviews, so hurry up and test it for free...we hope you will find it useful. Combo Razor Scalper with Trend Laser Strategy: Scalp in the direction of the trend Watch Video: (Click Here) Features Scalping indicator using a confir
用於自動訂單和風險管理的實用程序。讓您從利潤中獲得最大收益並限制您的損失。由執業交易員為交易員創建。該實用程序易於使用,適用於交易者手動打開的任何市場訂單或在顧問的幫助下。可以按幻數過濾交易。該實用程序可以同時處理任意數量的訂單。 具有以下功能: 1. 設置止損和止盈水平; 2. 通過追踪止損位平倉; 3. 設定盈虧平衡水平。 該實用程序可以: 1. 分別處理每個訂單(為每個訂單單獨設置級別) 2. 處理一籃子單向訂單(所有訂單的水平設置相同,買入和賣出分開) 3. 處理一籃子多向訂單(所有訂單的級別都設置為通用的,BUY 和 SELL 一起) 選項: STOPLOSS - 如果不使用 =-1,則以點為單位止損; TAKEPROFIT - 以點為單位獲利,不與 -1 一起使用; TRAILING_STOP - 價格變動的點數,如果不使用 =-1; TRAILING_STEP - 每一步利潤將增加的點數; BREAKEVEN_STOP - 將訂單轉移到盈虧平衡點的點數,如果不使用 =-1; BREAKEVEN_ST
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
Product Description : Avalut Gold Light FULL VERSION The fully automated gold trading system from Edgezone Links : Avalut Gold User Manual  Website Linktree Avalut Page Live Results Real Account Results since release September 2023 Important: After purchasing, register as a free member on our website to get faster access to input parameter updates. We send these to registered members by email. You will also receive tips for using our trading systems. Why Choose Avalut Gold Light? Superior
Noize Absorption Index
Ekaterina Saltykova
Noize Absorption Index - is the manual trading system that measures the difference of pressure between bears forces and bulls forces. Green line - is a noize free index that showing curent situation. Zero value of index shows totally choppy/flat market.Values above zero level shows how powerfull bullish wave is and values below zero measures bearish forces.Up arrow appears on bearish market when it's ready to reverse, dn arrow appears on weak bullish market, as a result of reverse expectation.
HFTHackerMT5
Thomas Bradley Butler
5 (2)
由於優化過程的複雜性和用戶的混亂,這已經回到了簡單版本而沒有恢復。 如果您購買了低於 15 的先前版本且具有恢復功能,請勿使用 15。 如果它太複雜用戶就不會使用。 在測試和使用之前優化 EA。僅在優化後才購買。這適合那些知道如何優化並希望憑藉自身優勢獲利的交易者。 您設定您的風險參數。如果您選擇不成功的交易,則可透過停損獲得高勝率。降低長壽風險。 這適用於所有帳戶,是一個風險管理工具,請閱讀所有評論、描述和部落格。 MT4版本: https://www.mql5.com/en/market/product/73834 此智慧交易系統 (EA) 使用每個部位的固定手數自動執行買賣交易。其核心特點是無論帳戶餘額如何,都保持一致的交易規模,確保交易者完全控制每筆交易的風險。這種方法可以實現簡單且可預測的交易策略,無需根據帳戶規模或波動進行調整。透過保持手數大小固定,交易者可以避免動態大小的複雜性,同時堅持他們首選的風險管理策略。 透過購買和使用此 Expert Advisor (EA),您承認您已在策略測試器上徹底測試了 EA,並了解自動交易中涉及的相關風險。您進一步承認,
Signal Copy Multiplier automatically copies trades on the same account, for example, to get a better entry and adjusted volume on a subscribed signal. MT4-Version:  https://www.mql5.com/de/market/product/67412 MT5-Version:  https://www.mql5.com/de/market/product/67415 You have found a good signal, but the volume of the provider's trades is too small?  With Signal Copy Multiplier you have the possibility to copy trades from any source (Expert Advisor, Signal, manual trades) and change the volume
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
Owl Smart Levels MT5
Sergey Ermolov
4.07 (28)
MT4版本  |   FAQ Owl Smart Levels Indicator 是一個完整的交易系統,包含 Bill Williams 的高級分形、構建正確的市場波浪結構的 Valable ZigZag 以及標記準確入場水平的斐波那契水平等流行的市場分析工具 進入市場和地方獲利。 策略的详细说明 指示灯使用说明 顾问-贸易猫头鹰助手助理 私人用户聊天 ->购买后写信给我,我会将您添加到私人聊天中,您可以在那里下载所有奖金 力量在於簡單! Owl Smart Levels 交易系統非常易於使用,因此適合專業人士和剛開始研究市場並為自己選擇交易策略的人。 策略和指標中沒有隱藏的秘密公式和計算方法,所有策略指標都是公開的。 Owl Smart Levels 允許您快速查看進入交易的信號,突出顯示下訂單的水平並向您發送有關已出現信號的通知。 優點很明顯: 清楚地顯示主要和更高時間框架的趨勢方向。 指示儀器信號的出現。 標記開單、止損設置和固定利潤的水平。 沒有多餘的,只有必要的結構! ZigZag 表示全球趨勢的方向,因此也表示貿易方向。 市場反轉點的短線清楚地表明在什麼水平上構建斐波
The Trendline Trade Panel was created to make it easier to train forex trading skills in backtester and at the same time make it easier to live trade using trendlines with the push of a button. This ea is perfect for beginners who want to learn to trade manually because all of its features are equipped with basic tools for trading forex. Other uses for Trendline Trade Panel: + Can be used to perform recovering loss positions made by other EA or positions that open manually. Fill in magic number
Impuls Pro
Sergey Batudayev
EA 的策略基于波段交易,在 iPump 指标计算的急剧脉冲之后入场。 如前所述,EA 能够在自动支持下进行手动交易。 - 对于下降趋势 ↓ 我们在价格修正上涨后进入交易,资产进入超买区域,我们沿着趋势卖出。 - 对于上升趋势 ↑,我们在价格回调后进入交易,资产跌入超卖区域,我们顺势买入。 交易所选资产时,顾问会考虑趋势并仅根据当前趋势开仓,无利可图的交易可以通过止损和平均来关闭,第二种选择当然更有利可图但风险也更大 好处 内置电平指示器,用于分析不同 TF 的电平 能够在图表上手动选择平均水平 开多个金字塔订单,利润倍增的能力(订单数量可自行控制) 根据 iPump 指标的反向信号,设置 TP 的更多标准 使用“手”模式手动打开交易的能力 所有趋势策略都基于简单且非常正确的逻辑,即: 在当前趋势中开启交易 价格调整后开仓 考虑交易水平 在这个顾问中观察到所有三个假设。 确定 2 个时间范围的趋势,在价格超买/超卖的最有利时刻进入交易,图表上可以看到修正水平 SL 和 TP。 解释策略  - 对于下降趋势 ↓ 我们在修正价格上涨后进入交易,资产跌入超买区域,我们沿着趋势卖出。 -
Cloner for MT5
Volodymyr Hrybachov
该工具旨在克隆你交易账户上的交易--程序用你的参数开立一个额外的交易。它能够增加或减少手数,增加一个手数,改变止损和止盈参数,该程序被设计为在 "Windows PC "和 "Windows VPS "上工作。  Buy a cloner and get the second version for free 参数。 CLONE_POSITIONS - 要克隆哪些订单。 MAGIC_NUMBER - 神奇的数字。 DONT_REPEAT_TRADE - 如果为真,交易在手动平仓后不会被重复。 REVERSE_COPY - 反向复制,例如打开SELL而不是BUY。 LOT_MULTIPLIER - 来自PROVIDER账户的数量复制率;如果=0,则以FIXED_LOT中指定的批次进行复制。 PLUS_LOT, MINUS_LOT - 加号和减号地段。 MAXIMUM_LOT - 最大的手数。 FIXED_LOT - 固定地段。 SYNCHRONIZE_STOPS - 如果为真,关闭的订单、TP和SL水平将与PROVIDER账户同步。 STOPLOSS, TAKEPROFIT -
PipFinite Binary Options PRO MT5
Karlo Wilson Vendiola
4.54 (13)
This LEGIT Indicator Can Accurately Predict the Outcome of One Bar. Imagine adding more filters to further increase your probability! Unlike other products, Binary Options PRO can analyze past signals giving you the statistical edge. How Increase Your Probability Information revealed here www.mql5.com/en/blogs/post/727038 NOTE: The selection of a Good Broker is important for the overall success in trading Binary Options. Benefits You Get Unique algorithm that anticipates price weaknes
US500 Scalper
Sergey Batudayev
The S&P 500 Scalper Advisor is an innovative tool designed for traders who want to successfully trade the S&P 500 Index. The index is one of the most widely used and prestigious indicators of the American stock market, comprising the 500 largest companies in the United States. Peculiarities: Automated trading solutions:   The advisor is based on advanced algorithms and technical analysis to automatically adapt the strategy to changing market conditions. Versatile approach:   The advisor combine
Mine Farm
Maryna Kauzova
Mine Farm is one of the most classic and time-tested scalping strategies based on the breakdown of strong price levels. Mine Farm is the author's modification of the system for determining entry and exit points into the market... Mine Farm - is the combination of great potential with reliability and safety. Why Mine Farm?! - each order has a short dynamic Stop Loss - the advisor does not use any risky methods (averaging, martingale, grid, locking, etc.) - the advisor tries to get
Best Tested Pairs :-  Step Index (Also can use on other pairs which spread is lowest) How does the Magic Storm work The Magic Storm will commence only if the Initial Trade becomes a losing trade. In case the initial trade is a profitable one, or has been closed by the trader there is no need for the Magic Stormto be initiated. Let’s assume that the initial trade was a 1 lot buy trade with Recovery Zone Range Pips is 50 and Recovery Zone Exit Pips is 150 pips. The take profit fo
Swing Points
Usiola Oluwadamilol Olagundoye
Swing Points Indicator for MetaTrader 5 The **Swing Points Indicator** is a custom-built technical tool designed for MetaTrader 5 (MT5), primarily used for identifying crucial reversal points in price action. By plotting swing highs and swing lows, it highlights potential trend reversals, making it a valuable tool for traders relying on price action analysis. This indicator helps traders anticipate changes in market direction by visually marking significant turning points on the chart. Main
FREE
Account Protector Metatrader 5
Emmanuel Lovski Ijeawele Maduagwuna
Account Protector Meta Trader 5 This utility prevents risk of ruin per trading cycle.  Retail forex trading accounts are designed with   stop out levels   that make it impossible to quickly restore lost trading capital   (to initial levels)   in the event of a human or algorithm trader  " blowing"   an account. This hampers the efforts of a trader who after growing an account investment to a multiple of its initial value, suddenly suffers irreparable loss because of several trade entry mishaps.
Auto Trade Close
Makarii Gubaydullin
Automatic Trade Closure: at time, or Profit / Loss trigger With this utility, you can automate the trade closure under a given condition. My  #1 Utility : 65+ features, including this tool  |   Contact me  if you have any questions  |   MT4 version To activate the Auto-Close, you need to set the following parameters (on the panel): 1. Symbol   for which the function will be applied: for a specific   [Symbol]   / or for   [ALL]   symbols. 2. Condition, when to close: [if total] / [if single] / [
| 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
Golden Spike Premium
Kwaku Bondzie Ghartey
Golden Spikes Detector Notice: Limited-Time 50% Discount on All Products   Due to high interest, only a few (about 8) discounted spots remain for   Golden Spikes Premium .  For those interested, all my trading tools, including Golden Spikes Premium, are currently available at a 50% discount until October 30, 2024 . Feel free to take advantage while it lasts. Acknowledgement and Dedications:  The name of this indicator was Inspired by an Original; Mr Grant Koopman; a Knowledgeable and experienced
该产品的买家也购买
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
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 上
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
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
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
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
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,
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://www.mql5.com/en/code/download/34972_260999.zip Copy Binance.mqh header file to folder \MQL5\Include Copy  BinanceEA-
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://www.mql5.com/en/code/download/34976_252386.zip Copy BinanceFutures.mqh header file to folder \MQL5\Include C
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
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
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
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
Nmt5
Liang Qi Quan
这段代码是一个简单的交易专家顾问(Expert Advisor)示例,主要功能如下: 使用两个移动平均线(MA)作为交易信号: 快速MA(FastMA)和慢速MA(SlowMA) 初始化函数(OnInit): 创建两个MA指标句柄 设置数组为时间序列模式 清理函数(OnDeinit): 释放指标句柄,防止内存泄漏 主要交易逻辑(OnTick): 获取最新的MA值 判断趋势和交易信号 在无持仓时执行交易 交易规则: 上升趋势+买入信号时开多单 下降趋势+卖出信号时开空单 使用固定的止损和止盈点数 风险管理: 使用输入参数设置交易手数、止损和止盈 每次只允许一个持仓(inTrade变量) 使用MQL5的Trade库进行交易操作,简化了下单过程 这个EA适合初学者学习,展示了基本的EA结构和简单的交易策略实现方法。但在实际使用前,还需要进行更多的测试和优化。
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
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 上
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
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
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
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
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,
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://www.mql5.com/en/code/download/34972_260999.zip Copy Binance.mqh header file to folder \MQL5\Include Copy  BinanceEA-
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://www.mql5.com/en/code/download/34976_252386.zip Copy BinanceFutures.mqh header file to folder \MQL5\Include C
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
作者的更多信息
This product can be used to synchronize multiple Charts, and each Chart can be set to a different sync mode. With this product you can better view and manipulate charts: different time frames for a single Symbol, the same time frame for multiple Symbols... and more. PS: The link below is the FreeDemo product, you can use it on EURUSD/XUAUSD/USDCNH symbol: https://www.mql5.com/en/market/product/38557 Feature: Chart settings  can be synchronized, including : background, indentation, size, etc.
Do you think it's a bit cumbersome when you need to switch symbols or timeframes with mouse click? 1. What is this? This is a program that can switch symbols and timeframes with direction keys. Fast switching, very convenient, no mouse click required. For traders, one symbol with multi-timeframe charts are usually added,  you can change symbol on those charts easily. For multi-currency traders, different symbol charts are usually added, you can also change those timeframes easily. I wrote this p
1.这是什么         上涨波动和下降波动是不一样的,无论是学术研究还是实际检验都说明了这一点。         原始的ATR指标是把上涨波动和下降波动放在一起进行计算。本指标则是把上涨波动和下降波动分开进行计算,这样能更好的帮助你研究市场。 2.指标说明         本指标的计算有两种模式,如下表所示: 0 1 2 3 4 5 波动方向 + - + + - + TR 15 20 17 5 16 8 原始ATR (15+20+17+5+16+8)/6=13.5 模式1 不以0填充位置,周期数改变 模式1上涨TR 15 17 5 8 模式1下跌TR 20 16 模式1上涨ATR (15+17+5+8)/4=11.25 模式1下跌ATR (20+16)/2=18 模式2 以0填充位置,周期数不变 模式2上涨TR 15 0 17 5 0 8 模式2下跌TR 0 20 0 0 16 0 模式2上涨ATR (15+0+17+5+0+8)/6=7.5 模式2下跌ATR (0+20+0+0+16+0)/6=6         如上表。比如周期为6的序列中,有4个上涨2个下跌。模式
1.这是什么: 下载Market Watch中所有的Symbol数据到系统。PS:不是把数据输出到文档。 2.为什么要用这个: 如果系统中没有数据:网络链接不好的时候,用MT5看一个Symbol需要等待很长时间;在不同Symbol或不同TimeFrame切换,如果系统没有数据也需要等待很久;如果进行长时间回测,系统没有数据,需要下载很长时间。 所以提前把历史数据下载到系统中,能提高工作效率。 3.怎么使用: parameters: input bool bool_usualtimeframe=true; //true-系统默认TimeFrames; || false-所有的TimeFrames. input bool bool_allSymbol=true; //true-Market Watch中所有品种; || false-根据你的输入 input string input_Symbol=NULL; //上面参数为false时,输入你的Symbol名称 input datetime time_Start=D'2017.01.01'; //默认数据下载开始时间 input int s
Do you think it's a bit cumbersome when you need to switch symbols or timeframes with mouse click? 1. What is this? This is a program that can switch symbols and timeframes with direction keys. Fast switching, very convenient, no mouse click required. For traders, one symbol with multi-timeframe charts are usually added,  you can change symbol on those charts  easily . For multi-currency traders, different symbol charts are usually added, you can also change those timeframes easily. I wrote thi
According to trading experience: Some symbols are easy to reverse on certain days, such as Monday, or afternoon, and so on. So comparing the current price with the corresponding historical moment price is valuable. If the price coordinate system uses a logarithmic price, you will get a lot of valuable information. 1. What is this? This program can convert the symbol price and add it to your Chart. You can compare it with your major chart. The DEMO version Link: https://www.mql5.com/en/market/p
What is this: Violent trading: means sending a large number of orders to your brokerage server,  it can conduct a stress test of the trading. In this program you can run a variety of trading tests.  Now you can trade at high speed, For example 1000 orders in an instant. The Demo version's link:  https://www.mql5.com/en/market/product/38431/ Why to use: Whether manual trading or EA trading,  the status of the broker server is very important. So it is beneficial to conduct a trading stress test on
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
1. Why did I develop this series of indicators I found that most traders need to use multiple time frame indicators. They usually switch time frame to see indicators. However, once the timeframe is switched, you cannot see the  corresponding relationship  between  the price in the smaller timeframe  and  the indicator in the larger timeframe . For example: if your price chart is in H1 timeframe, you can see H4, D1 and W1 indicators in H1 timeframe Chart. This is more helpful for you to find t
筛选:
无评论
回复评论
版本 1.1 2022.02.19
Set default language is English.