• 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
Srfire Hedge Position
Javier Antonio Gomez Miranda
SRFire Hedge Position - Automated Trading Strategy SRFire Hedge Position is an Expert Advisor (EA) designed to ensure trades always close in profit using a hedging and scaling technique. Here’s how it works: How It Works: Trade Initiation: The EA opens a Buy position within a predefined channel. Simultaneously, it places a Sell Stop order below the channel with double the lot size of the Buy position. If the Buy position hits the Take Profit (TP), the Sell Stop order is canceled, and the proces
Manyal trading system, CovEchoTrend Robot, focuses on reliability and flexibility. By employing statistical analysis methods to study the relationships between the base indicator and market patterns, the system enables a deeper understanding of market processes. Intelligent pattern analysis: The application of statistical data processing helps identify key trend reversal points more accurately, signaling significant market shifts. Informed decision-making is based on the intersection of indicato
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
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 to
| 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
Pro Experience Only 4 copies available for $99.00. Next price 199 USD ECN Pro Experience is a scalping strategy based on breaking through strong price levels. One of the oldest and most reliable strategies with the author's modernization for the current market. The strategy does not require any optimizations. We installed it on the chart according to the recommendation and enjoy trading!!! Advantages of ECN Pro Experience: - optimal SL/TP ratio - low SL, which makes the system as safe as possi
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.1 (10)
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 independent
Indicador único que implementa uma abordagem profissional e quantitativa para significar negociação de reversão. Ele capitaliza o fato de que o preço desvia e retorna à média de maneira previsível e mensurável, o que permite regras claras de entrada e saída que superam amplamente as estratégias de negociação não quantitativas. [ Installation Guide | Update Guide | Troubleshooting | FAQ | All Products ] Sinais de negociação claros Incrivelmente fácil de negociar Cores e tamanhos personalizáveis
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: Assim
O indicador SMC Venom Model BPR é uma ferramenta profissional para os traders que trabalham com o conceito Smart Money (SMC). Identifica automaticamente dois padrões principais no gráfico de preços: FVG   (Fair Value Gap) é uma combinação de três velas, em que existe um gap entre a primeira e a terceira velas. Forma uma zona entre níveis onde não há suporte de volume, o que geralmente leva a uma correção de preço. BPR   (Balanced Price Range) é uma combinação de dois padrões FVG que formam uma
Brent Oil
Babak Alamdar
3.67 (9)
“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 Bren
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 );    //复杂开单
The key logic of SignalTech is generated by Artificial Intelligence. The machine learning module should continue optimizing the core logic on the server side to guarantee that SignalTech System can accurately track the market's movement.  SignalTech can generate AI based signals with Buy/Sell Arrows and Pop-Up/Sound Alerts. Each signal has clear Entry and stop Loss levels, which should be automatically flagged on the chart, as well as potential Targets 1, 2, and 3. SignalTech can work on EURU
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
Indices Scalper EA
Igor Widiger
1 (1)
Indices Scalper EA offers functions: start trading, end trading, close order (time), pending order placement (time), tralling stop (automatic according to strategy), trading can be switched off, daily range (strategy), stop loss on the day (risk management), stop loss (risk management), take profit (money management), traling stop and tralling step (strategy), risk per order (risk management) and much more! With a newly developed stop system and with a never-before-seen algorithm, Indices Scal
FREE
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$ This is a smart grid-based automated trading system, meticulously developed from over a decade of trading experience. The system leverages quantitative analysis, trend evaluation, and key resistance levels to execute precise entries. Our EA specializes in trading three major currency pairs: AUDCAD NZDCAD AUDNZD Designed with both efficiency a
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ó se
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 quand
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 opçã
Introduction to the Manual Backtesting Indicator on MQL5 The MetaTrader platform provides an excellent backtesting tool for evaluating Expert Advisors (EAs). However, when it comes to manually backtesting a strategy to assess its effectiveness, this tool has some limitations: You cannot manually draw zones or trend lines while in backtesting mode. You cannot switch timeframes to check time alignment. For example, if my strategy requires additional confirmation from a higher timeframe (HTF), this
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 s
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 wi
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 w
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
Os compradores deste produto também adquirem
*****A negociação principal é XAUUD. Se testar, recomenda-se ajustar ao XAUUD. Outras metas de negociação não podem garantir rentabilidade******* Se necessitar de testar, por favor deixe uma mensagem (responderei assim que o vir). Para proteger os resultados do trabalho, é necessário introduzir parâmetros específicos. Os parâmetros predefinidos do sistema não conseguem atingir o efeito mostrado na retirada da captura de ecrã! Se necessitar de testar, por favor deixe uma mensagem (responderei
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
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
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
Kaseki
Ben Mati Mulatya
The Hybrid Metaheuristic Algorithm (HMA) is a cutting-edge optimization approach that combines the strengths of genetic algorithms with the best features of population-based algorithms. Its high-speed computation ensures unparalleled accuracy and efficient search capabilities, significantly reducing the total time required for optimization while identifying optimal solutions in fewer iterations. HMA outperforms all known population optimization algorithms in both speed and accuracy. Use Cases AO
Bookeepr
Marvellous Peace Kiragu
Bookeepr is an advanced MQL5 trading bookkeeping software that automates trade logging, tracks real-time P&L, and integrates a ledger-style financial system for deposits, withdrawals, and expenses. It supports multi-currency assets , generates detailed performance reports , and provides risk management tools to help traders optimize their strategies. With secure cloud storage, exportable reports, and seamless MetaTrader 5 integration , Bookeepr ensures accurate, transparent, and hassle-free fina
Ai Prediction MT5
Mochamad Alwy Fauzi
A free indicator for those who purchase the full version This indicator is created by this Ai, with your desired settings Artificial Intelligence at your service Have a complete artificial intelligence and use it in your codes This artificial intelligence is trained to tell you on each candle whether the market is moving up or down. In general, artificial intelligence can be used in all markets, all timeframes and all symbols However, due to the increasing complexity and decreasing accuracy of
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.
*****A negociação principal é XAUUD. Se testar, recomenda-se ajustar ao XAUUD. Outras metas de negociação não podem garantir rentabilidade******* Se necessitar de testar, por favor deixe uma mensagem (responderei assim que o vir). Para proteger os resultados do trabalho, é necessário introduzir parâmetros específicos. Os parâmetros predefinidos do sistema não conseguem atingir o efeito mostrado na retirada da captura de ecrã! Se necessitar de testar, por favor deixe uma mensagem (responderei
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
Native Websocket
Racheal Samson
5 (5)
An   easy to use, fast,  asynchronous   WebSocket library  for MQL5. It supports: ws://   and   wss://  (Secure "TLS" WebSocket) text   and   binary   data It handles: fragmented message  automatically (large data transfer) ping-pong   frames  automatically (keep-alive handshake) Benefits: No DLL required. No OpenSSL installation required. Up to 128 Web Socket Connections from a single program. Various Log Levels for error tracing Can be synchronized to MQL5 Virtual Hosting . Completely native t
Here   is   the   English translation   of   your   description   for   the EA   (Expert   Advisor): --- This   is a   time -based   automatic trading   EA . It allows   you   to   set the   exact   time   for trading , down   to   the   second , and   specify the   maximum number   of   orders . You   can choose   to   place   either   buy   or   sell   orders . It   is possible to   set take   profit and   stop   loss   points . Additionally , you can   specify   how   long after   placing  
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
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
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
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        - 
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 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
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
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
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_positio
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
Mais do autor
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
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 commissi
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
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