• Información general
  • Comentarios
  • Discusión

TG Trade Service Manager MT5

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.

Key Features:

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

  2. Error Handling and Logging: Robust error handling and logging mechanisms ensure that both successful transactions and error messages are meticulously recorded, providing developers with comprehensive insights into trade activities.

  3. Flexible Stop Loss and Take Profit Options: Developers benefit from flexible stop loss and take profit options tailored to their preferences. With two distinct methods available for setting stop loss and take profit levels, developers can choose between defining prices directly or specifying distances in points. The library intelligently handles computations to place stop loss and take profit orders at the desired distances, eliminating the need for manual calculations and simplifying trade management workflows.

#import "TG_TradeServiceLib.ex5" //or path to library
long Buy(double lots, int stopLossPoints, int takeProfitPoints, string symbol, int magic, string comment = NULL);
long Buy(double lots, double stopLossPrice, double takeProfitPrice, string symbol, int magic, string comment = NULL);
long Sell(double lots, int stopLossPoints, int takeProfitPoints, string symbol, int magic, string comment = NULL);
long Sell(double lots, double stopLossPrice, double takeProfitPrice, string symbol, int magic, string comment = NULL);
long BuyLimit(double price, double lots, double stopLossPrice, double takeProfitPrice, string symbol, int magic, string comment = NULL);
long BuyLimit(double price, double lots, int stopLossPoints,  int takeProfitPoints, string symbol, int magic, string comment = NULL);
long SellLimit(double price, double lots, double stopLossPrice, double takeProfitPrice, string symbol, int magic, string comment = NULL);
long SellLimit(double price, double lots, int stopLossPoints,  int takeProfitPoints, string symbol, int magic, string comment = NULL);
long BuyStop(double price, double lots, double stopLossPrice, double takeProfitPrice, string symbol, int magic, string comment = NULL) ;
long BuyStop(double price, double lots, int stopLossPoints,  int takeProfitPoints, string symbol, int magic, string comment = NULL);
long SellStop(double price, double lots, double stopLossPrice, double takeProfitPrice, string symbol, int magic, string comment = NULL);
long SellStop(double price, double lots, int stopLossPoints,  int takeProfitPoints, string symbol, int magic, string comment = NULL);
long MarketExecution(int operation, double lots, int stopLossPoints,  int takeProfitPoints, string symbol, int magic, string comment = NULL);
long MarketExecution(int operation, double lots, double stopLossPrice,  double takeProfitPrice, string symbol, int magic, string comment = NULL);
bool Close(long ticket, double lots, int slippage);
bool Close(long ticket, int slippage);
bool CloseBatch(int magic, string symbol, int type = -1);
bool DeletePending(long ticket);
bool DeleteBatch(int magic, string symbol, int type = -1) ;
bool ModifyMarket(long ticket, int stopLossPoints, int takeProfitPoints) ;
bool ModifyMarket(long ticket, double stopLossPrice, double takeProfitPrice); 
bool ModifyMarketBatch(int magic, double stopLossPrice, double takeProfitPrice, string symbol, int type = -1);
bool ModifyMarketBatch(int magic, int stopLossPoints, int takeProfitPoints, string symbol, int type = -1);
bool ModifyPending(ulong ticket, double stopLossPrice, double takeProfitPrice, double price = 0, datetime expiration = 0);
bool ModifyPending(ulong ticket, int stopLossPoints, int takeProfitPoints, double price = 0, datetime expiration = 0);
long Pending(int operation, double price, string symbol, int magic, double lots, int stopLossPoints, int takeProfitPoint, string comment = NULL, datetime expiration = 0);
#import

BEFORE USING YOU HAVE TO IMPORT THE LIBRARY LIKE MY EXAMPLE ABOVE
How to use Examples

Example 1 using points(int) as parameters:
 //will open a trade with StopLoss = 125 points, TakeProfit = 125 points
   long resultTicket = MarketExecution(
                          (int)ORDER_TYPE_BUY,  // order type
                          0.01,                 // lots
                          125,                  //stopLoss(in points)
                          125,                  //takeProfit(in points)
                          _Symbol,              //symbol (optional)
                          1,                    //magic number(optional)
                          "MyFirstTrade");      //comment (optional)

   if(resultTicket <= 0) //usually if execution fails it will result in -1
   {
      //Code to handle failure
      //return false/Sleep/etc
   }

   //Rest of algorithm implementation

Note: I do not use negative values for stopLoss, the library computes everything by itself.

Example 2 using price(double) as parameters:

   //will open a trade with StopLoss = 125 points, TakeProfit = 125 points
   long resultTicket = MarketExecution(
                          (int)ORDER_TYPE_BUY,  // order type
                          0.01,                 // lots
                          1.08300,              //stopLoss(PRICE)
                          1.08800,              //takeProfit(PRICE)
                          _Symbol,              //symbol (optional)
                          1,                    //magic number(optional)
                          "MyFirstTrade");      //comment (optional)

   if(resultTicket <= 0) //usually if execution fails it will result in -1
   {
      //Code to handle failure
      //return false/Sleep/etc
   }

   //Rest of algorithm implementation

Logging Examples

Errors

2024.01.31 18:44:02.346 TradeServiceLibScriptTests (EURUSD,H4) [INFO] | [Trade.mqh::CTrade::CheckStopLossTakeProfitCorrectness] | For order ORDER_TYPE_BUY   TakeProfit=-1.08366 must be greater than 1.08469 (Bid=1.08468 + SYMBOL_TRADE_STOPS_LEVEL=1 points)

2024.01.31 18:44:02.346 TradeServiceLibScriptTests (EURUSD,H4) [ERROR] | [Trade.mqh::CTrade::PositionOpen::496] | Invalid stops ORDER_TYPE_BUY MarketPrice: 1.085, Bid:1.08468, Ask:1.08470 SL: 1.08366, TP: -1.08366 


INFO:

2024.01.31 18:23:35.607 TradeServiceLibScriptTests (EURUSD,H4) [INFO] | [Trade.mqh::CTrade::OrderSend] | CTrade::OrderSend: market buy 0.01 EURUSD [done at 1.08514]

2024.01.31 18:41:49.329 TradeServiceLibScriptTests (EURUSD,H4) [INFO] | [Trade.mqh::CTrade::OrderSend] | CTrade::OrderSend: market buy 0.01 EURUSD sl: 1.08397 tp: 1.08597 [done at 1.08497]

2024.01.31 18:42:13.301 TradeServiceLibScriptTests (EURUSD,H4) [INFO] | [Trade.mqh::CTrade::OrderSend] | CTrade::OrderSend: market buy 0.01 EURUSD sl: 1.08391 [done at 1.08489]

2024.01.31 18:43:39.998 TradeServiceLibScriptTests (EURUSD,H4) [INFO] | [Trade.mqh::CTrade::OrderSend] | CTrade::OrderSend: market buy 0.01 EURUSD sl: 1.08366 [done at 1.08464]

 


Productos recomendados
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 );    //复杂开单
KopierMaschine - локальный копировщик сделок между различными счетами MetaTrader 4 и MetaTrader 5 в любом направлении расположенных на одном компьютере с интуитивно понятным интерфейсом. Направления копирования: MT4 --> MT5 MT4 --> MT4 MT5 --> MT5 MT5 --> MT4 для копирования между терминалами MetaTrader 4 и   MetaTrader   5 необходимо приобрести версию продукта   KopierMaschine  для    MetaTrader  4 Особенности Программа работает в двух режимах Master и Slave На один подчиненный счет можно коп
1. What is this The MT5 system comes with very few optimization results. Sometimes we need to study more results. This library allows you to output more results during backtest optimization. It also supports printing more strategy results in a single backtest. 2. Product Features The results of the optimized output are quite numerous. CustomMax can be customized. The output is in the Common folder. It is automatically named according to the name of the EA, and the name of the same EA will be au
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
The Matrix
Omega J Msigwa
Matrix es la base de algoritmos comerciales complejos, ya que lo ayuda a realizar cálculos complejos sin esfuerzo y sin la necesidad de demasiada potencia de cálculo. No hay duda de que Matrix ha hecho posible muchos de los cálculos en las computadoras modernas, ya que todos sabemos que los bits de información son almacenados en forma de matriz en la memoria RAM de nuestra computadora, Al usar algunas de las funciones de esta biblioteca, pude crear robots de aprendizaje automático que podían ace
HFTHackerMT5
Thomas Bradley Butler
5 (2)
ESTE EA HA VUELTO A SER UNA VERSIÓN SIMPLE SIN RECUPERACIÓN DEBIDO A LA COMPLEJIDAD Y CONFUSIÓN QUE PROVOCA LA OPTIMIZACIÓN PARA LOS USUARIOS. SI COMPRÓ LA VERSIÓN ANTERIOR POR DEBAJO DE 15 CON RECUPERACIÓN, NO USE LA 15. TENGO QUE DECIDIR ENTRE VENDER Y OÍR LOS COMENTARIOS DE LOS USUARIOS. SI ES DEMASIADO COMPLEJO, LOS USUARIOS NO LO USARÁN. OPTIMICE EL EA ANTES DE PROBARLO Y USARLO. COMPRE SOLO SI LO HA OPTIMIZADO. Esto es para los traders que saben cómo optimizar y quieren obtener ganancias
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
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
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        -
FTMO Protector 8
Vyacheslav Izvarin
PROTECT YOUR FTMO Account in a simplest way Must-Have Account Protector for any Prop-trading Account and Challenge MT4 / MT5 Expert Advisor that protects your Forex Prop Trading account from an unexpected drawdown! FTMO Protector  is a Tool that lets you manage trades and control your profit and loss across multiple Robots and currency pairs using a simple parameters and settings. Use as many EAs and Instruments you need, the Protector will: 1.   Calculate your midnight (01:00 System time) Balan
Trading Utility for Forex Currency Pairs Only not for Gold  Functions Auto Lot Calculation based on Risk Auto stoploss  Auto TakeProfit Breakeven Auto Close Half % Close in percentage with respect to the PIPs Pending Orders BuyLimit Sell Limit with distances BuyStop Sell Stop    with distances Trading Informations Risk in percentage For Multiple trades Combine Takeprofit and Combine Stoplosses
Cloner for MT5
Volodymyr Hrybachov
La utilidad está diseñada para clonar operaciones en su cuenta de operaciones: el programa abre una operación adicional con sus parámetros. Tiene la capacidad de aumentar o disminuir el lote, agregar mucho, cambiar los parámetros de stop loss y take profit. El programa está diseñado para funcionar en "Windows PC" y "Windows VPS".  Buy a cloner and get the second version for free Opciones: CLONE_POSITIONS - qué órdenes clonar; MAGIC_NUMBER - número mágico; DONT_REPEAT_TRADE: si es verdadero,
Auto Trade Copier for MT5
Vu Trung Kien
4.24 (21)
Auto Trade Copier está diseñado para copiar los oficios entre múltiples cuentas MT5 / terminales con una precisión absoluta. Con esta herramienta, puede actuar como proveedor (fuente ) o receptor (destino ) . Cada acciones comerciales podrán ser clonados del proveedor al receptor sin demora. Las siguientes son las funciones destacadas :     Cambie entre proveedores o función del receptor en una sola herramienta.     Un proveedor puede copiar los oficios a las cuentas de múltiples receptor
Descripción del Producto: Avalut Gold Light VERSIÓN COMPLETA El sistema de comercio de oro completamente automatizado de Edgezone Enlaces: Manual del Usuario de Avalut Gold Sitio web Linktree ¿Por qué elegir Avalut Gold Light? Superioridad: Nuestros sistemas se desarrollan utilizando métodos de vanguardia (SPP, Walk Forward, Monte Carlo, y muchos más)! Ahorro de tiempo: Disfruta de tu valioso tiempo mientras el sistema monitorea los mercados las 24 horas del día y ejecuta operaciones. Rentabili
Utilidad para la gestión automática de pedidos y riesgos. Le permite aprovechar al máximo las ganancias y limitar sus pérdidas. Creado por un comerciante practicante para comerciantes. La utilidad es fácil de usar, funciona con cualquier orden de mercado abierta manualmente por un comerciante o con la ayuda de asesores. Puede filtrar operaciones por número mágico. La utilidad puede trabajar con cualquier número de pedidos al mismo tiempo. Tiene las siguientes funciones: 1. Establecer ni
¡El nivel Premium es un indicador único con más del 80% de precisión de predicciones correctas! ¡Este indicador ha sido probado por los mejores especialistas en comercio durante más de dos meses! ¡El indicador del autor no lo encontrarás en ningún otro lugar! ¡A partir de las capturas de pantalla, puede ver por sí mismo la precisión de esta herramienta! 1 es ideal para operar con opciones binarias con un tiempo de vencimiento de 1 vela. 2 funciona en todos los pares de divisas, accion
Discover our groundbreaking scalping trading bot designed for small trading accounts. This bot utilizes a simple fractal breakout strategy, executing fast trades based on local highs and lows. Key Features: Trading System: Utilizes fractals for entry points in both long and short positions. Settings Explained: Detailed inputs including timeframes, risk management, and ATR-based stop-loss and take-profit levels. Optimal Trading Times: Best used with pairs like EUR/USD or USD/JPY during liquid ma
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
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
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
Trade Copier Pro MT5
Vu Trung Kien
3.67 (3)
Trade Copier Pro MT5 is a tool to copy trade remotely to multiple MT4, MT5 and cTradfer accounts at different computers/locations over internet. This is an ideal solution for you if you are a signal provider and want to copy your trades to other receivers globally on your own rules. One provider can copy trades to multiple receivers and one receiver can get trade from multiple providers as well. The provider can even set the subscription expiry for each receiver, so that receiver will not be abl
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
Gyroscope        professional forex expert   (for EURUSD, GBPUSD, USDJPY, AUDUSD, USDCHF, EURGBP, EURJPY, NZDUSD, USDCAD, EURCHF, AUDJPY, CADJPY pairs)   alyzing the market using the Elliot Wave Index. Elliott wave theory is the interpretation of processes in financial markets through a system of visual models (waves) on price charts. The author of the theory, Ralph Elliott, identified eight variants of alternating waves (of which five are in the trend and three are against the trend). The mo
Ict Smc Fvg Scalping
Nuno Miguel Rocha Dos Reis Tavares
ICT SMC FVG Scalping This product will be discontinued in 2025 as we are currently working on another project   Phoenix Ultimate   and until then this will be free for you to use with hope you will give us a fair review. Enjoy ! This advanced trading bot leverages the ICT SMC (Smart Money Concepts) and FVG (Fair Value Gap) strategy to identify optimal entry points in the market. By targeting the re-pricing of gaps (FVGs), the bot aims to capitalize on these imbalances for trade execution. It em
FREE
Guard Scalper EA is a Scalper Robot based on market trend analys. Guard Scalper EA will look for potential High Probability entries as trigger for entry into the market. Guard Scalper EA is good for use on pairs with low spreads such as EURUSD, GBPUSD, or USDJPY Recommendation : Please add and running  Guard Scalper   EA on low spread pairs such as EURUSD, GBPUSD, or USDJPY on M5 timeframes. You can running on that pairs simultanuously Attention : You can start to trade with $ 300 Minimum initi
Super Trend Trading View 5
Mohammad Taher Halimi Tabrizi
The SuperTrend indicator is a popular technical analysis tool used by traders and investors to identify trends in the price of a financial instrument, such as a stock, currency pair, or commodity. It is primarily used in chart analysis to help traders make decisions about entering or exiting positions in the market. this version of super trend indicator is exactly converted from trading view to be used in MT5
FTMO passing EA (High risk) is unique Expert Advisor that continues the iBoss series of advisors. Innovative methods of the programme's approach to trading, and promising performance results are possible thanks to the use of modern technologies and methods. The iBossTrade is a fully automated EA designed to trade currencies only. Working pairs US30. EURUSD, GBPUSD, EURGBP, USDCAD. XAUUSD. Expert showed stable results on currencies in 1999-2023 period. No dangerous methods of money management use
This indicator provides the analysis of tick volume deltas. It monitors up and down ticks and sums them up as separate volumes for buys and sells, as well as their delta volumes. In addition, it displays volumes by price clusters (cells) within a specified period of bars. This indicator is similar to VolumeDeltaMT5 , which uses almost the same algorithms but does not process ticks and therefore cannot work on M1. This is the reason for VolumeDeltaM1 to exist. On the other hand, VolumeDeltaMT5 ca
Smart Trading Edge MT 5 is a very profitable 5 stars expert advisor for trading EURSGD and US30 that uses a proprietary indicator "Quantum Cycle" bult-in. With just $500 starting balance I was able to achieve $1,566 or 213% profit trading on a Fusion Market demo account. Please download the demo version for free using the set file from the comment section and test ea for yourself.. I think you will find Smart Trading Edge to be more stable and have less drawdown than most other ea. This powerf
Bienvenido al indicador de reconocimiento Ultimate Harmonic Patterns Este indicador detecta el patrón de Gartley, el patrón de murciélago y el patrón de cifrado en función de HH y LL de la estructura de precios y los niveles de Fibonacci, y cuando se alcanzan ciertos niveles de fib, el indicador mostrará el patrón en el gráfico. Este indicador es una combinación de mis otros 3 indicadores que detecta patrones avanzados Características : Algoritmo avanzado para detectar el patrón con alta precisi
Los compradores de este producto también adquieren
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
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
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
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
La siguiente biblioteca se ofrece como un medio para utilizar las API de OpenAI directamente en MetaTrader de la manera más sencilla posible. Para obtener más detalles sobre las capacidades de la biblioteca, lea el siguiente artículo: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual IMPORTANTE: Para usar el EA, es necesario añadir la siguiente URL para permitir el acceso a la API de OpenAI  como se muestra en las imágenes adjuntas Para utili
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.
Esta biblioteca le permitirá gestionar operaciones utilizando cualquiera de sus EA y es muy fácil de integrar en cualquier EA, lo que puede hacer usted mismo con el código de secuencia de comandos que se menciona en la descripción y también ejemplos de demostración en video que muestran el proceso completo. - Órdenes de límite de colocación, límite de SL y límite de obtención de ganancias - Realizar órdenes de Mercado, SL-Market, TP-Market - Modificar orden límite - Cancelar orden
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
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-
Gold plucking machine S   Gold plucking machine  S Gold plucking machine S   is an Expert Advisor designed specifically for trading gold. The operation is based on opening orders using the Fast and Slow lines indicator, thus the EA works according to the "Trend Follow" strategy, which means following the trend. Use grid strategy to place orders without stop loss operation, so please make sure the account has sufficient funds. magic number        -  is a special number that the EA assigns to its
The library is used to develop automatic trading on Binance Futures Market from MT5 platform. Support 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
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
T5L Library is necessary to use the EAs from TSU Investimentos, IAtrader and others. It contains all the functions framework needed to Expert Advisors working properly.  ツ - The Expert Advisors from  TSU Investimentos does not work without this library,  the T5L library can have updates during the year - At this Library you will find several funcionalities like order sends, buy and sell, trigger entry points check, candlestick analyses, supply and demmand marking and lines, and much more. 
EA Toolkit
Esteban Thevenon
EA Toolkit   is a library that allows any developer to quickly and easily program Advisor experts. It includes many functions and enumerations such as trailing stop, lot, stop loss management, market trading authorisations, price table updates, trading conditions and many more. Installation + Documentation : You will find all the information to install this library and the documentation of its functions on this GitHub : https://github.com/Venon282/Expert-Advisor-Toolkit WARNING : The 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
Esta biblioteca se utiliza para ordenar matrices de claves y valores, a menudo necesitamos ordenar valores. como en el lenguaje python sorted(key_value.items(), key = lambda kv:(kv[ 1 ], kv[ 0 ])) función de importación Ejemplo de escenarios de uso 1. Las órdenes de Grid EA se clasifican según el precio de apertura void SortedByOpenPride()   {    long     OrderTicketBuffer[];    double   OpenPriceBuffer[];    for ( int i = PositionsTotal ()- 1 ; i>= 0 ; i--)      {        if (m_position
Otros productos de este autor
TG Macd 2 Line MT5
Daciana Elena Chirica
5 (2)
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
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-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 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 com
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  
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 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
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
Filtro:
No hay comentarios
Respuesta al comentario