Risk Math Toolkit

What this library answers

Compiled library for MetaTrader 5 (MT5).

How much should this trade really risk? Most people work it out by hand and get the answer wrong on gold, on an index and on a small account.

Risk Math Toolkit is a compiled library of pure arithmetic functions. No trading, no orders, no files and no chart objects, because every function takes numbers and returns a number. Import the ones you need and call them inside your own Expert Advisor, indicator, script or optimisation pass.

  • RM_Lots: the lot size that risks a fixed share of an account at a given stop distance.
  • RM_RiskForLots: the money that lot size risks at that distance.
  • RM_RequiredWinRate: the win rate a reward multiple must beat to stay profitable.
  • RM_ExpectedValue: the expectancy of a system in account money per trade.
  • RM_CompoundBalance: the balance multiple after a run of trades at fixed fractional risk.
  • RM_RewardMultiple, RM_StopForTarget, RM_NormalizeLots, RM_MarginLots and RM_Drawdown complete the set.

How to check it yourself

Write a one line script that prints RM_RequiredWinRate(1.8). You get 35.7 percent, and you can check it by hand: one win at 1.8 R against one loss breaks even at 1 divided by 2.8.

Setup

Copy the compiled file into MQL5/Libraries, or add RiskMathToolkit.mqh to your own source, and refresh the Navigator in the MetaTrader 5 terminal. The demo indicator that produced the screenshots is included with the listing so you can see every function called on live data.

Feedback and support

Your reviews tell the author which functions to add next, and a direct message on mql5.com reaches the author.

Copyright 2026, Saurabh Singh Parihar.

Produtos recomendados
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
O script UZFX - Delete Only Pending Orders para MetaTrader 5 (MT5) é uma ferramenta simples mas eficaz que remove automaticamente todas as ordens pendentes (Buy Limit, Sell Limit, Buy Stop, Sell Stop) da conta de negociação. Este script é ideal para os negociadores que querem limpar as suas ordens pendentes instantaneamente sem afetar as posições activas no mercado. Veja todos os meus outros indicadores MT4/MT5 e EAs >> AQUI Caraterísticas: Elimina todas as ordens pendentes (Buy Limit, Sell L
FREE
Set Stop Loss to Breakeven Instantly
Muhammad Usman Siddique
4.6 (5)
O script UZFX - Set Stop Loss to Breakeven Instantly para MetaTrader 5 (MT5) é uma ferramenta poderosa que permite aos negociadores mover rapidamente o stop loss de todas as posições abertas para o seu preço de entrada, garantindo negociações sem risco. Este script é particularmente útil para gerenciar negociações ativas de forma eficiente, garantindo que, uma vez que uma posição se mova favoravelmente, o trader esteja protegido de perdas potenciais. (Visite o perfil e confira todos os outros
FREE
SimpleLotCalculator
Itumeleng Mohlouwa Kgotso Tladi
SimpleLotCalculator: Professional Multi-Symbol Risk Manager Library Stop guessing your lot sizes and start trading with institutional precision. SimpleLotLogic is a high-performance MQL5 developer library designed to solve the number one problem for algorithmic and manual traders: Risk Management. Instead of writing complex math for every new EA, simply plug in this library to calculate the perfect lot size based on your account equity and stop-loss distance. Why Choose SimpleLotLogic? Precis
TradeGate
Alex Amuyunzu Raymond
TradeGate – Product Description / Brand Story “The gatekeeper for your trading success.” Overview: TradeGate is a professional MT5 validation and environment guard library designed for serious traders and EA developers who demand safety, reliability, and market-ready performance . In today’s fast-moving markets, even a small misconfiguration can cause EAs to fail initialization, skip trades, or be rejected by MQL5 Market. TradeGate acts as a smart gatekeeper , ensuring your EA only operates un
Exibição de Texto Estático é um Expert Advisor (EA) leve e fácil de usar para MetaTrader 5, projetado para inspirar e educar traders exibindo dicas de trading motivacionais diretamente em seu gráfico. Com um fundo preto elegante e centralizado e texto branco em uma fonte monoespaçada, este EA oferece conselhos concisos e práticos em fragmentos rotativos para mantê-lo focado em um trading disciplinado. Perfeito para iniciantes e traders experientes, ele promove princípios-chave como gerenciamento
FREE
Universal MarketInfo Service Library for MT4 & MT5 Bring simplicity and power to your trading projects with the Universal MarketInfo Service — a professional library that exposes a unified API for both MetaTrader 4 and MetaTrader 5. No more rewriting code for each platform. With this library, you can: Access symbol data, OHLC prices, spreads, and volatility with a single call. Query account balance, free margin, stop levels, and lot constraints. Work with currency precision, pip values, and n
FREE
K Trade Lib5
Kaijun Wang
2 (1)
MT4/5通用交易库(  一份代码通用4和5 ) #import "K Trade Lib5.ex5"    //简单开单    long OrderOpen( int type, double volume, int magic, string symbol= "" , string comment= "" , double opprice= 0 , double sl= 0 , double tp= 0 , int expiration= 0 , bool slsetmode= false , bool tpsetmode= false );    //复杂开单    void SetMagic( int magic, int magic_plus= 0 ); void SetLotsAddMode(int mode=0,double lotsadd=0);    long OrderOpenAdvance( int mode, int type, double volume, int step, int magic, string symbol= "" , string comm
FREE
O script UZFX - Close All Open Buy & Sell Orders Instantly para MetaTrader 5 (MT5) é uma ferramenta poderosa que permite aos traders fechar imediatamente todas as posições de mercado ativas com uma única execução. Este script é ideal para gerenciamento de comércio de emergência, ajudando os comerciantes a sair rapidamente do mercado durante alta volatilidade, eventos de notícias ou ajustes de estratégia. Caraterísticas: Fecha todas as posições de compra e venda abertas em todos os símbolos. U
FREE
This library allows you to automatically filter events by symbol. Additionally, it requires the use of "flags" to classify events based on their importance (high, low, etc.). Properties: Our library is simple and only requires the export of four functions to work properly. Requirements: The library uses OnTimer , so it is not compatible with programs that also use this event. If your bot utilizes OnTimer , this may interfere with the library’s functionality and prevent event filtering. We recomm
FREE
Prop Guard Prop Guard é uma biblioteca MQL5 gratuita para desenvolvedores de Expert Advisors do MetaTrader 5 (MT5): MQL5 library, prop firm rules, FTMO style daily loss limit, max drawdown, trailing drawdown, funded account protection. Importe em qualquer EA, indicador ou script com um #import e use na conta real e no Testador de Estratégias para criar sistemas de trading algorítmico mais robustos e prontos para prop firms em forex, ouro (XAUUSD), índices e cripto. Transforme qualquer EA em um E
FREE
LSTM Library
Thalles Nascimento De Carvalho
LSTM Library - Redes Neurais Avançadas para MetaTrader 5 Biblioteca Profissional de Redes Neurais para Trading Algorítmico LSTM Library traz o poder das redes neurais recorrentes para suas estratégias de trading em MQL5. Esta implementação de nível profissional inclui redes LSTM, BiLSTM e GRU com recursos avançados tipicamente encontrados apenas em frameworks especializados de machine learning. "O segredo do sucesso em Machine Learning para trading está no tratamento adequado dos dados. Garbage
The UZFX - Delete All Drawing and Objects on Chart Instantly is a simple yet powerful MetaTrader 5 (MT5) script designed to instantly remove all drawing objects from the active chart. This script is useful for traders who need to quickly clear their charts from technical analysis drawings, trend lines, Fibonacci tools, text labels, and other objects without manually deleting them one by one. If you are Looking Best indicators in Mql5 Market. Check these out! SSS Scalping Smart Signals MT5 Indi
FREE
Auto trading so strong mt5 trading script so rich and running amazing auto trading trades with so high quality performance and results Look that is the best trading script that will help you to make good results like in screenshots i built that strategy depend on Envelopes indicator to make that script trading in that area excellent scalping trades and gain maximum good results per trade so i built that strategy manually then I make it auto trading  so to start use that script add to scripts aft
Lib5 EAPadPRO for MT5
Vladislav Andruschenko
4.5 (6)
EAPADPRO Library for MetaTrader 5 é uma biblioteca profissional gratuita de interface para adicionar um painel informativo moderno ao seu Expert Advisor. A biblioteca foi pensada para desenvolvedores MQL5 que desejam dar aos seus programas de trading uma apresentação visual mais limpa, mais informativa e mais profissional diretamente no gráfico do MetaTrader 5. Expert Advisors para MetaTrader 5 frequentemente contêm lógica mais complexa, múltiplas configurações, filtros por Magic number, regras
FREE
Título: Auto Multi Support & Resistance Pro - Linhas S/R Inteligentes [Descrição] Pare de traçar linhas manualmente! Deixe o "Auto Multi Support & Resistance Pro" encontrar os pontos de pivô mais precisos para o seu scalping e day trading. Perfeitamente otimizado para tempos gráficos curtos (M1, M5, M15) e ativos altamente voláteis como Ouro (XAUUSD) e Índices, onde falsos rompimentos são comuns. [Principais Recursos] 1. Geração Automática de Múltiplas Linhas: Traça automaticamente o número d
FREE
This simple logging library is designed to provide clear and contextual log output with minimal hassle. It exposes five  methods: LogError Message (message) LogWarn Message (message) LogInfo Message (message) LogDebug Message (message) LogTrace Message (message) Each method prints the provided message to the console only if the severity level meets or exceeds the current threshold set by a global variable logLevel. This means you control the verbosity of your application's logs by adjusting logL
FREE
Turn your manual trades into fully automated profit machines! This powerful MT5 EA takes over the moment you open a position — no delays, no stress. It instantly places Stop Loss and Take Profit, activates customizable trailing, and locks in profits while protecting your capital Perfect for scalpers: Every trade is immediately secured, giving you the freedom to focus on sniping the best entries while the EA handles all the management work in the background. Auto SL/TP Full trailin
FREE
Ponte de API DhanHQ v2 para MetaTrader 5 Conecte o MetaTrader 5 à sua conta de negociação DhanHQ e gerencie ordens, posições, saldo e carteira diretamente via MQL5. Esta biblioteca encapsula a API REST oficial da DhanHQ v2 (NSE, BSE, MCX), permitindo que você crie seus próprios EAs, scripts e estratégias automatizadas utilizando a plataforma Dhan. Recursos - Ciclo de vida completo da ordem: envio, modificação, cancelamento, fracionamento, livro de ofertas, consulta por ID, consulta por ID de c
This indicator has the server time and also mainly has the candle timer which can mean the difference between loss and profit so from 1 minute, 5 minutes, 15 minutes, 30 minutes, 1 hour, 4 hour, day, week and even month to let you you know where you are and how much time you have to stay in the trade or get out espcially before news, all you have to do is just load the indicator and select on which corner you want it on, default is top left but i prefer lower left. 
FREE
Dual Scale Candles
Mohamed Amr Mohamed Osama Abdelwahab
Dual Scale Candles sobrepõe os candles reais de um segundo símbolo diretamente no seu gráfico, com sua própria escala de preços independente no eixo esquerdo. Compare ouro com uma moeda, petróleo com um índice ou quaisquer dois instrumentos em um único gráfico - cada um mantém seus preços reais. As duas séries são alinhadas no ponto que você escolher: a primeira barra do dia atual exibida no gráfico, a primeira barra da semana atual ou a barra mais antiga exibida - na barra de alinhamento, as d
FREE
This library returns the largest lot whose loss at your stop does not exceed the money you allow it to risk, correct for any volume step, tick size and tick value the symbol reports. I wrote it for the MQL5 developer who has pasted a lot-normalising block into every EA and can no longer say which copy is right. One import, one version, and a call that refuses rather than oversizing. WHAT IT DOES It refuses instead of oversizing: when the smallest lot the symbol accepts would risk more than your
FREE
SessionClock SessionClock é uma biblioteca MQL5 gratuita para desenvolvedores de Expert Advisors do MetaTrader 5 (MT5): MQL5 library, DST daylight saving time, broker GMT offset, trading sessions, London New York Tokyo session, Strategy Tester time fix. Importe em qualquer EA, indicador ou script com um #import e use na conta real e no Testador de Estratégias para criar sistemas de trading algorítmico mais robustos e prontos para prop firms em forex, ouro (XAUUSD), índices e cripto. Relógio da c
FREE
A dependency-free MQL5 library of independent building blocks for Expert Advisor developers: risk-based position sizing, stop construction, spread filter, logging, state persistence and a retry state machine. No strategy, no profit claims. --- ARV EA Toolkit is a dependency-free library of independent modules for MQL5 Expert Advisor developers. Use only what you need; the modules do not depend on each other except for a tiny shared defines header. It contains no trading strategy and makes no
FREE
Lazy Bar Replay
Lum Zhen Quan
5 (1)
Lazy Replay The LazyReplay  is a specialized MQL5 indicator designed to facilitate manual backtesting by simulating a "live" market environment on historical data . It allows traders to practice price action strategies by hiding future bars and revealing them at a controlled pace. Key Features Dynamic Chart Masking : Uses a background-colored rectangle to hide all price action to the right of a chosen "anchor" bar, effectively removing hindsight bias during practice . Playback Controls : Include
FREE
Fast Local Trade Copier
Margarita Florencia Del Aguila
Fast Local Trade Copier is a 100% free, unrestricted multi-terminal trade copier for MetaTrader 5 accounts running on the same PC or Windows VPS. There are no artificial symbol limits, no concurrent trade limits, no Demo-only locks, no expiry dates, and zero popup nagware. I built it around the exact same double-buffered CRC32 shared bus architecture used in our paid terminal utilities, giving everyday traders fast, clean local synchronization inside a single standalone .ex5 file with zero ext
FREE
Introducing "PropFirm Consistency Analyst" — your dynamic companion for achieving consistency in proprietary trading. This innovative Expert Advisor operates seamlessly, continuously calculating consistency metrics between two specified dates, providing real-time insights throughout the trading month. Tailored specifically for prop traders, this tool serves as a dedicated ally in meeting the stringent consistency requirements set by some proprietary firms. By evaluating trading performance on
FREE
SignalXpert
Steve Rosenstock
5 (4)
CLIQUE AQUI PARA VER TODOS OS MEUS PRODUTOS GRATUITOS SignalXpert foi desenvolvido por mim para oferecer aos traders que utilizam o indicador RangeXpert uma ferramenta poderosa de análise. RangeXpert serve como a base do sistema – ele identifica áreas precisas do mercado e fornece os dados que o SignalXpert avalia em tempo real para gerar sinais claros e acionáveis. Isso permite o monitoramento simultâneo de até 25 diferentes ativos em vários timeframes , detectando em tempo real os movimentos
FREE
Regime Lab Regime Lab é uma biblioteca MQL5 gratuita para desenvolvedores de Expert Advisors do MetaTrader 5 (MT5): MQL5 library, Hidden Markov Model HMM, market regime detection, Hurst exponent, variance ratio, quant. Importe em qualquer EA, indicador ou script com um #import e use na conta real e no Testador de Estratégias para criar sistemas de trading algorítmico mais robustos e prontos para prop firms em forex, ouro (XAUUSD), índices e cripto. Diga ao seu EA em qual regime de mercado ele es
FREE
RSI AutoScale é um RSI limpo e leve para traders que usam tanto o TradingView quanto o MetaTrader 5 e querem que os dois gráficos tenham a mesma aparência. O que ele mostra - RSI (suavização de Wilder): os mesmos valores do RSI padrão, com qualquer preço aplicado. - Linha de sinal sobre o RSI: SMA, EMA, SMMA ou LWMA, com período próprio. - Níveis: linhas superior, média e inferior (70 / 50 / 30 por padrão). Elas usam os níveis nativos do MT5, por isso vão até a borda direita e seus valores apa
FREE
Os compradores deste produto também adquirem
XAUUSD BREAKOUT EA — Stop Predicting the Market. Trade the Breakout. You do not need to sit in front of the chart all day waiting for gold to break support or resistance. This XAUUSD Breakout EA is designed to identify market consolidation, detect meaningful price expansion, and automatically execute trades when predefined breakout conditions are met. BACKTEST RESULTS — 99% QUALITY Initial Deposit: $1,000 Total Net Profit: +$21,115 Profit Factor: 2.37 Expected Payoff: $213 per trade Total Tr
ModernUI Library
Levi Dane Benjamin
Biblioteca ModernUI para MetaTrader 5 ModernUI é uma biblioteca de interface de usuário hospedada no gráfico para MetaTrader 5. Ela ajuda desenvolvedores MQL5 a criar painéis de EA mais limpos, dashboards, janelas de configuração, formulários, tabelas, diálogos, drawers e interfaces compactas de estilo trading dentro do ambiente gráfico do MT5. Ela foi criada para desenvolvedores que desejam uma camada de interface mais profissional do que objetos gráficos espalhados, mantendo ao mesmo tempo con
Native Websocket
Racheal Samson
5 (6)
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
MT5 to Delta Exchange API Bridge EA Connector allows your expert advisor with mq5 file to integrate and communicate with Delta Exchange using API Keys You can place order, check balance and other order managements using Delta Exchange API - Place Limit, SL Limit and Take Profit Limit Orders - Place Market, SL-Market, TP-Market orders - Cancel Order - Query Orders - Change Leverage, margin - Get Position info and many more, details available at demo script Script Documentation 
Biblioteca EX5 Signal Copier — Motor de Eventos de Negociação Profissional para MT Transforme qualquer Expert Advisor em um poderoso copiador de negociações, processador de sinais ou motor de automação — sem precisar escrever lógica complexa de rastreamento de negociações. A Biblioteca EX5 Signal Copier é um sistema de alto desempenho, orientado a eventos, que captura todas as atividades de negociação no MetaTrader 5 e as converte em sinais estruturados que você pode usar para criar: Copiador
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
Friends, join us! Ask questions and connect with like-minded traders: MetaCOT Public Group MetaCOT Information Channel: news, CFTC reports, and signals: MetaCOT Channel Here’s to successful trading and new profitable signals for us all! Attention! Recently, certain countries have been blocking access to the cftc.gov website. As a result, users in these countries are giving the product low ratings. MetaCOT has always adhered to the highest quality standards and is in no way associated with th
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.
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
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
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
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
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
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
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        - 
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
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 );    //复杂开单
Binance Library MetaTrader 5 connects your Expert Advisors, indicators, and scripts to Binance.com and Binance.US directly from MetaTrader 5. It is a developer library for building custom Binance integrations inside MT5, not a standalone trading robot or copier. The library helps you add Binance instruments to Market Watch, read symbol specifications, load current and historical market data, check wallet balances, manage orders, and track open positions. It supports Spot, USD-M futures, and COI
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
T5l Library é necessaria para o uso dos robos da TSU Investimentos, nele você tera todo o framework de funções para o funcionamento correto dos nossos Expert Advisors para MetaTrader 5  ツ . -   O Robos  Expert Advisors da TSU Invesitmentos não funcionarão sem esta biblioteca de funções, o T5L library podera receber atualizações e melhorias ao longo do tempo. - Na biblioteca que voçê encontrará f uncionalidades diversas como envio de ordens, compra e venda, verificação de gatilhos de entradas, an
AO Core
Andrey Dik
3.67 (3)
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 p
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
GetFFEvents MT5 I tester capability
Hans Alexander Nolawon Djurberg
Want to get all events like Previous/Forecast/Actual values for each news to analyze/predict it? By this simple library you can do it easily,Just import/integrate the library into your system,then get all possible values for each news   Even In Strategy Tester   . Note: Please add the address " https://www.forexfactory.com/ " of news feed at your MT5 tab > Tools > Options > Expert Advisors > Check Allow web request for listed URL. Since the WebRequest() function can't be called from indicator ba
A Simple Moving Average (SMA) is a statistical indicator used in time series analysis. This indicator represents the arithmetic mean of a sequence of values over a specific period of time. SMA is used to smooth short-term fluctuations in data, helping to highlight the overall trend or direction of changes. This aids analysts and traders in better understanding the general dynamics of the time series and identifying potential trends or changes in direction.  More information you can find in Wiki 
Esta biblioteca permitirá que você gerencie negociações usando qualquer um de seus EA e é muito fácil de integrar em qualquer EA que você mesmo pode fazer com o código de script mencionado na descrição e também exemplos de demonstração em vídeo que mostram o processo completo. - Pedidos Place Limit, SL Limit e Take Profit Limit - Ordens Place Market, SL-Market, TP-Market - Modificar ordem de limite - Cancelar pedido - Consulta de pedidos - Mudança de alavancagem, margem - Obter informaçõe
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 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 c
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
The following library is proposed as a means of being able to use the OpenAI API directly on the metatrader, in the simplest way possible. For more on the library's capabilities, read the following article: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual IMPORTANT: To use the EA you must add the following URL to allow you to access the OpenAI API as shown in the attached images In order to use the library, you must include the following Hea
Mais do autor
Apex Gold Sniper
Saurabh Singh Parihar
Apex Gold Sniper e um Expert Advisor operado exclusivamente em barras fechadas para XAUUSD e pares principais nos graficos M15, H1 e D1. As entradas combinam SMA(50), cruzamento LWMA(5), confirmacao de pivotes de swing e alinhamento com inclinacao da EMA(50) em H1. Expert Advisor para MetaTrader 5 (MT5). E se a verdadeira tendência do ouro só aparece no fechamento da vela? Este EA só opera o que consegue ver. Antes de executar ordens o robo valida StopsLevel, FreezeLevel, spread maximo, distanci
FREE
Edge Sifter X
Saurabh Singh Parihar
O que este robo faz Expert Advisor para MetaTrader 5 (MT5). A sua forma de operar funciona neste par, ou so parece? A maioria dos robos escolhe um indicador e usa em todos os graficos. Edge Sifter X faz o contrario. Ele observa seis formas diferentes de ler um mercado: um conjunto de medias moveis, um cruzamento de ADX, um recuo de RSI, uma quebra de estrutura, um vazio de tres barras e um candle que gira em um swing real. Cada uma e medida nas velas fechadas deste simbolo, pontuada em R, e apen
FREE
Pulse Band Fade
Saurabh Singh Parihar
O que este EA faz Expert Advisor para MetaTrader 5 (MT5). Onde ainda há espaço para uma tendência? É nessa vela que este EA espera. Pulse Band Fade trabalha com velas H1 fechadas e opera apenas na direcao que as tendencias de H4 e H1 ja apontam. A tendencia H4 precisa coincidir com a de H1, assim os dois prazos apontam para o mesmo lado. A vela de sinal precisa fechar com corpo entre 45% e 65% do proprio range e fora da EMA 20 de H1, para pular velas de exaustao. O ADX de H1 precisa registrar 18
FREE
Session Heat Radar
Saurabh Singh Parihar
O que este radar responde Indicador técnico para MetaTrader 5 (MT5). Qual moeda esta de fato mais forte agora, e qual par merece a sua proxima atencao? A maioria dos medidores de forca mostra uma parede de numeros e deixa o proximo passo para voce. Session Heat Radar le apenas barras fechadas, classifica USD, EUR, GBP, JPY, AUD, NZD, CAD e CHF no periodo que voce escolher e depois aponta o par que alinha a moeda mais forte contra a mais fraca. Oito linhas de forca, cada uma com sua pontuacao e o
FREE
Dual Trend Crossover
Saurabh Singh Parihar
What this robot trades Expert Advisor for MetaTrader 5 (MT5). Two moving averages, one rule. When the fast line crosses the slow line on a closed bar, the robot takes one position with that direction and holds it until the cross flips the other way. That is the whole strategy, and it is meant to be. Most robots stack filters until nothing fires and nobody can tell why a trade was or was not taken. This one shows the bias in its own panel, closes the position when the direction changes, and tells
FREE
Indicador tecnico para MetaTrader 5 (MT5). Voce quer que a estrutura de swings do grafico fique exatamente onde a vela fechada deixou. Structure Shift Painter desenha topos e fundos de swing confirmados e quebras de estrutura apenas em velas fechadas, entao nada se move depois do fechamento. Quais partes do seu grafico voce prefere ler sem esperar um recalculo? O que ele desenha Um topo de swing so e marcado quando a quantidade de velas configurada de cada lado e mais baixa, e um fundo so quando
FREE
Adaptive Trend Matrix
Saurabh Singh Parihar
Adaptive Trend Matrix exibe cinco linhas de alinhamento de tendencia (M5, M15, H1, H4 e D1) em uma subjanela separada e monitora a expansao de volatilidade do ativo atual. Indicador técnico para MetaTrader 5 (MT5). Seus três períodos contam a mesma história, ou apenas um deles? Cada bloco analisa exclusivamente candles fechados com cruzamento de medias moveis exponenciais (EMA) e forca ADX. O candle em formacao nao entra no calculo, garantindo ausencia de repintagem. Recursos principais Logica s
FREE
Closed Bar Body Momentum detecta candles de impulso alinhados com tendencia EMA, forca ADX e espaco estrutural livre, evitando candles de exaustao. Indicador técnico para MetaTrader 5 (MT5). O que a última vela fechada realmente disse sobre quem está no controle? Setas e marcacoes opcionais de SL e 3R sao geradas somente apos o fechamento do candle, garantindo zero repintagem. Recursos principais Sinais definitivos no fechamento do candle sem repintagem. Filtro adaptativo por ativo para corpos e
FREE
Swing Room Flow
Saurabh Singh Parihar
O que aparece no grafico Indicador técnico para MetaTrader 5 (MT5). Ainda há espaço acima, ou o preço está prestes a bater em uma parede? Swing Room Flow trabalha apenas com velas fechadas. Ele encontra maximos e minimos de swing e marca o momento em que o preco rompe a estrutura, para que voce veja se o mercado atravessa o ultimo ponto de giro ou o rejeita. Seta azul para cima: rompimento altista de estrutura, o ultimo maximo de swing e recuperado. Seta vermelha para baixo: rompimento baixista
FREE
Chart Widget Studio
Saurabh Singh Parihar
O que você recebe E se um gráfico pudesse mostrar um medidor, uma grade de calor e um medidor ao vivo, sem um único objeto gráfico? Chart Widget Studio é uma biblioteca compilada de widgets prontos para os gráficos do MetaTrader 5. Uma chamada desenha um mostrador de agulha, um gráfico de linhas, um mapa de calor, um cartão de texto, uma barra de medição ou uma etiqueta de estado no seu gráfico, e a biblioteca mantém o desenho na própria tela. Mostrador com agulha, valor apresentado e faixa opci
FREE
Stop Room Auditor
Saurabh Singh Parihar
O que este auditor responde Painel utilitário para MetaTrader 5 (MT5). Sua operacao tem realmente espaco para respirar? Um stop pode estar correto no papel e ainda assim mal posicionado, porque ha um topo ou fundo de swing logo acima ou abaixo dele. Stop Room Auditor mede essa distancia por voce. Le apenas barras H1 fechadas, trata seu stop como um multiplo do ATR, encontra o swing confirmado mais proximo nas duas direcoes e ordena cada simbolo do Observador do Mercado pelo espaco real que possu
FREE
Broker Rule Sheet
Saurabh Singh Parihar
O que este script anota por você Script para MetaTrader 5 (MT5). Que limites a sua corretora aplica de fato a este símbolo? Um tamanho de lote que funciona em um par de moedas pode ser recusado no ouro, e um stop válido em um símbolo fica curto demais no seguinte. O Broker Rule Sheet responde a isso em uma única execução. Ele lê o símbolo do gráfico, coleta os limites que a sua corretora aplica, mostra tudo em um único painel e grava os mesmos valores em um arquivo CSV. Nível de stop e nível de
FREE
Daily Range Ruler
Saurabh Singh Parihar
What this indicator answers Technical indicator for MetaTrader 5 (MT5). Where does today's price run out of room? Yesterday's range is still the ruler most traders use, and the range the current day has already spent tells you how much of that room is gone. Daily Range Ruler prints the previous day's high, low and midpoint as fixed lines, paints the range the current day has used so far as a band behind the candles, and measures that band against your own typical day. Every level is read from cl
FREE
Trade Stats Export
Saurabh Singh Parihar
O que este script escreve Script para MetaTrader 5 (MT5). O que sua conta realmente fez no mês passado? Um extrato é difícil de pesquisar e uma captura de tela não é um registro. Trade Stats Snapshot escaneia o histórico de negociações da sua conta e grava uma linha CSV por cada negociação fechada mais um resumo HTML em MQL5/Files - ticket, hora, símbolo, tipo, volume, preço, lucro, comissão, swap e comentário - para que você possa arquivar, comparar ou entregar seu registro de negociação sem ca
FREE
Symbol Behavior Profiler e um painel analitico e calculadora de lote por risco para MetaTrader 5. Monitora ativos do Market Watch em barras fechadas e alerta sobre picos de spread. Por que o seu par favorito se comporta diferente de todos os gráficos que você estudou? Nao executa ordens automaticamente. Exibe regime de volatilidade (ATR 3d/21d e ADX), alertas de spread e tamanho de lote legal para o risco configurado. Recursos Classificacao de spread OK / CAUTION / CHOKE versus mediana M5. Calcu
FREE
O que este utilitário registra Utilitário para MetaTrader 5 (MT5). Você consegue provar o que sua conta realmente fez no mês passado? Uma captura de tela não é um registro. O Trade Journal Exporter lê as negociações fechadas do próprio histórico do terminal e as escreve em um arquivo CSV, para que os números sobrevivam ao fechamento do terminal. Uma linha por negociação: símbolo, direção, tipo de entrada, volume, preço, lucro, swap, comissão, hora, número mágico e comentário. Uma linha de resumo
FREE
Spread Choke Radar
Saurabh Singh Parihar
O que o painel responde Painel utilitário para MetaTrader 5 (MT5). O spread da sua corretora já está comendo seu stop antes da operação começar? Antes de colocar um stop, o spread ja decide se esse stop faz sentido. Spread Choke Radar varre o Observador de Mercado e responde uma pergunta por simbolo: quanto do range de hoje custaria um stop seguro, e se a operacao cabe dentro do seu teto de risco. Spread atual em pontos, lido do tick ao vivo de cada simbolo. Intervalo verdadeiro medio das ultima
FREE
Session Clock Live
Saurabh Singh Parihar
O que este utilitário mostra Utilitário para MetaTrader 5 (MT5). Em qual sessão seu gráfico está agora e quando ela termina? Asiática, Europeia, Americana ou Pacífica mudam o comportamento dos símbolos, e a resposta nem sempre é óbvia pelo relógio da parede. Session Clock Live responde ao vivo: o painel se atualiza a cada poucos segundos, então a contagem regressiva até o próximo limite de sessão está sempre atual. A hora do servidor do terminal, com precisão de segundos. A sessão ativa por hora
FREE
Position Size Math
Saurabh Singh Parihar
O que esta biblioteca responde Biblioteca compilada para MetaTrader 5 (MT5). Quantos lotes esta conta pode realmente assumir? Se você errar, um stop que funciona no EURUSD é rejeitado no XAUUSD. Position Size Math é uma biblioteca compilada de funções aritméticas puras que outros Expert Advisors, indicadores, scripts e passes de otimização chamam em vez de reescrever a mesma matemática toda vez. Sem negociação, sem ordens, sem arquivos e sem objetos de gráfico: cada função recebe números e retor
FREE
Risk Guard Assistant
Saurabh Singh Parihar
Risk Guard Assistant e um utilitario visual para MetaTrader 5 voltado ao calculo preciso de lote e planejamento risco-retorno direto no grafico, sem envio automatico de ordens. Quanto você está realmente arriscando quando as regras da sua corretora entram em ação? Planejamento Interativo Botoes BUY PLAN, SELL PLAN e RESET 1: 3 para alternar planos imediatamente. Linhas arrastaveis de Entrada, Stop Loss e Take Profit recalculam em tempo real risco monetario, retorno esperado, relacao com spread e
FREE
O que este script registra Script para MetaTrader 5 (MT5). Você conhece os limites de negociação de cada símbolo da sua corretora? Ouro não é um par de moedas: o lote mínimo, o nível de stop, o valor do tick e o swap são diferentes, e mudam de corretora para corretora. O Account Limits Snapshot lê cada símbolo do Market Watch e escreve os limites que a sua corretora realmente aplica em um arquivo CSV, para que as diferenças fiquem no disco em vez de numa conversa com o suporte. Dígitos, nível de
FREE
What this utility writes down Utility for MetaTrader 5 (MT5), shipped as a script. Can you prove what your chart actually contained? A screenshot is not a record, and a saved template loses the story. Chart Object Exporter reads every object on the chart it is attached to and writes one CSV row per object plus a readable HTML report into MQL5/Files. It creates nothing, changes nothing and sends no orders, so an analysis setup can be archived, compared or handed to somebody else without a screens
FREE
Squeeze Sniper X
Saurabh Singh Parihar
Squeeze Sniper X e um indicador sem repintagem para MetaTrader 5 que identifica compressao de volatilidade (Bollinger Bands dentro do Canal de Keltner) combinada a um histograma de momentum por regressao linear. Como é um mercado nos últimos minutos de calma antes do rompimento? Garantia de Nao Repintagem Calculo processado somente em barras fechadas; a barra atual em formacao permanece sem plotagem. Sincronizacao imediata com temporizador de 400 ms mantendo setas e painel HUD atualizados na tro
Bar Time Remaining
Saurabh Singh Parihar
O que este indicador mostra Indicador técnico para MetaTrader 5 (MT5). Quanto tempo falta para esta vela fechar? Candle Countdown responde a essa pergunta de um relance. Ele lê os horários de abertura e fechamento da vela atual e mostra os minutos e segundos restantes até o fechamento, mais uma barra de progresso que cresce à medida que a vela se desenvolve. Sem negociação, sem ordens, sem cliques no painel - uma ajuda visual de leitura apenas para o seu gráfico. Minutos e segundos restantes até
FREE
Session Clock Panel
Saurabh Singh Parihar
O que este script mostra Script para MetaTrader 5 (MT5), entregue como utilitário. Em qual sessão seu gráfico está de fato agora? Asiática, Europeia, Americana ou Pacífica mudam o comportamento dos símbolos, e a resposta nem sempre é óbvia pelo relógio da parede. Session Clock Panel lê a hora do servidor, nomeia a sessão e conta os minutos até o próximo limite. A hora do servidor do terminal, com precisão de segundos. A sessão ativa por hora UTC: Asiática (00-06), Europeia (06-12), Americana (12
FREE
Filtro:
Sem comentários
Responder ao comentário