• 概述
  • 评论
  • 评论

TG Risk Service Manager MT5

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.

Key Features:


  1. Efficient Lot Size Calculation: Harness the power of precise lot size computation for optimal risk management. With "TG Risk Service Manager," developers can effortlessly determine the appropriate lot size based on specified risk amounts and stop loss sizes, empowering them to execute strategies with confidence and precision.

  2. Unified Interface: TG Trade Service Manager" provides a unified interface for MQL4 and MQL5, streamlining trade management processes across platforms.

  3. Target Price Calculation: Seamlessly calculate target prices to achieve desired profit objectives. Whether aiming to attain a specific monetary goal with a given lot size or strategizing for profit targets, this feature equips developers with invaluable insights to guide their trading decisions effectively.

  4. Averaging Strategies Optimization: Unlock the potential of averaging strategies with advanced computation capabilities. From computing averaging open prices for designated magic numbers or instruments to determining optimal averaging take profit levels for batch trades, "TG Risk Service Manager" empowers developers to maximize profitability and mitigate risks with ease.

Experience the efficiency, accuracy, and versatility of "TG Risk Service Manager" — your indispensable companion for mastering risk management and optimizing trading strategies in the competitive world of financial markets.


#import "TG_RiskServiceLib.ex5"
double   AveragingPriceForBatch(ENUM_ORDER_TYPE type, int profitPoints, int magicNumber, string symbol);
double   GetLotsBasedOnStopLossPrice(double stopLossPrice, double riskMoney, ENUM_ORDER_TYPE type, double entryPrice, string symbol);
double   GetLotsBasedOnStopLossPoints(int stopLossPoints, double riskMoney, ENUM_ORDER_TYPE type, double entryPrice, string symbol);
double   GetTargetPriceBasedOnLotsAndMoneyAmmount(double positionSize, double moneyAmmount, ENUM_ORDER_TYPE type, int targetType = 0, double entryPrice = 0, string symbol = NULL);
double   RunningProfitCash(int magicNumber = 0, string symbol = NULL, int type = -1, bool withTaxes = true);
double   RunningProfitBalancePercent(int magicNumber = 0, string symbol = NULL, int type = -1, bool withTaxes = true);
double   GetRiskMoneyFromPercentBalance(double riskPercent);
double   AveragingTakeProfitForBatch(ENUM_ORDER_TYPE type, int magicNumber, string symbol, int profitPoints = 0);
#import
BEFORE USING YOU HAVE TO IMPORT THE LIBRARY LIKE MY EXAMPLE ABOVE


How to use Examples:

   const int TEST_MAGIC_NUMER             =  123;
   const string TEST_SYMBOL               = "EURUSD";
   const double TEST_RISK_MONEY_AMMOUNT   = 100.0;       //Value in Account Currency (USD/GBP/EUR)


   //Returns the average open price of a transaction batch
   double averagingPrice = AveragingPriceForBatch(
                              ORDER_TYPE_BUY,
                              TEST_MAGIC_NUMER,
                              TEST_SYMBOL
                           );



   //GetLotsBasedOnStopLossPrice
   //Option1 - DBL - GetLotsBasedOnStopLossPrice

   double testEntryPrice = 1.00500;
   double testStopLossPrice = 1.00100;

   //Returns lotSize based on stop loss PRICE
   double lotsPrice = GetLotsBasedOnStopLossPrice(
                         testStopLossPrice,
                         TEST_RISK_MONEY_AMMOUNT,
                         ORDER_TYPE_BUY,
                         testEntryPrice,
                         TEST_SYMBOL
                      );


//   //GetLotsBasedOnStopLossPoints
//   //Option1 - INT - GetLotsBasedOnStopLossPrice

   //Returns lotSize based on stop loss size in POINTS
   int stopLossPoints = 400;
   double lotsPoints = GetLotsBasedOnStopLossPoints(
                          stopLossPoints,
                          TEST_RISK_MONEY_AMMOUNT,
                          ORDER_TYPE_BUY,
                          testEntryPrice,
                          TEST_SYMBOL
                       );

   //Both methods return same lot if the parameters are the same
   // in this case testEntryPrice(1.00500) - testStopLossPrice(1.00100) = stopLossPoints(400)
   bool areEqual = (lotsPoints == lotsPrice) ?  true : false;


   // in this case returns 1/100 * Balance
   double riskMoneyFromPercentBalance = GetRiskMoneyFromPercentBalance(1);

   //returns the running profit as a percentage
   //if Balance is 10.000USD and RunningProfit is -1000 then  RunningProfitBalancePercent() will return 10.0 (%)
   //this can be customized to work with magic number,symbol, orderType
   double runningProfitBalancePercent = RunningProfitBalancePercent();


   //returns the running profit as absolute value
   //this can be customized to work with magic number,symbol, orderType
   double runningProfitCash = RunningProfitCash();

   
   //Computes the take profit for a batch of trades
   //last parameter is "points" which specifies how many points should the batch be in profit
   //in this example AveragingTakeProfitForBatch returns a price where the whole batch of transactions will be 100 points in profit
   double averageTakeProfitbatch = AveragingTakeProfitForBatch(ORDER_TYPE_BUY, TEST_MAGIC_NUMER, TEST_SYMBOL, 100);


推荐产品
Binance Library
Hadil Mutaqin SE
5 (1)
The library is used to develop automatic trading on Binance Spot Market from MT5 platform. Support all order types: Limit, Market, StopLimit and StopMarket Support Testnet mode Automatically display the chart on the screen Usage: 1. Open MQL5 demo account 2. Download Header   file and EA sample   https://drive.google.com/uc?export=download&id=1kjUX7Hyy02EiwTLgVi8qdaCNvNzazjln Copy Binance.mqh to folder \MQL5\Include Copy  BinanceEA-Sample.mq5 to folder \MQL5\Experts 3. Allow WebRequest from MT5
BitMEX Trading API
Romeu Bertho
5 (1)
Cryptocurrency analysis has never been easier with Crypto Charts for MetaTrader 5. Now, trading on BitMEX has never been easier with BitMEX Trading API for MetaTrader 5. BitMEX Trading API library was built to be as easy to use as possible. Just include the library into your Expert Advisor or Script, call the corresponding methods and start trading! Features Trade on BitMEX and BitMEX Testnet. Build and automate your strategies. Concern more with the trading strategy logic and less with the co
MyTradingHistory
Max Timur Soenmez
一个易于使用的库,为开发者提供关键交易统计数据的便捷访问,适用于其MQL5 EA。 库中的可用方法: 账户数据和收益: GetAccountBalance() : 返回当前账户余额。 GetProfit() : 返回所有交易的净利润。 GetDeposit() : 返回总存款金额。 GetWithdrawal() : 返回总取款金额。 交易分析: GetProfitTrades() : 返回盈利交易的数量。 GetLossTrades() : 返回亏损交易的数量。 GetTotalTrades() : 返回执行的总交易数。 GetShortTrades() : 返回卖空交易的数量。 GetLongTrades() : 返回多头交易的数量。 GetWinLossRatio() : 返回盈利与亏损交易的比例。 GetAverageProfitTrade() : 返回每笔盈利交易的平均利润。 GetAverageLossTrade() : 返回每笔亏损交易的平均亏损。 GetROI() : 计算投资回报率。 GetLargestProfitTrade() : 返回单笔交易的最大利润。 Get
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 pric
FREE
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
Flip Manager
Caleb David Kiragu
Introducing Flip Manager: Smart, Automated Ledger Management for Traders After years of manually tracking trades, managing account records, and balancing ledgers, I realized there had to be a better way. Keeping up with every transaction, profit calculation, and risk adjustment was becoming a time-consuming task—so I set out to automate the entire process. That’s how Flip Manager was born. I teamed up with a skilled programmer who shared my passion for efficiency and accuracy in trading. What st
这是一个可以定时自动交易的EA。根据你设定的时间,精确到秒,可以设置最多下几单。下单buy或者Sell.可以设置值止盈止损点。并且可以设定在下单后多久平仓。一般都是用来做事件。祝你好运。 请看图片自己根据设定来使用。每一次使用请重新加载EA。不用的时候记得关闭EA按钮。 我来举个例子。比如英国央行利率决议。你在最后两秒下单(设置的是你本机的时间)。因为可能瞬间点差扩大,你可能不敢直接下最大手数,所以你可以选择小手分批从最后5秒开始进场。我相信做过的人知道我说的意思。因为我专业做这个已经十年。最近才做出了这个自动化EA。并且这里面有个检测就是你点击开始之后如果超过了你设定的时间十秒他就不会执行了。保证你的安全。你自己用DEMO账户测试几次你就知道我这个有多好用了!
The library is dedicated to help manage your trades, calculate lot, trailing, partial close and other functions. Lot Calculation Mode 0: Fixed Lot. Mode 1: Martingale Lot (1,3,5,8,13) you can use it in different way calculate when loss=1 ,when profit=0. Mode 2: Multiplier Lot (1,2,4,8,16) you can use it in different way calculate when loss=1 ,when profit=0. Mode 3: Plus Lot (1,2,3,4,5) you can use it in different way calculate when loss=1 ,when profit=0. Mode 4: SL/Risk Lot calculate based on s
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>       //--- 包含用于AP
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 par
FREE
News Clock
Victor Klenov
The professional browser of News and Trading Sessions is now available in MetaTrader 5. Now all the most important market information is collected on one dial! News located on the Time scale. Planning your working time has never been so easy and convenient ... The news scale can be switched a day, two, a week, a month forward or backward (see the details in the short video). All news updates in real time. Thanks to the built-in filters, you can configure the display of news by importance, cou
專為 MetaTrader 環境設計的性能評估解決方案 工具功能概述 這款專業測試工具能夠評估您的 MetaTrader 環境性能,提供對交易執行有實際影響的洞察。不同於一般系統基準測試,本工具專門針對 MetaTrader 運行環境進行評估。 專業交易者與開發者功能: 性能指標測量 :評估計算吞吐量和記憶體效率 交易相關測試 :模擬 EA 運行和基本訂單執行的測試 比較分析 :使用標準評分系統比較不同主機解決方案 技術洞察 :反映 MetaTrader 資源使用情況的測試方法 決策支持 :為 VPS 選擇和配置提供有用數據 新手交易者功能: 簡化評分系統 :易於理解的整體性能評分 視覺化性能報告 :在圖表上清晰展示測試結果 簡單操作流程 :最少配置的簡易測試程序 基本建議 :改善交易環境的建議 教育元素 :了解系統性能如何影響交易 全面測試套件: 1. CPU 性能 (總分的 25%) 使用數學函數的計算測試 測量交易計算的處理能力 實際影響 :影響 EA 處理市場數據的速度 2. 記憶體管理 (總分的 20%) 記憶體分配和使用測試 基本記憶體效率測量 實際影響 :影響您可以同時運
The library is used to develop automatic trading on Binance Futures Market from MT5 platform. Support Binance Futures USD-M and COIN-M Support Testnet mode Support all order types: Limit, Market, StopLimit, StopMarket, StopLoss and TakeProfit Automatically display the chart on the screen Usage: 1. Open MQL5 demo account 2. Download Header file and EA sample https://drive.google.com/uc?export=download&id=17fWrZFeMZoSvH9-2iv4WDJhcyxG2eW17 Copy BinanceFutures.mqh to folder \MQL5\Include Copy  Bina
Goliath Mt5
Nicolokondwani Biscaldi
Goliath MT5 - scalper fully automated Expert Advisor for medium-volatile forex markets P roperties: The Library trades 10 currency pairs (USDCHF, EURCHF, EURGBP, AUDUSD, USDCAD, GBPUSD, EURUSD, NZDUSD, CADCHF, EURAUD, EURCAD, AUDJPY) The Library does not use martingale The Library sets a fixed stop loss and take profit for all orders The Library only trades a user input volume The Library can be installed on any currency pair and any timeframe Recommendations: Before using on a real account, t
Delete Only Pending Orders
Muhammad Usman Siddique
适用于 MetaTrader 5 (MT5) 的 UZFX - 仅删除挂单脚本是一款简单而有效的工具,可自动删除交易账户中的所有挂单(限价买入、限价卖出、止损买入、止损卖出)。该脚本非常适合希望在不影响市场活跃头寸的情况下即时清除挂单的交易者。 功能 删除所有挂单(限价买入、限价卖出、买入止损、卖出止损)。 不影响未结市场头寸。 通过专家选项卡提供实时执行反馈。 帮助交易者快速重置挂单策略,无需人工干预。 使用方法: 将脚本附加到 MT5 图表。 脚本将自动扫描并删除所有挂单。 每个被删除的订单都会在专家选项卡中显示一条确认信息。 注意 该脚本不会关闭有效交易,只会删除挂单。 运行脚本前,请确保您要删除所有挂单。 它适用于账户中的所有交易符号,而不仅仅是所附图表。 开发者: Usman Zabir - UZFX 版本: 1.00 年份: 2025 网站: https://www.mql5.com/en/users/forextycoons
FREE
MAs Multi Tiempo
Juan Manuel Rojas Perez
5 (1)
El indicador técnico propuesto es un sistema de medias móviles de múltiples marcos temporales diseñado para ayudar a los operadores del mercado financiero a seguir de cerca los movimientos tendenciales. Al combinar medias móviles de diferentes períodos, este indicador ofrece una visión más completa de la dirección de la tendencia, lo que permite a los traders identificar oportunidades de trading con mayor precisión. Al utilizar este indicador, los operadores pueden maximizar sus ganancias al tom
FREE
Trend Strength Visualizer
Alexander Denisovich Jegorov
Trend Strength Visualizer A Simple Tool for Trend Analysis This indicator helps you quickly assess the strength of market trends using fast and slow moving averages. It’s designed to give you a clear visual representation of the trend, so you can make better trading decisions. ~Displays: Green Line : Strong uptrend (potential buying opportunities). Red Line : Strong downtrend (potential selling opportunities). ~Values That Can Be Changed: Fast MA period. Slow MA period. Line color for uptrend an
Nasdaq Future is a Semi Automated Trading Expert.  How does it work ? Simply Identify a strong trend, Up trend on Nasdaq for Example.  Click Buy, the Expert will open 9 trades 1. Market Execution  3. Buy Stop at Higher prices distanced space 0.5X from eachother 5. Buy limits orders below the Market price distanced 1X What is X ? X is the distance between two orders, for example in nasdaq, recomended to use between 50-70 points.  Can I control X ? Yes, in the control panel there is
币安是全球知名的加密数字货币交易所!为方便对加密数字货币行情进行实时数据分析,程序可自动将币安实时成交数据导入到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——We
适用于 MetaTrader 5 (MT5) 的 UZFX - 即时关闭所有未结买单和卖单脚本是一款功能强大的工具,交易者只需执行一次操作,即可立即关闭所有活跃的市场头寸。该脚本是紧急交易管理的理想工具,可帮助交易者在剧烈波动、新闻事件或策略调整期间快速退出市场。 功能 关闭所有符号的所有未结买入和卖出头寸。 使用最新的买入价/卖出价,执行准确。 帮助交易者即时退出市场,只需极少的手动操作。 使用方法 将脚本附加到 MT5 图表。 脚本将扫描并关闭所有未平仓的买入和卖出头寸。 专家选项卡中将显示每个平仓订单的确认信息。 注意 该脚本不会删除挂单,只会关闭活跃的市场头寸。 它适用于所有交易符号,而不仅仅是所附图表。 运行脚本前,请确保您要关闭所有仓位,因为脚本会立即执行。 开发者:Usman Zabir - UZ 乌斯曼-扎比尔 - UZFX 版本: 1.00 年份: 2025 网站: https://www.mql5.com/en/users/forextycoons
FREE
FX28 Trader MT5
Tsvetan Tsvetanov
3 (1)
介绍FX28 Trader Dashboard – 您的终极交易管理工具 通过FX28 Trader Dashboard,解锁您交易体验的全部潜力,这是一款全面而直观的交易管理工具,旨在将您的外汇交易提升到新的水平。无论您是经验丰富的交易员还是刚刚开始您的金融之旅,这个强大的工具旨在简化您的交易活动并提高您的决策过程。 主要特点: 用户友好界面: FX28 Trader Dashboard拥有用户友好的界面,适应各个层次的交易员。通过几次点击轻松导航各种功能和工具,确保您只需轻松几下就完全掌控了交易。 实时市场数据: 利用实时市场数据源,始终保持领先地位,为您提供有关货币对、趋势和市场波动的最新信息。做出明智的决策,充满信心地执行交易。 高级交易分析: 通过高级分析深入了解您的交易绩效。跟踪交易历史,分析趋势,并识别模式,以优化您的策略和改善您的结果。 风险管理工具: 用我们强大的风险管理工具保护您的投资。轻松设置止损和获利订单,自定义仓位大小,并轻松实施风险收益比,确保自律和受控的交易方法。 多时间框架分析: FX28 Trader Dashboard允许您同时分析不同时间框架的市
This Dashboard is very useful . That will help us analyzing graph. In this dashboard has some functions. such as  - Buy Stop - Sell Stop - Buy Limit Order - Sell Limit Order - Close All trade on this graph - Close All Profit - Delete Pending Order = Notify to enter an order - Percentage Calculation of chance to win an order On this strategy i calculated all Major EMA to find a higher chance and take more profits
使用革命性的交易时间管理器轻松控制您的交易程序。这个强大的工具可以在指定时间自动执行订单,从而改变您的交易方式。 为不同的交易行为(从购买到设置订单)制定个性化任务列表,所有这些都无需人工干预。 交易时间管理器安装和输入指南 如果您想获取有关 EA 的通知,请将我们的 URL 添加到 MT4/MT5 终端(参见屏幕截图)。 MT4版本     https://www.mql5.com/en/market/product/103716 MT5版本     https://www.mql5.com/en/market/product/103715 告别人工监控,拥抱精简效率。直观的界面允许您设置精确的参数,包括交易品种、执行时间、价格、止损 (SL)、止盈 (TP) 点和手数大小。 该工具的灵活性通过与市场行为相匹配的适应性重复选项来凸显。通过视觉主题个性化您的体验,并减少长时间交易期间的眼睛疲劳。 摆脱手动交易程序,拥抱“交易时间管理器”的强大功能。提高交易的准确性、组织性和自由度。简化您的日常工作并重新体验交易。 主要特点: 自动订单执行:按指定时间间隔无缝自动执行订单,从而节省您的
UPDATE MAR/20 OBS: Please after purchase contact US via CHAT to suport. This Product is a Market Scanner based on Didi Index Indicator. He can scan all time frames of Symbols in Market Watch, client can customize according the demand, its can scan a single symbol or more than 100. Manual: Link Driver Link do Manual Video:   LINK The Scanner informs 4 kind of signals, all alerts are providing from Didi Index Indicator: 1 - Didi Index - Alert of Buy : Cross up of "Curta" short moving average 3
Secret Impulse
Eugen Funk
3 (17)
EA(交易专家)会在纽约交易时段市场开始波动时开仓(交易量增加)。因此,冲量得到了交易量的支持,我们可以以较高的概率迅速达到止盈(Take Profit)。 信号 (292%, 10% DD): https ://www .mql5 .com /en /signals /2274145 纽约交易时段的冲量入场 EA通过低时间框架上的FVG(公平价值缺口)检测隐藏的冲量。如果冲量在纽约交易时段之前或期间被检测到,EA会开仓。 根据市场动态管理仓位 如果冲量迅速消失,EA会采用以下三种策略之一: 在某个已识别的价格水平触发止损,并停止交易。 触发止损后,在相反方向开设新仓位。 继续管理原始仓位,通过增加或减少仓位直至获得利润。 如何使用 购买后,请与我联系以获取详细的设置说明。EA运行需要网络连接(内部使用了Rithmic验证的订单簿数据)。 如何进行回测 在黄金(XAUUSD)上运行测试。 时间框架:1分钟。 在输入字段“Lot Factor”中设置手数。1x表示0.01手,10x表示0.1手,以此类推。 设置您的账户货币中的最大允许回撤,例如100美元。如果达到指定的回撤值,所有仓位
Market Markers EA
Tshepo Michael Motaung
This EA is sessions trading robot that allows you to trade the trading session of yours choice as it waits for market markers to make decision for the direction of the day before taking any trades. It has 3 entry signals that uses candle stick patterns, Moving Averages and Range Break to maximize profits and to take advantage of the trending market. The EA practices risk management and has the ability to grow account by risking certain percentage of your account(risk percentage) each time there
Mayari MT5
Jose Lagayan
Introducing the MAYARI MT5: The Trend Indicator Expert Advisor *Set Files for EURUSD available on the Comments Section *RESULTS SHOWN HERE ARE NOT OVER OPTIMIZED UNLIKE OTHER BOTS THE IS FOR SALE! ONLY REALISTIC RESULTS! *The default settings of MAYARI MT5 are optimized for EURUSD, based on rigorous back-testing over a 4-year period. For safe and effective operation, it's recommended to use the default settings with an account balance of at least $1,000 USD. Embark on a journey where technology
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,
该产品已经开发了 3 年,它是 MQL5 编程语言中最先进的人工智能和机器学习代码库。它已被用于创建多个基于 AI 的交易机器人和指标,适用于 MetaTrader 5。 这是一个高级版,基于免费开源的 MQL5 机器学习项目,链接如下:  https://github.com/MegaJoctan/MALE5 。免费版本功能较少,文档较少,维护不足,仅适用于小型 AI 模型。 该高级版包含您编写 AI 交易机器人的所有必需工具。 为什么要购买此库? 非常易于使用,代码语法友好,类似于 Python 的流行 AI 库,如 Scikit-learn、TensorFlow 和 Keras。 文档齐全,提供丰富的视频、示例和文档,帮助您快速上手。 计算优化,性能优越,运行方式类似普通 EA。  无需额外依赖,无需 DLL 文件,所有内容可编译为单一 .EX5 文件,便于测试和分发。 全天候技术支持,我将提供帮助,确保您正确使用,并在问题出现时协助修复。  谁适合使用此库? 具有基本机器学习和 AI 知识的用户。 机器学习爱好者,特别是来自 Python ML 社区的开发者。 MQL5 中级
Bukele UP
Jhon Michael Antony Florez Roa
---> Schedule of the broker that I use for Back Testing <---- Broker schedule used in Back Testing: UTC/GTM +2 hours. --->   Minimum capital for its correct operation  <---- 1000 USD ----> Strategy <---- It is a range strategy, in which if it breaks the maximum a purchase is made or if it breaks the minimum a sale is made. This range is created every day and open trades and orders are closed before the market closes. The Buy has the Stop Loss at the bottom of the range and the Sell has the
该产品的买家也购买
Native Websocket
Racheal Samson
5 (5)
An   easy to use, fast,  asynchronous   WebSocket library  for MQL5. It supports: ws://   and   wss://  (Secure "TLS" WebSocket) text   and   binary   data It handles: fragmented message  automatically (large data transfer) ping-pong   frames  automatically (keep-alive handshake) Benefits: No DLL required. No OpenSSL installation required. Up to 128 Web Socket Connections from a single program. Various Log Levels for error tracing Can be synchronized to MQL5 Virtual Hosting . Completely native t
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.
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示:单击此处 如果您想与交易面板进行交易,您可能对此产品感兴趣 该产品是加密图表的插件 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示: 单击此处 如果您想与交易面板进行交易, 您可能对
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
MetaCOT 2 CFTC ToolBox MT5
Vasiliy Sokolov
3.67 (3)
MetaCOT 2 CFTC ToolBox is a special library that provides access to CFTC (U.S. Commodity Futures Trading Commission) reports straight from the MetaTrader terminal. The library includes all indicators that are based on these reports. With this library you do not need to purchase each MetaCOT indicator separately. Instead, you can obtain a single set of all 34 indicators including additional indicators that are not available as separate versions. The library supports all types of reports, and prov
This is a simplified and effective version of the library for walk forward analysis of trading experts. It collects data about the expert's trade during the optimization process in the MetaTrader tester and stores them in intermediate files in the "MQL5\Files" directory. Then it uses these files to automatically build a cluster walk forward report and rolling walk forward reports that refine it (all of them in one HTML file). Using the WalkForwardBuilder MT5 auxiliary script allows building othe
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 );    //复杂开单
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
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 installat
Hello everyone! I am a professional MQL programmer , Making EAs, Indicators and Trading Tools for my clients all over the world. I build 3-7 programs every week but I seldomly sell any ready-made Robots. Because I am fastidious and good strategy is so few...  this EA is the only one so far I think its good enough to be published here.  As we all know, the Ichimoku indicator has become world popular for decades, but still, only few people knows the right way of using it, and if we check the clo
Applying these methods, I managed to arrive at a nuanced conclusion that is crucial to understanding the importance of unique strategies in contemporary trading. Although the neural network advisor showed impressive efficiency in the initial stages, it proved to be highly unstable in the long run. Various factors such as market fluctuations, trend changes, external events, etc. cause its operation to be chaotic and eventually lead to instability. With these experiences, I accepted the challenge
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   an
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
*****主要交易XAUUSD,如果测试的时候,建议调整到XAUUSD,其他交易标的不能保证盈利效果********* 需要测试的请留言(看到后会第一时间回复),为了保护工作成果,需要输入特定的参数,系统默认的参数无法实现截图回撤所示效果! 需要测试的请留言(看到后会第一时间回复),为了保护工作成果,需要输入特定的参数,系统默认的参数无法实现截图回撤所示效果! 需要测试的请留言(看到后会第一时间回复),为了保护工作成果,需要输入特定的参数,系统默认的参数无法实现截图回撤所示效果! **************************************************************************************************************************************************************** 1、【简述】主要为趋势交易,严格筛选交易信号,一旦交易信号明确,快速交易。 2、【止损止盈】每月止盈15%,止损30%。 3、【特殊说明】严格的交易执行逻辑,一旦当月达到止盈止损后,坚决不再开
Shawrie
Kevin Kipkoech
This Pine Script implements a Gaussian Channel + Stochastic RSI Strategy for TradingView . It calculates a Gaussian Weighted Moving Average (GWMA) and its standard deviation to form an upper and lower channel. A Stochastic RSI is also computed to determine momentum. A long position is entered when the price closes above the upper Gaussian band and the Stoch RSI K-line crosses above D-line . The position is exited when the price falls back below the upper band. The script includes commission, cap
Pionex API EA 连接器(MT5) – 无缝集成MT5 概述 Pionex API EA 连接器 允许 MetaTrader 5(MT5) 无缝集成 Pionex API ,让交易者直接在 MT5 上执行交易、管理订单、获取账户余额并跟踪交易历史。 主要功能 账户和余额管理 Get_Balance(); – 获取 Pionex 账户的当前余额。 订单执行和管理 orderLimit(string symbol, string side, double size, double price); – 按指定价格下 限价单 。 orderMarket(string symbol, string side, double size, double amount); – 以指定数量执行 市价单 。 Cancel_Order(string symbol, string orderId); – 取消特定订单(通过 ID )。 Cancel_All_Order(string symbol); – 取消该交易对的所有 未完成订单 。 订单跟踪和历史 Get_Order(str
Bookeepr
Marvellous Peace Kiragu
Bookeepr is an advanced MQL5 trading bookkeeping software that automates trade logging, tracks real-time P&L, and integrates a ledger-style financial system for deposits, withdrawals, and expenses. It supports multi-currency assets , generates detailed performance reports , and provides risk management tools to help traders optimize their strategies. With secure cloud storage, exportable reports, and seamless MetaTrader 5 integration , Bookeepr ensures accurate, transparent, and hassle-free fina
Native Websocket
Racheal Samson
5 (5)
An   easy to use, fast,  asynchronous   WebSocket library  for MQL5. It supports: ws://   and   wss://  (Secure "TLS" WebSocket) text   and   binary   data It handles: fragmented message  automatically (large data transfer) ping-pong   frames  automatically (keep-alive handshake) Benefits: No DLL required. No OpenSSL installation required. Up to 128 Web Socket Connections from a single program. Various Log Levels for error tracing Can be synchronized to MQL5 Virtual Hosting . Completely native t
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.
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示:单击此处 如果您想与交易面板进行交易,您可能对此产品感兴趣 该产品是加密图表的插件 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示: 单击此处 如果您想与交易面板进行交易, 您可能对
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
MetaCOT 2 CFTC ToolBox MT5
Vasiliy Sokolov
3.67 (3)
MetaCOT 2 CFTC ToolBox is a special library that provides access to CFTC (U.S. Commodity Futures Trading Commission) reports straight from the MetaTrader terminal. The library includes all indicators that are based on these reports. With this library you do not need to purchase each MetaCOT indicator separately. Instead, you can obtain a single set of all 34 indicators including additional indicators that are not available as separate versions. The library supports all types of reports, and prov
This is a simplified and effective version of the library for walk forward analysis of trading experts. It collects data about the expert's trade during the optimization process in the MetaTrader tester and stores them in intermediate files in the "MQL5\Files" directory. Then it uses these files to automatically build a cluster walk forward report and rolling walk forward reports that refine it (all of them in one HTML file). Using the WalkForwardBuilder MT5 auxiliary script allows building othe
OrderBook History Library
Stanislav Korotky
3 (2)
Order Book, known also as Market Book, market depth, Level 2, - is a dynamically updated table with current volumes of orders to buy and to sell specific financial instument at price levels near Bid and Ask. MetaTrader 5 provides the means for receiving market book from your broker, but in real time only, without access to its history. The library OrderBook History Library reads market book state in the past from archive files, created by OrderBook Recorder . The library can be embedded into you
Teclado trader, é uma BIBLIOTECA que você pode chamar no OnChartEvent para abrir posição de compra/venda/zerar, os botões padrões são: V = venda C = compra Z = zerar posições a mercado S = zerar posições opostas e depois a mercado X = zerar posições opostas Além da função de teclado, é possível mostrar os estados do ExpertAdvisor usando o MagicId, com informação de: lucro mensal, semanal, diario, e posição aberta, para isto use o OnTick, ou qualquer outro evento (OnTimer / OnTrade / OnBookEven
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 );    //复杂开单
作者的更多信息
TG Macd 2 Line MT5
Daciana Elena Chirica
5 (3)
The MACD 2 Line Indicator is a powerful, upgraded version of the classic Moving Average Convergence Divergence (MACD) indicator. This tool is the embodiment of versatility and functionality, capable of delivering comprehensive market insights to both beginner and advanced traders. The MACD 2 Line Indicator for MQL4 offers a dynamic perspective of market momentum and direction, through clear, visually compelling charts and real-time analysis. Metatrader4 Version |  How-to Install Product | How-t
FREE
TG MTF MA MT5   is designed to display a multi-timeframe moving average (MA) on any chart timeframe while allowing users to specify and view the MA values from a particular timeframe across all timeframes. This functionality enables users to focus on the moving average of a specific timeframe without switching charts. By isolating the moving average values of a specific timeframe across all timeframes, users can gain insights into the trend dynamics and potential trading opportunities without sw
FREE
TG Macd 2 Line MT4
Daciana Elena Chirica
The MACD 2 Line Indicator is a powerful, upgraded version of the classic Moving Average Convergence Divergence (MACD) indicator. This tool is the embodiment of versatility and functionality, capable of delivering comprehensive market insights to both beginner and advanced traders. The MACD 2 Line Indicator for MQL4 offers a dynamic perspective of market momentum and direction, through clear, visually compelling charts and real-time analysis. Metatrader5 Version |  How-to Install Product | How-to
FREE
TG MTF MA MT5     is designed to display a   multi-timeframe moving average (MA)   on   any   chart   timeframe   while allowing users to specify and view the MA values from a particular timeframe across all timeframes. This functionality enables users to focus on the moving average of a specific timeframe without switching charts.   By   isolating   the moving average values of a specific timeframe across all timeframes, users can gain insights into the trend dynamics and potential trading opp
FREE
Introducing "TG Risk Service Manager" — your comprehensive toolkit for swift and precise risk management and lot size calculations in the dynamic world of trading. Designed to streamline development processes and enhance trading strategies, this indispensable library equips developers with essential tools for optimizing risk assessment and trade profitability. Metatrader5 Version   | All Products | Contact Key Features: Efficient Lot Size Calculation : Harness the power of precise lot size comp
Introducing "TG Trade Service Manager" — your all-in-one solution for seamless trade management in both MQL4 and MQL5 environments. With a focus on speed, reliability, and convenience, this powerful library simplifies the complexities of trade execution and management, empowering developers with a single interface for enhanced efficiency. Metatrader5 Version |  All Products  |  Contact Key Features: Unified Interface : TG Trade Service Manager" provides a unified interface for   MQL4   and   MQ
TG AveraEdge MT4
Daciana Elena Chirica
Avera Edge  (EA) employs an   averaging strategy   designed for   long-term   profitability with low risk. It operates by initiating trades and setting take profit levels. If the market quickly reaches the take profit point, it opens another trade upon the next candle's opening.    Conversely, if the market moves against the trade, it employs an averaging technique to secure more favorable prices. Go to ->  Metatrader5 Version |  All Products  |  Contact
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   an
TG AveraEdge MT5
Daciana Elena Chirica
Avera Edge  (EA) employs an   averaging strategy   designed for   long-term   profitability with low risk. It operates by initiating trades and setting take profit levels. If the market quickly reaches the take profit point, it opens another trade upon the next candle's opening.  Conversely, if the market moves against the trade, it employs an averaging technique to secure more favorable prices. Go to ->  Metatrader4 Version |  All Products  |  Contact
筛选:
无评论
回复评论