• Panoramica
  • Recensioni
  • Commenti

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


Prodotti consigliati
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
NATS (Niguru Automatic Trailing Stop) will help you achieve more profits, by setting the trailing stop automatically. Pair this NATS application with EA, or can also be used as a complement to manual trading. A trailing stop is a powerful tool in trading that combines risk management and profit optimization.  A trailing stop is a type of market order that sets a stop-loss at a percentage below the market price of an asset, rather than a fixed number. It dynamically adjusts as the asset’s pr
FREE
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 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
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
OpenAI Library MT5
VitalDefender Inc.
La seguente libreria si propone come un mezzo per poter utilizzare le API di OpenAI direttamente sulla metatrader, nella maniera più semplice possibile. Per maggiori approfondimenti sulle potenzialità della libreria, leggere il seguente articolo: https://www.mql5.com/it/blogs/post/756106 I file necessari per usare la libreria li trovate qui: Manuale IMPORTANTE: Per utilizzare l'EA è necessario aggiungere il seguente URL per consentire l'accesso all'API OpenAI c ome mostrato nelle immagini allega
Ajuste BRA50
Claudio Rodrigues Alexandre
4.4 (5)
Este script marca no gráfico do ativo BRA50 da active trades o ponto de ajuste do contrato futuro do Mini Índice Brasileiro (WIN), ***ATENÇÃO***  para este script funcionar é necessário autorizar a URL da BMF Bovespa no Meta Trader. passo a passo: MetaTrader 5 -> Ferramentas -> Opções -> Expert Adivisors * Marque a opção "Relacione no quadro abaixo as URL que deseja permitir a função WebRequest" e no quadro abaixo adicione a URL: https://www2.bmf.com.br/ este indicador usa a seguinte página pa
FREE
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,
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-
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,
MAs Multi Tiempo
Juan Manuel Rojas Perez
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
Market Screener for MT5
Sergey Batudayev
4 (1)
Questo screener consente di identificare le risorse che sono più del solito ipercomprate (% di aumento) o ipervendute (% di caduta) entro un periodo di tempo selezionato (intervallo di tempo). Il mercato è regolato dalla legge, compra a meno, vendi di più, ma senza uno scanner automatico sarà molto difficile per te identificare valute/azioni che sono in ipercomprato o ipervenduto più del solito, diciamo, entro la settimana in corso, o l'attuale ora o mese. Possono essere decine o centinaia di s
Binance è uno scambio di criptovalute di fama mondiale! Per facilitare l'analisi dei dati in tempo reale del mercato delle valute digitali crittografate, il programma può importare automaticamente i dati delle transazioni in tempo reale di Binance in MT5 per l'analisi.Le funzioni principali sono: 1. Supporta la creazione automatica di coppie di trading spot da parte del dipartimento di sicurezza valutaria e puoi anche impostare separatamente la valuta del profitto e la valuta di base. Se la v
FX28 Trader MT5
Tsvetan Tsvetanov
3 (1)
Presentazione del FX28 Trader Dashboard - Il tuo gestore di trading definitivo Scopri tutto il potenziale della tua esperienza di trading con il FX28 Trader Dashboard, un gestore di trading completo e intuitivo progettato per portare il tuo trading Forex a nuove vette. Che tu sia un trader esperto o stia iniziando il tuo percorso finanziario, questo potente strumento è stato sviluppato per semplificare le tue attività di trading e migliorare il processo decisionale. Caratteristiche principali:
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
Prendi facilmente il controllo della tua routine di trading con il rivoluzionario Trades Time Manager. Questo potente strumento automatizza l'esecuzione degli ordini in orari prestabiliti, trasformando il tuo approccio al trading. Crea elenchi di attività personalizzati per diverse azioni di trading, dall'acquisto all'impostazione degli ordini, il tutto senza intervento manuale. Trades Time Manager Guida all'installazione e agli input Se desideri ricevere notifiche sull'EA, aggiungi il nostro UR
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 averag
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
One Direction Pro is a combination of hedging, Grid averaging, pyramiding, lot martingale - anti martingale strategies, which aims to enter and exit the market as quickly as possible so as not to be trapped by unexpected market changes. Bot Explanation & Setfile |  MT4 version   Expert parameters: 1. Manage Open Positions Trade Buy: allow buy Trade Sell: allow sell Select Entry Method Period in bars for indicators : Average period Distance from High & Low Bands & Envelopes(in pips) : Distan
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
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
Trump 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 <---- This has two strategies in one Expert Advisor: 1) Trend Scalpin in US-30 and 2) Grid in EURGBP 1) Trend Scalpin in US-30: First analyze the general trend in H1 by crossing Emas and Parabolic Sar, then analyze a Pull Back in M5 with the help of the RSI. This is done on
Zelenskyy 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 <---- This expert advisor is a Bot that analyzes, through EMA, AMA and ADX in longer periods of time, whether the market is in a range or not. After detecting the range, he enters smaller time frames looking for small pull backs with the RSI to carry out operations. If the operation g
Candle Bot
Steve Zoeger
Welcome to the MT 5 Candle Bot Simply set the Indicator Filter as you want and the Robot does the Job for you. This Robot works on all frames time frames  and all pairs, the bot places entry positions. Features: - Magic Number - Spread Filter - Take Profit - Stop Loss - Bar Shift - Exit at opposite Signal - Filter (adjustable) - Trailing (adjustable) - Martingale (adjustable) and many  more. Please feel free to download it and trade 24/7. If you need help setting it up please feel free to contac
Vol 2 DPOC volume vol 2 DOC-dynamic horizontal volume indicator for any time periods Main settings of the indicator: Volume Source -selecting data for volumes (tick or real) DPOCOn -enabling / disabling the indicator DPOCFrom -calculation start date DPOCTo -settlement end date The indicator allows you to manually select areas on the chart to analyze changes in the maximum volume over time. You can do this by using vertical lines and moving them along the chart. Or by setting specific dates
ADAM for FTMO 5
Vyacheslav Izvarin
5 (1)
ADAM EA Special Version for FTMO Please find new Version here  https://www.mql5.com/en/market/product/113326 Our 1st EA created using ChatGPT technology Trade only GOOD and checked PROP FIRMS  Default parameters for Challenge $100,000 Tested on EURUSD and GBPUSD only  Use 15MIN Time Frame Close all deals and Auto-trading  before Weekend at 12:00 GMT+3  Friday For Prop Firms MUST use special Protector  https://www.mql5.com/en/market/product/94362 ------------------------------------------------
Managing Trades With Moving Average EA : Many Traders like using Moving Averages for trend confirmation , and timing Entry and Exits . ​ With Semi- Automatic Moving Average EA we provide effective way to manage open trades as per your Moving average strategy and uses MA as trailing stop loss.  ​ EA considers only closing price of candle therefore avoids stop outs caused by sudden  price fluctuations and helps to stay in trend longer.  ​ You can decide which MA to use and various settings of MA 
Volume Flow Binance
Thalles Nascimento De Carvalho
Volume Flow Binance! Hai mai immaginato di poter accedere ai times and trades della tua criptovaluta preferita, con dettagli sul flusso dei volumi e sull'analisi dei movimenti di prezzo, anche se il tuo broker non offre un accesso completo alla cronologia delle transazioni? Con Volume Flow Binance , ora è realtà! Questo script in MQL5 è stato progettato per i trader di criptovalute che cercano una visione dettagliata della dinamica del mercato in tempo reale. Caratteristiche princ
FREE
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
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
Gli utenti di questo prodotto hanno anche acquistato
Questa libreria ti consentirà di gestire le operazioni utilizzando qualsiasi tuo EA ed è molto facile da integrare su qualsiasi EA, cosa che puoi fare tu stesso con il codice script menzionato nella descrizione e anche esempi demo su video che mostrano il processo completo. - Ordini con limite di posizionamento, limite SL e limite di take profit - Ordini di mercato, mercato SL, mercato TP - Modifica ordine limite - Annulla Ordine - Interroga gli ordini - Cambia leva, margine
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.
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 );    //复杂开单
If you're a trader looking to use Binance.com and Binance.us exchanges directly from your MetaTrader 5 terminal, you'll want to check out Binance Library MetaTrader 5. This powerful tool allows you to trade all asset classes on both exchanges, including Spot, USD-M   and COIN-M futures, and includes all the necessary functions for trading activity. With Binance Library MetaTrader 5, you can easily add instruments from Binance to the Symbols list of MetaTrader 5, as well as obtain information ab
1. What is this The MT5 system comes with very few optimization results. Sometimes we need to study more results. This library allows you to output more results during backtest optimization. It also supports printing more strategy results in a single backtest. 2. Product Features The results of the optimized output are quite numerous. CustomMax can be customized. The output is in the Common folder. It is automatically named according to the name of the EA, and the name of the same EA will be au
AO Core
Andrey Dik
3 (2)
AO Core is the core of the optimization algorithm, it is a library built on the author's HMA (hybrid metaheuristic algorithm) algorithm. Pay attention to the MT5 Optimization Booster product , which makes it very easy to manage the regular MT5 optimizer . An example of using AO Core is described in the article: https://www.mql5.com/ru/articles/14183 https://www.mql5.com/en/blogs/post/756510 This hybrid algorithm is based on a genetic algorithm and contains the best qualities and properties of
EA Toolkit
Esteban Thevenon
EA Toolkit   is a library that allows any developer to quickly and easily program Advisor experts. It includes many functions and enumerations such as trailing stop, lot, stop loss management, market trading authorisations, price table updates, trading conditions and many more. Installation + Documentation : You will find all the information to install this library and the documentation of its functions on this GitHub : https://github.com/Venon282/Expert-Advisor-Toolkit WARNING : The installa
This is standard library built for flexible neural Networks with performance in mind. Calling this Library is so simple and takes few lines of code:    matrix Matrix = matrix_utils.ReadCsv( "Nasdaq analysis.csv" );       matrix x_train, x_test;    vector y_train, y_test;         matrix_utils.TrainTestSplitMatrices(Matrix,x_train,y_train,x_test,y_test, 0.7 , 42 );    reg_nets = new CRegressorNets(x_train,y_train,AF_RELU_,HL, NORM_MIN_MAX_SCALER); //INitializing network       reg_nets.RegressorN
Applying these methods, I managed to arrive at a nuanced conclusion that is crucial to understanding the importance of unique strategies in contemporary trading. Although the neural network advisor showed impressive efficiency in the initial stages, it proved to be highly unstable in the long run. Various factors such as market fluctuations, trend changes, external events, etc. cause its operation to be chaotic and eventually lead to instability. With these experiences, I accepted the challenge
Introducing "TG Trade Service Manager" — your all-in-one solution for seamless trade management in both MQL4 and MQL5 environments. With a focus on speed, reliability, and convenience, this powerful library simplifies the complexities of trade execution and management, empowering developers with a single interface for enhanced efficiency. Metatrader4 Version   |   All Products   |   Contact   Key Features: Unified Interface : TG Trade Service Manager" provides a unified interface for   MQL4   a
This is an EXPERT with a FOCUS on LEARNING and PROFESSIONAL DEVELOPMENT!!! The idea of this product is to commercialize the source code, allowing those who want to develop their own robots, or start a professional activity developing customized experts, to have a reference source code that helps them in the learning and development process. This source code will be increased, that is, new functionalities will be created, thus allowing the project to continue evolving. For every 10 sales a new v
Nmt5
Liang Qi Quan
这段代码是一个简单的交易专家顾问(Expert Advisor)示例,主要功能如下: 使用两个移动平均线(MA)作为交易信号: 快速MA(FastMA)和慢速MA(SlowMA) 初始化函数(OnInit): 创建两个MA指标句柄 设置数组为时间序列模式 清理函数(OnDeinit): 释放指标句柄,防止内存泄漏 主要交易逻辑(OnTick): 获取最新的MA值 判断趋势和交易信号 在无持仓时执行交易 交易规则: 上升趋势+买入信号时开多单 下降趋势+卖出信号时开空单 使用固定的止损和止盈点数 风险管理: 使用输入参数设置交易手数、止损和止盈 每次只允许一个持仓(inTrade变量) 使用MQL5的Trade库进行交易操作,简化了下单过程 这个EA适合初学者学习,展示了基本的EA结构和简单的交易策略实现方法。但在实际使用前,还需要进行更多的测试和优化。
Questa libreria ti consentirà di gestire le operazioni utilizzando qualsiasi tuo EA ed è molto facile da integrare su qualsiasi EA, cosa che puoi fare tu stesso con il codice script menzionato nella descrizione e anche esempi demo su video che mostrano il processo completo. - Ordini con limite di posizionamento, limite SL e limite di take profit - Ordini di mercato, mercato SL, mercato TP - Modifica ordine limite - Annulla Ordine - Interroga gli ordini - Cambia leva, margine
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.
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
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
OrderBook History Library
Stanislav Korotky
3 (2)
Order Book, known also as Market Book, market depth, Level 2, - is a dynamically updated table with current volumes of orders to buy and to sell specific financial instument at price levels near Bid and Ask. MetaTrader 5 provides the means for receiving market book from your broker, but in real time only, without access to its history. The library OrderBook History Library reads market book state in the past from archive files, created by OrderBook Recorder . The library can be embedded into you
This is a simplified and effective version of the library for walk forward analysis of trading experts. It collects data about the expert's trade during the optimization process in the MetaTrader tester and stores them in intermediate files in the "MQL5\Files" directory. Then it uses these files to automatically build a cluster walk forward report and rolling walk forward reports that refine it (all of them in one HTML file). Using the WalkForwardBuilder MT5 auxiliary script allows building othe
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
Gold plucking machine   Gold plucking machine is an Expert Advisor designed specifically for trading gold. The operation is based on opening orders using the Fast and Slow lines indicator, thus the EA works according to the "Trend Follow" strategy, which means following the trend. Use grid strategy to place orders without stop loss operation, so please make sure the account has sufficient funds. magic number      -  is a special number that the EA assigns to its orders. Lot Multiplier        -
Gold plucking machine S   Gold plucking machine  S Gold plucking machine S   is an Expert Advisor designed specifically for trading gold. The operation is based on opening orders using the Fast and Slow lines indicator, thus the EA works according to the "Trend Follow" strategy, which means following the trend. Use grid strategy to place orders without stop loss operation, so please make sure the account has sufficient funds. magic number        -  is a special number that the EA assigns to its
The Trade Tracker Library is used to automatically detect and display trade levels on custom charts. It is an especially useful add-on for EAs that trade on custom charts in MT5. With the use of this library, the EA users can see trades as they are placed via the EA (Entry, SL & TP levels) in real-time. The header file and two examples of EA skeleton files are attached in the comments section (first comment). The library will automatically detect the tradable symbol for the following custom
MT4/5通用交易库(  一份代码通用4和5 ) #ifdef __MQL5__      #define KOD_TICKET ulong      #define KOD_MAGIC   long #else        #define KOD_TICKET long      #define KOD_MAGIC   int #endif class ODLIST; #import "K Trade Lib Pro 5.ex5"       //祝有个美好开始,运行首行加入    void StartGood() ;    //简单开单    long OrderOpen( int type, double volume, int magic, string symbol= "" , string comment= "" , double opprice= 0 , double sl= 0 , double tp= 0 , int expiration= 0 , bool slsetmode= false , bool tpsetmode= false );    //复杂开单
If you're a trader looking to use Binance.com and Binance.us exchanges directly from your MetaTrader 5 terminal, you'll want to check out Binance Library MetaTrader 5. This powerful tool allows you to trade all asset classes on both exchanges, including Spot, USD-M   and COIN-M futures, and includes all the necessary functions for trading activity. With Binance Library MetaTrader 5, you can easily add instruments from Binance to the Symbols list of MetaTrader 5, as well as obtain information ab
1. What is this The MT5 system comes with very few optimization results. Sometimes we need to study more results. This library allows you to output more results during backtest optimization. It also supports printing more strategy results in a single backtest. 2. Product Features The results of the optimized output are quite numerous. CustomMax can be customized. The output is in the Common folder. It is automatically named according to the name of the EA, and the name of the same EA will be au
The Matrix
Omega J Msigwa
Matrix is the foundation of complex trading algorithms as it helps you perform complex calculations effortlessly and without the need for too much computation power, It's no doubt that matrix has made possible many of the calculations in modern computers as we all know that bits of information are stored in array forms in our computer memory RAM, Using some of the functions in this library I was able to create machine learning robots that could take on a large number of inputs To use this libra
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. 
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
Altri dall’autore
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  
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   a
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
Filtro:
Nessuna recensione
Rispondi alla recensione