• Visão global
  • Comentários
  • Discussão
  • O que há de novo

EA Toolkit

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 installation explained above must be done in order to use this library.


Enumerations :

enum TRAILLING_STOP;
enum TRAILLING_STOP_CROSSING;
enum HOURS;
enum MINUTES;
enum POSITIONS;


Functions :

long CandlesNumberSince(datetime since);
bool CheckMoneyForTrade(string symbol,double lot,ENUM_ORDER_TYPE type);
bool CloseFridayPositions(long magic,HOURS h,MINUTES m,bool close=true);
bool ClosePositions(long magic,POSITIONS pos);
void Comment_(long magic,bool comment,double &profit_total[],double &profit_daily[]);
int CountDigits(double value,double precision_max=8.000000);
datetime DateDiff(datetime a,datetime b);
POSITIONS Direction(ENUM_ORDER_TYPE type);
POSITIONS Direction(ENUM_POSITION_TYPE type);
bool FirstTick(MqlRates &candles[]);
double GetLot(double risk,int point,bool money_managment,double fixed_lot);
double GetLot(double risk,int point);
double GetMaxClose(MqlRates &candles[],int from=1,int to=10);
double GetMaxOpen(MqlRates &candles[],int from=1,int to=10);
double GetMaxPrice(MqlRates &candles[],int from=1,int to=10);
double GetMaxSpread(MqlRates &candles[],int from=1,int to=10);
double GetMinClose(MqlRates &candles[],int from=1,int to=10);
double GetMinOpen(MqlRates &candles[],int from=1,int to=10);
double GetMinPrice(MqlRates &candles[],int from=1,int to=10);
double GetMinSpread(MqlRates &candles[],int from=1,int to=10);
bool MarketOpen(void);
double MeanCandlesSize(MqlRates &candles[],int nb);
bool Movement(MqlRates &candles[],int mean_sup,int nb_mean_sup,int mean_inf,int nb_mean_inf);
int PeriodToInt(ENUM_TIMEFRAMES period);
void Profit(long magic,int &last_day,double &capital_daily,double &profit_total[],double &profit_daily[]);
void Profit_daily(long magic,double &result[]);
void Profit_since(long magic,double &result[],datetime since);
double SLBuy(double bid,long SL);
double SLSell(double ask,long SL);
datetime Start_day(datetime day);
datetime Start_day(void);
int TotalOperations(long magic);
int TotalOrders(long magic);
int TotalOrdersBuy(long magic);
int TotalOrdersSell(long magic);
int TotalPositions(long magic);
int TotalPositionsBuy(long magic);
int TotalPositionsSell(long magic);
double TPBuy(double ask,long TP);
double TPSell(double bid,long TP);
bool TradeDays(bool monday,bool tuesday,bool wednesday,bool thursday,bool friday);
bool TradeHours(bool time_filter,HOURS start_hour,MINUTES start_minute,HOURS end_hour,MINUTES end_minute);
bool TraillingStop(TRAILLING_STOP sl_type,MqlRates &candles[],long magic,int sl,double &ma_buff[],int sl_min,int sl_quick_q,int sl_start_q,int ratio,int mean_nb_candles,int sl_i,int sl_start_i,int nb_candles_i,int sl_increase,int max_increase,int min_decrease);
bool TraillingStop(TRAILLING_STOP_CROSSING sl_type,MqlRates &candles[],long magic,int sl,double &ma1_buff[],double &ma2_buff[],int sl_min,int sl_quick_q,int sl_start_q,int ratio,int mean_nb_candles,int sl_i,int sl_start_i,int nb_candles_i,int sl_increase,int max_increase,int min_decrease);
bool TraillingStopFixe(double ask,double bid,long magic,int sl);
bool TraillingStopIncreasing(double ask,double bid,long magic,int sl,int sl_start,int nb_candles,int sl_increase,int max_increase,int min_decrease);
bool TraillingStopMa(double ask,double bid,long magic,double &buff[],int sl_min);
bool TraillingStopMeanMoving(double ask,double bid,long magic,MqlRates &candles[],int ratio,int mean_nb_candles);
bool TraillingStopQuickSecurity(double ask,double bid,long magic,int sl,int sl_start);
bool UpdateBuffer(int handle,double &buff[],int size,int shift=0);
bool UpdateCandles(MqlRates &candles[],int size,int shift=0);


If you want to add new functions in this library, modify some or you found bugs, please inform me by private message


Some robots that use the EA Toolkit :

https://www.mql5.com/en/market/product/94056

https://www.mql5.com/en/market/product/89515

https://www.mql5.com/en/market/product/90132


Produtos recomendados
Trend Sentry Pro
K2021665571 (SOUTH AFRICA)
Product Description O Trend Sentry Pro é um Expert Advisor (EA) totalmente automatizado e sofisticado, projetado para aproveitar as tendências de alta utilizando um indicador avançado de linha de tendência. O EA abre posições de compra quando o preço fecha acima da linha de tendência, sinalizando uma tendência de alta confirmada, e fecha as negociações quando o preço fecha abaixo da linha de tendência, indicando uma possível reversão. Essa abordagem permite que o Trend Sentry Pro capture totalme
DarwinIA Silver Rating 95,50 - Alocação mensal 375.000 € - Julho de 2024 Este é um Expert exclusivo e único que só terá uma cópia vendida para ser usada na Darwinex Zero. Como há um controle rigoroso do comércio de cópias na Darwinex, o uso de experts exclusivos é obrigatório. Esse Expert é totalmente compatível com as regras e expectativas da Darwinex. Esse Expert funciona como um caçador, analisando meticulosamente o movimento, a força e a tendência dos preços. Ele aguarda pacientemente as
O nível Premium é um indicador único com mais de 80% de precisão nas previsões corretas! Este indicador foi testado pelos melhores Especialistas em Negociação por mais de dois meses! O indicador do autor você não encontrará em nenhum outro lugar! A partir das imagens você pode ver por si mesmo a precisão desta ferramenta! 1 é ótimo para negociar opções binárias com um tempo de expiração de 1 vela. 2 funciona em todos os pares de moedas, ações, commodities, criptomoedas Instruções:
Phoenix Plus
Dang Cong Duong
At first, I got my teeth into  Phoenix  Ultra   Expert Advisor. This   Expert Advisor  will support automatic close order if the direction is correct and perform recovery if the direction is wrong. If you enter an order: 1. The price goes in the right direction and hits the   Min Profit Point ,   trailing stop 20% of the current profit. 2. The price goes in the opposite direction, the Expert Advisor will place the order with the volume is   Recovery Volume Percent  at the input, the distance t
Cleopatra EA MT5
Nestor Alejandro Chiariello
Olá comerciantes! Apresento a vocês a "Cleópatra" Cleópatra um design bonito e inteligente, com uma forma de recuperação que se adapta constantemente onde o seu poder é a versatilidade. Sua principal estratégia é ler o mercado em sua elasticidade, podemos analisar a faixa de entrada de diversas formas. Isso pode ser muito dinâmico em diferentes TF e diferentes faixas, com tratamento de consultas sobre novidades do mercado. Cleópatra tem grande poder de adaptação à recuperação do mercado, seus
| Fully-automated Smart Money Concept (ICT) inspired trading solution with multi-strategy capabilities | Built by a grid trader >> for grid traders.  This is MT5 version, click  here  for  Blue CARA MT4  (settings and logics are same in both versions)     Real monitoring signal  -->  Cara Gold Intro Blue CARA EA   ('CARA') - short for  C omprehensive  A lgorithmic   R esponsive   A dvisor is a next-gen  multi-currency    multi-timeframe  EA base on the widely known (and perhaps the most popul
This trailing stop application will helping trader to set the trailing stop value for many open positions, that apply a grid or martingale strategy as a solution. So if you apply a grid or martingale strategy (either using an EA or trading manually), and you don't have an application to set a trailing stop, then this application is the solution. For EAs with a single shot strategy, just use the FREE trailing stop application which I have also shared on this forum.
Based on the trading model/strategy/system of gold double-position hedging and arbitrage launched by Goodtrade Brokers, problems encountered in daily operations: 1. Account B immediately places an order immediately following account A. 2: After account A places an order, account B will automatically copy the stop loss and take profit. 3: Account A closes the position of Account B and closes the position at the same time. 4: When account B closes the position, account A also closes the position.
Daytrade Pro Algo MT5
Profalgo Limited
4 (9)
Promoção de lançamento: Número limitado de cópias disponíveis no preço atual Preço final: 990$ NOVO: ganhe 1 EA grátis!   (para 2 contas comerciais) Ultimate Combo Deal   ->   click here LIVE RESULTS:   https://www.mql5.com/en/signals/1949810 JOIN PUBLIC GROUP:   Click here Set Files Bem-vindo ao DayTrade Pro Algo!   Depois de anos estudando os mercados e programando diferentes estratégias, encontrei um algoritmo que tem tudo o que um bom sistema de negociação precisa: É corretor independ
Kintech Gold
Doan Van Hai
Following our guide, you will gain more than you lose. EA for long-term. Stable profit - min risk. Symbol:  XAUUSD Attach to any timeframe Min deposit:   3000$ - Calculate profit by month EA input instruction: 1. With XAU 2 digits (eg: 1843.23) please set - Input   [3. Max spread]: 55 - Input   [9. Step point]: 100 2. With XAU 3 digits (eg: 1843.235) please set - Input   [3. Max spread]: 550 - Input   [9. Step point]: 1000 3. If you want to attach to one more Window, please set input   [1. Numb
Brent Oil
Babak Alamdar
3.71 (7)
“Dois Expert Advisors, Um Preço: Impulsionando o Seu Sucesso!” Brent Oil Scalping Expert + Brent Oil Swingy Expert em um Expert Advisor   Live signal Este preço é temporário durante a promoção e será aumentado em breve Preço final: 5.000 $ Restam apenas algumas cópias com o preço atual, o próximo preço é -->> 1120 $ Bem-vindo ao Petróleo Brent O consultor especialista da Brent Oil é uma potência, projetada para dominar os voláteis mercados de energia com precisão e agilidade. O petróleo B
Live signal https://www.mql5.com/en/users/datbh/seller [MT4 version: https://www.mql5.com/en/market/product/93601 ] ! Next price --> $699 and final: 1779$ MSC Line  is the advanced smart  grid system  which already works on real accounts. Instead of fitting the system to reflect historical data (like most people do) it was designed to exploit existing market inefficiencies. Therefore it is not a simple "hit and miss" system which only survives by using grid. Instead it uses real market mechani
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 );    //复杂开单
BtcAI
Novin Ghasemi Nik
BTC AI Trading Bot - Comércio Cripto Avançado com Integração de IA Link dos canais:   https://www.mql5.com/en/channels/btcai IMPORTANTE AVISO DE BACKTEST Este Consultor Especializado utiliza diferentes estratégias para backtesting em comparação com o trading ao vivo: Modo de Backtest: Utiliza uma estratégia simplificada baseada em indicadores técnicos tradicionais. Trading ao Vivo: Emprega uma análise completa de IA, incluindo sentimento de mercado, impacto de notícias e reconhecime
Procurando por um poderoso indicador de negociação forex que possa ajudá-lo a identificar oportunidades de negociação lucrativas com facilidade? Não procure mais do que o Beast Super Signal. Este indicador baseado em tendências fácil de usar monitora continuamente as condições do mercado, procurando por novas tendências em desenvolvimento ou aproveitando as já existentes. O Beast Super Signal dá um sinal de compra ou venda quando todas as estratégias internas se alinham e estão em 100% de conflu
Indices Scalper EA provides functions: Start Trading, End Trading, Сlose Order(Time), Pending Order Placement (Time), Tralling stop (automatically according to strategy), trading can be switched off, daily range (strategy), stop loss per day (risk management), Stop loss (risk management), take profit (money management), tracking stop and tracking step (strategy), Risk per order (risk management) and much more! Through a newly developed stop system and with an algorithm never known before, Indic
FREE
Mt5TradeCopier
Mcblastus Gicharu Ndiba
Forex Trade copier MT5.  It copies forex trades, positions, orders from any accounts to any other account,  MT5 even multiple accounts. The unique copying algorithm exactly copies all trades from the master account to your client account. It is also noted for its high operation speed and Tough error handling. It also can copy from demo account to live account too. It is one of the best free trade copiers that can do ,  MT5 or to multiple accounts  MT5 to multiple accounts  Features of Trade Copi
Stormer RSI 2
Ricardo Rodrigues Lucca
A estratégia do robô é baseada na ensinada pelo Stormer. Segue a explicação da mesma: Quando o RSI fica abaixo de 25, compramos nos últimos 15 minutos do pregão a mercado e o stop de ganho fica na maior máxima dos dois últimos dias. Sendo o mesmo movimentado até ser atingido ou ir para baixo da entrada (quando encerramos a posição a mercado, independente de termos atingido o número máximo de dias). Como utilizo? Configura o Lote e configure a hora e minuto que o EA deve operar. O mesmo só
RSI Grid MT5
Joseph Anthony Aya-ay Yutig
OBTENHA OUTROS EAs DE GRAÇA!!! OBTENHA OUTROS EAs DE GRAÇA!!! OBTENHA OUTROS EAs DE GRAÇA!!! OBTENHA OUTROS EAs DE GRAÇA!!! OBTENHA OUTROS EAs DE GRAÇA!!! O RSI Grid é baseado nas condições de sobrecompra e sobrevenda do RSI e abre uma grade quando a negociação está no lado perdedor do mercado. O RSI fornece aos traders técnicos sinais sobre o momento de alta e baixa dos preços, e geralmente é plotado abaixo do gráfico do preço de um ativo. Um ativo é geralmente considerado sobrecomprado quan
Ferramentas para ganhar e pesquisar. O núcleo dos sinais de negociação e estratégia é baseado no algoritmo do autor para a formação de padrões de previsão de preços. Aplicável a qualquer instrumento! Complementado com um sistema de controle baseado no MA "Nine-Tailed Fox" , atualizando e ajustando o sinal com a maior precisão possível para o mercado, instrumento e período de trabalho. Elegíveis: Todos os instrumentos em todos os mercados (há exceções). Para quem é: fundos de hedge, gestores d
Nosso indicador   Basic Support and Resistance   é a solução necessária para aumentar sua análise técnica.Este indicador permite que você forneça níveis de suporte e resistência no gráfico/   versão MT4 grátis Recursos Integração dos níveis de Fibonacci: Com a opção de exibir níveis de Fibonacci, juntamente com os níveis de suporte e resistência, nosso indicador fornece uma visão ainda mais profunda do comportamento do mercado e possíveis áreas de reversão. Otimização de desempenho: Com a o
R Factor EA MT5
Raphael Minato
5 (4)
R FACTOR Multi Strategy Expert Advisor with Proprietary Dynamic Portfolio Management System After 4 years of development and more than  3  years of real positive results, R Factor is available for MQL5 community! It has always been important for us that the strategies performed positively for the creator before it could be shared.  Skin In The Game is essential to demonstrate the belief in the strategy and also to provide a continuous improvement of it. Anyone who has been in this market for
Santa Scalping MT5
Morten Kruse
3.33 (3)
Santa Scalping is a fully automated Expert Advisor with no use of martingale. Night scalping strategy. The SMA indicator filter are used for entries. This EA can be run from very small accounts. As small as 50 EUR. General Recommendations The minimum deposit is 50 USD,  default settings reccomend for eurusd m5 gmt +2 . Please use max spread 10 if you will not have orders change it to -1. Use a broker with good execution and with a spread of 2-5 points. A very fast VPS is required, preferably w
Indicement MT5
Profalgo Limited
4.08 (12)
Bem-vindo ao Indicement! PROP FIRM READY! -> baixe os arquivos do conjunto   aqui PROMOÇÃO DE LANÇAMENTO: Restam apenas algumas cópias pelo preço atual! Preço final: 990$ NEW: Choose 1 EA for FREE! (limited to 2 trading account numbers) Oferta de combinação definitiva     ->     clique aqui JUNTE-SE AO GRUPO PÚBLICO:   Clique aqui   LIVE SIGNAL A INDICEMENT     traz meus 15 anos de experiência na criação de algoritmos de negociação profissionais para os mercados de índices. O EA usa um algori
Nmt5
Liang Qi Quan
这段代码是一个简单的交易专家顾问(Expert Advisor)示例,主要功能如下: 使用两个移动平均线(MA)作为交易信号: 快速MA(FastMA)和慢速MA(SlowMA) 初始化函数(OnInit): 创建两个MA指标句柄 设置数组为时间序列模式 清理函数(OnDeinit): 释放指标句柄,防止内存泄漏 主要交易逻辑(OnTick): 获取最新的MA值 判断趋势和交易信号 在无持仓时执行交易 交易规则: 上升趋势+买入信号时开多单 下降趋势+卖出信号时开空单 使用固定的止损和止盈点数 风险管理: 使用输入参数设置交易手数、止损和止盈 每次只允许一个持仓(inTrade变量) 使用MQL5的Trade库进行交易操作,简化了下单过程 这个EA适合初学者学习,展示了基本的EA结构和简单的交易策略实现方法。但在实际使用前,还需要进行更多的测试和优化。
Project IG MT5
Ruslan Pishun
1.57 (7)
The EA is not a scalper. The EA uses a strategy based on the breakdown of local support and resistance levels, also uses the reverse and rebound from support and resistance levels.  The EA is based on the original author's strategy. Real monitoring:   https://www.mql5.com/en/signals/author/profi_mql Detailed description of the strategy here:  https://www.mql5.com/ru/blogs/post/728430 This is a link for general discussion of the EA:  https://www.mql5.com/ru/blogs/post/728430 Hidden Take profit,
Magic EA MT5
Kyra Nickaline Watson-gordon
Magic EA is an Expert Advisor based on Scalping, Elliot Waves and with filters such as RSI, Stochastic and 3 other strategies managed and decided with the robot smartly. Large number of inputs and settings are tested and optimized and embedded in the program thus inputs are limited and very simple. Using EA doesn't need any professional information or Forex Trading Knowledge. EA can trade on all symbols and all time frames, using special and unique strategies developed by the author. The EA
Negociação automática e manual Um sistema comercial pronto baseado nas  ondas de Elliott e níveis de Fibonacci . Simples e de fácil acesso Exibição de marcação das ondas de Elliott (opção geral ou alternativa) em um gráfico Construção dos níveis horizontais, linhas de apoio e resistência, canal Sobreposição dos níveis de Fibonacci para as ondas 1, 3, 5, A Sistema de alerta (no ecrã, E-Mail, Push notificações) painel visual para abertura de ordens para negociação manual painel visual para configu
Metatrader5 Trailing Stop Loss Program Platform Compatibility : This program is designed for the MetaTrader 5 platform. Functionality : The program scans all open Forex currency pair trades on MetaTrader 5 and adjusts their STOP LOSSES to a PROFIT position based on your specified input parameters. Parameters and Example : Example Trade : EURUSD Long (BUY) trade @ 1.0800 STOP LOSS (-50 pips) @ 1.0750 TAKE PROFIT (+50 pips) @ 1.0850 Program Settings : WhenToTrail = 20 PIPS (Pips profit amount to
Os compradores deste produto também adquirem
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,
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
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
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
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 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 - Ob
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
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
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
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   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 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
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 é 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 (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
Essa biblioteca é usada para classificar matrizes de chave e valor, geralmente precisamos classificar valores. como na linguagem python sorted(key_value.items(), key = lambda kv:(kv[ 1 ], kv[ 0 ])) função de importação Exemplo de cenários de uso 1. As ordens do Grid EA são classificadas de acordo com o preço de abertura void SortedByOpenPride()   {    long     OrderTicketBuffer[];    double   OpenPriceBuffer[];    for ( int i = PositionsTotal ()- 1 ; i>= 0 ; i--)      {        if (m_pos
Intro to Range Breakout Strategy (pre-close clearance) Range = yesterday high - Yesterday low On track = opening price + range *k; Lower rail = Open price - range *K Stop-loss closing position: When the price breaks up the upper track or breaks down the lower track, it breaks the opening price of the day again Parameters: Pairs List (comma separated)       = "GBPUSD,GBPJPY,USDJPY,XAUUSD,XTIUSD,USTEC"; - TimeFrame = PERIOD_D1; - MagicNumber      = 60037;          - OrderComment     = "RangeBre
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 
Mais do autor
Otter Scalper
Esteban Thevenon
Otter Scalper is a 100% automated trading robot. It uses a very effective breakout strategy. The money management is automatic. A position is taken when a high or low is reached. The position is secured as soon as possible and followed with a trailing stop loss. As the average profit is small, it is advisable to trade with a small spread. The performance of the robot can therefore change depending on your broker. It is also strongly recommended not to use this robot if your broker uses commiss
Deer Ma
Esteban Thevenon
5 (1)
Deer Ma é um robô de negociação altamente avançado projetado para negociação eficiente nos mercados financeiros. Este software totalmente automatizado utiliza duas médias móveis e outros indicadores avançados para analisar os mercados e tomar decisões de negociação com base em estratégias de scalping ou tendência . O algoritmo de ponta do software garante que ele possa identificar rapidamente e com precisão as negociações, enquanto seus recursos avançados de gerenciamento de dinheiro permitem mi
Otter Scalper Gold
Esteban Thevenon
Otter Scalper Gold é um consultor especializado que opera na estratégia de breakout. O EA detecta os pontos altos e baixos com base em um intervalo especificado de velas e coloca Ordens de Stop ou Limite de acordo. O Otter Scalper Gold fornece vários tipos de opções de stop loss, incluindo uma ampla escolha de diferentes stop losses para corresponder às suas estratégias de negociação. O EA inclui sistemas avançados de gerenciamento de dinheiro e gerenciamento de risco para ajudar a minimizar as
Filtro:
Sem comentários
Responder ao comentário
Versão 1.35 2023.05.28
Add :

int TotalOperationsBuy(long magic)
int TotalOperationsSell(long magic)
bool NewCandle(datetime &previous)
bool ModifyPosition()
double GetLot(double risk, int point)
double GetLot(double risk, int point, bool money_managment, double fixed_lot)
bool LaterThan(HOURS hour, MINUTES minute)
bool LaterEqThan(HOURS hour, MINUTES minute)
bool EarlierThan(HOURS hour, MINUTES minute)
bool EarlierEqThan(HOURS hour, MINUTES minute)
enum ORDERS
bool CloseOrders(long magic, ORDERS order)

Update :
bool TraillingStopIncreasing(double ask, double bid, long magic, int sl, int sl_start, int nb_candles, int sl_increase, int max_increase, int min_decrease)
bool TraillingStopMeanMoving(double ask, double bid, long magic, MqlRates &candles[], int ratio, int mean_nb_candles)
bool TraillingStopQuickSecurity(double ask,double bid, long magic, int sl, int sl_start)
bool TraillingStopMa(double ask,double bid,long magic, double &buff[], int sl_min)
bool TraillingStopFixe(double ask, double bid, long magic, int sl)
Versão 1.18 2023.03.04
1 function update:
-TradeDays
Versão 1.17 2023.02.20
17 new functions :
-Direction
-Direction
-GetMaxClose
-GetMaxOpen
-GetMaxPrice
-GetMaxSpread
-GetMinClose
-GetMinOpen
-GetMinPrice
-GetMinSpread
-TotalOperations
-TotalOrders
-TotalOrdersBuy
-TotalOrdersSell
-TotalPositions
-TotalPositionsBuy
-TotalPositionsSell