• 概述
  • 评论
  • 评论
  • 新特性

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


推荐产品
DarwinIA 银级 95.50 - 每月拨款 375,000 欧元 - 2024 年 7 月 这是独一无二的独家专家,在Darwinex Zero上只出售一份。由于 Darwinex 严格控制复制交易,因此必须使用独家专家。该专家完全符合 Darwinex 的规则和期望。 该专家就像一个猎手,仔细分析价格走势、强度和趋势。它耐心等待最佳机会,以出色的效率开展工作。 专家 "的策略植根于 "价格行为"、"智能货币概念"(SMC)和 "斐波那契",以最重要的价格走势为目标,抓住最有希望的机会。 此外,该专家还使用了一些由其开发人员创建的专有指标。 注意 购买 1 次后,该专家将从市场上消失。 在过去 6 个月的回溯测试中,它的评级为 95.50,这保证了每月 375,000 欧元的拨款。 在之前的回溯测试中,该表现也非常出色。 主要特点 交易符号: GBPUSD。 该 EA 不断分析价格走势,一旦发现最佳机会,就会发送一个有限订单,从而建立头寸。 每个仓位从一开始就设定了固定目标和固定止损。 手数也是根据输入自动计算和确定的。 Al Brooks 的价格行动: 该
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
交易员们好! 我向您介绍“Cleopatra” Cleopatra 的设计美观而智能,其恢复形式不断适应其多功能性。 其主要策略是阅读市场的弹性,我们可以用不同的方式分析进入范围。这在不同的 TF 和不同的范围内可能非常动态,并处理市场新闻查询。 Cleopatra 具有适应市场复苏的强大能力,其模式并不固定,我们也有不同类型的保护,无论是百分比还是浮动,都能够在任何 propfirm 或 mff 账户的规则下工作等。 应该注意的是,它适用于任何符号,无论是外汇还是其他符号,它对基于支撑和阻力的范围时间具有很好的控制,您还可以使整个策略反向工作,动态适应用户 重要提示:此专家在 API 新闻信息中保护其市场活动,您无法在回测中看到或激活此功能! Cleopatra EA 它有一个内置系统,可以承担 x 金额的余额风险,如果市场在任何时候变得不稳定,它也可以恢复 它还具有我的智能算法系统,当 TP 从我的内置秘密指标中检测到正确的预测时,它可以关闭某些头寸,而不会关闭其他头寸。 我的策略 EA 有实时历史记录 实时性能 如果您想要我的信号的预设,请
| 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.
1.7*24小时全时在线,安全,可靠,低延时ping; 2.按券商要求智能跟单,详见英文简介   3.本系统仅提供跟单软件服务,不提供交易策略,不代单操作; 4.不限交易手数,客户自行设置A仓手机app端即可,不额外收费 5.客户可按月,季,年付费方式,不同方式,不同优惠,先付费后使用; 6.因券商MT5服务器异常,导致断网后跟单异常,客户需自行风控处理,本系统不提供风控处理 7.券商下单规则改变,会自动更新最新跟单系统 8.详细购买流程,请咨询  wehcat  :zfflyer; 9.再次强调,本系统,仅保障以技术层面实现跟单功能,不参与客户的下单,交易策略,以及风控措施。 10.本系统已稳定运行9个月,经历各种复杂行情考验,稳定,可靠
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)
“两位专家顾问,一个价格:助您成功!”布伦特石油倒卖专家 + 布伦特石油波动专家合二为一的 EA 交易    Live signal 此价格是促销期间的临时价格,很快就会上调 最终价格:5000 美元 目前价格仅剩1份,明天涨价,下一个价格是 -->> 1120 $ 欢迎来到布伦特石油 布伦特石油专家顾问是一家实力雄厚的公司,旨在精准、敏捷地掌控波动的能源市场。布伦特石油不仅仅是一个系统;它也是一个系统。它是您的战略合作伙伴,旨在部署适应市场脉动的胜利战略。 无论您是想通过倒卖技术利用快速的市场波动,还是喜欢谨慎的波动交易方法,布伦特石油都能满足您的需求。其先进的算法分析市场趋势来执行旨在最大化收益和最小化风险的交易。 主要特征: 高级策略实施:在倒卖、波动和其他定制策略之间无缝切换。 市场适应性:在布伦特石油市场的动态交易环境中蓬勃发展。 用户友好的界面:即使对于交易机器人的新手来说,也易于设置。 风险管理协议:内置安全检查以保护您的投资。 通过布伦特石油提升您的交易游戏**——技术与策略相结合,助您交易成功。准备好体验未来的交易,专为追求卓越和性能的交易者
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 );    //复杂开单
Beast Super Signal MT5
Dustin Vlok
2.71 (7)
正在寻找可以帮助您轻松识别有利可图的交易机会的强大外汇交易指标? Beast Super Signal 就是您的不二之选。 这个易于使用的基于趋势的指标持续监控市场状况,寻找新的发展趋势或跳入现有趋势。当所有内部策略一致且彼此 100% 融合时,Beast Super Signal 会发出买入或卖出信号,无需额外确认。当您收到信号箭头警报时,只需买入或卖出。 购买后给我留言,让我加入我的私人 VIP 群组! (仅限购买完整产品)。 购买后给我发消息以获取最新的优化设置文件。 此处提供 MT4 版本。 在此处 获取 Beast Super Signal EA。 查看评论部分以查看最新结果! Beast Super Signal 根据您偏好的 1:1、1:2 或 1:3 风险回报率建议入场价、止损和获利水平,让您放心交易。这个 Beast Super Signal 是 100% 不可重新绘制的,这意味着它永远不会重新计算或重新绘制,每次都能为您提供可靠的信号。 Beast Super Signal 指标适用于所有时间范围,包括货币对、指数、商品和加密货币对。
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
This strategy was learned from Stormer to be used on B3. Basically, 15 minutes before closing the market, it will check RSI and decided if it will open an position. This strategy do not define a stop loss. If the take profit reach the entry price it will close at market the position. The same happens if the maximal number of days is reached. It is created to brazilian people, so all configuration are in portuguese. Sorry Activations allowed have been set to 50.
RSI Grid MT5
Joseph Anthony Aya-ay Yutig
免费获得其他 EA!!!免费获得其他 EA!!!免费获得其他 EA!!!免费获得其他 EA!!!免费获得其他 EA!!! RSI 网格基于 RSI 的超买和超卖情况,并在交易处于市场亏损的一侧时打开一个网格。 RSI 为技术交易者提供有关看涨和看跌价格动能的信号,它通常绘制在资产价格图表下方。当 RSI 高于 70% 时,资产通常被认为是超买,而当 RSI 低于 30% 时,资产通常被认为是超卖。 参数: 时间过滤器 周一 周二 周三 周四 星期五 周六 星期日 开始时间 时间结束 RSI 设置 RSI 周期 超买 超卖 大体时间 金钱管理 自动售货机 最大手数 获利 网格大小 乘数 尾随期权 追踪止损 尾随步骤 轨迹偏移 设置文件 v1.8 英镑兑美元 SET 1 https://youtu.be/a7PfCr1jYXQ https://drive.google.com/file/d/1dP1sZvSQddY_D0meY6vul4Kk78cqo
賺錢和研究的工具。 交易信號和策略的核心是基於作者的價格預測模式形成算法。適用於任何樂器!輔以基於 MA "九尾狐" 的控制系統,盡可能準確地更新和調整市場、儀器和工作期間的信號。 合格:所有市場中的所有工具(有例外)。 適用對象:對沖基金、基金和資產經理、投資經理、投機者、投資者和利益相關者。 ..................................................................................................................................................................................
我们的   Basic Support and Resistance   指示器是提高技术分析所需的解决方案。该指标允许您在图表/ MT4版本 功能 斐波那契水平的集成: 可以选择显示斐波那契水平以及支持和阻力水平,我们的指标使您对市场行为和可能的逆转区域有更深入的了解。 性能优化: 只能在每个栏的打开时更新扩展线,我们的指标可确保最佳性能,而无需牺牲支持和阻力级别的准确性。 输入 主设置 Timeframe:   通过此输入,您可以选择在图表上显示较高时间范围的支撑线和阻力线。 Support/Resistance Strength [Number of Bars]:   使用此输入,您可以确定支撑和电阻的强度。数量越高,支持/阻力越强。 Price mode:  此参数允许您选择哪种价格将用于计算支持和电阻水平。它可以是收盘价,最高价格,最低价格等。取决于您的策略和偏好,您可以选择最适合您需求的价格。 显示设置 Display Fibonacci levels:   此参数确定是否将显示斐波那契水平以及图表上的支持和电阻级别。斐波那契水平是技术分析中使用的关键水平
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.17 (12)
歡迎來到指數! 道具準備就緒! -> 在這裡 下載設定文件 推出促銷活動: 目前價格只剩幾本! 最終價格:990$ NEW: Choose 1 EA for FREE! (limited to 2 trading account numbers) 終極組合優惠   ->   點擊此處 加入公共團體: 點擊此處   LIVE SIGNAL INDICEMENT   將我 15 年在創建專業交易演算法方面的經驗帶入指數市場。 EA 使用經過深思熟慮的演算法來找到最佳入場價格,並在內部運行多種策略來分散交易風險。 所有交易都有停損和止盈,但也使用追蹤停損和追蹤停盈來最小化風險並最大化每筆交易的潛力。 該系統建立在非常流行且經過驗證的策略之上:交易突破重要的支撐位和阻力位。   我很高興地說,在多年的 EA 開發過程中,我已經完善了這個策略 該 EA 專為 US500、US30 和 NAS100 指數交易而開發。 這些市場特別適合這種類型的策略交易。 回測顯示出非常穩定的成長曲線,回撤非常可控且恢復很快。  該 EA 已針對所有 3 個指數進行了壓力測試,使用不同經紀商的多個價格
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
Daytrade Pro Algo MT5
Profalgo Limited
4 (9)
推出促銷: 以當前價格提供的副本數量有限 最終價格:990$ 新:免費獲得 1 個 EA! (2 個交易賬戶) Ultimate Combo Deal   ->   click here LIVE RESULTS:   https://www.mql5.com/en/signals/1949810 JOIN PUBLIC GROUP:   Click here Set Files 歡迎來到 DayTrade Pro Algo! 經過多年的市場研究和不同策略的編程,我發現了一個具有良好交易系統所需的一切的算法: 它是獨立於經紀人的 它是獨立傳播的 它使用真實可變點差測試在 MT4、MT5、TDS2 和多個經紀商上輕鬆顯示非常穩定的回測 數百種不同的設置都在測試中給出了有利可圖的結果(當然我選擇了最好的!) 非常強大的系統 -> 設置可以互換,因此使用 USDJPY 的設置運行 EURUSD 仍然是有利可圖的。   已經在 13 個貨幣對上運行:EURUSD;GBPUSD;USDJPY;AUDUSD;XAUUSD;GBPJPY;USDCAD;EURJPY;EURNZD;EUR
Expert. Automatic and manual trading. Ready-made trading system based on Elliott waves and Fibonacci retracement levels . It is simple and affordable. Display of the marking of Elliott waves (main or alternative option) on the chart. Construction of horizontal levels, support and resistance lines, a channel. Superposition of Fibonacci levels on waves 1, 3, 5, A Alert system (on-screen, E-Mail, Push notifications).    visual panel for opening orders in manual trading. visual panel for setting up
GOLD Scalper PRO MT5
Lachezar Krastev
4.42 (19)
EARLY BLACK FRIDAY! --> Buy GOLD Scalper PRO with -70% OFF and get a BONUS EA -> Intelly Trader EA (new EA developed 2024)! NOTE: Black Friday price: $117 ( Regular Price: $397) - The offer ends soon! Click here to learn more about Black Friday promotion and the BONUS EA! GOLD Scalper PRO Live Results:   https://www.mql5.com/en/signals/2259548 GOLD Scalper Pro  is a very effective and profitable trading strategy, professionally developed especially for trading  GOLD (XAUUSD) . I have used the m
Bergland Gold MT5
Matthias Bessler
2.33 (3)
This fully automated trading system is part of the Bergland signal. It features a highly efficient trading logic, and a money management system. Reasonable calculated stop loss and take profit levels. It is easy to install and do not require a special setfile. XAUUSD, M15 Special Promo:    If you register with my cashback link, you will get this EA for free. PM me for instructions.
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
该产品的买家也购买
BitMEX Trading API
Romeu Bertho
5 (1)
Cryptocurrency analysis has never been easier with Crypto Charts for MetaTrader 5. Now, trading on BitMEX has never been easier with BitMEX Trading API for MetaTrader 5. BitMEX Trading API library was built to be as easy to use as possible. Just include the library into your Expert Advisor or Script, call the corresponding methods and start trading! Features Trade on BitMEX and BitMEX Testnet. Build and automate your strategies. Concern more with the trading strategy logic and less with the c
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
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.
OrderBook History Library
Stanislav Korotky
3 (2)
Order Book, known also as Market Book, market depth, Level 2, - is a dynamically updated table with current volumes of orders to buy and to sell specific financial instument at price levels near Bid and Ask. MetaTrader 5 provides the means for receiving market book from your broker, but in real time only, without access to its history. The library OrderBook History Library reads market book state in the past from archive files, created by OrderBook Recorder . The library can be embedded into you
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
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示:单击此处 如果您想与交易面板进行交易,您可能对此产品感兴趣 该产品是加密图表的插件 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上
MetaCOT 2 CFTC ToolBox MT5
Vasiliy Sokolov
3.67 (3)
MetaCOT 2 CFTC ToolBox is a special library that provides access to CFTC (U.S. Commodity Futures Trading Commission) reports straight from the MetaTrader terminal. The library includes all indicators that are based on these reports. With this library you do not need to purchase each MetaCOT indicator separately. Instead, you can obtain a single set of all 34 indicators including additional indicators that are not available as separate versions. The library supports all types of reports, and prov
AO Core
Andrey Dik
3 (2)
AO Core is the core of the optimization algorithm, it is a library built on the author's HMA (hybrid metaheuristic algorithm) algorithm. Pay attention to the MT5 Optimization Booster product , which makes it very easy to manage the regular MT5 optimizer . An example of using AO Core is described in the article: https://www.mql5.com/ru/articles/14183 https://www.mql5.com/en/blogs/post/756510 This hybrid algorithm is based on a genetic algorithm and contains the best qualities and properties of
This is a simplified and effective version of the library for walk forward analysis of trading experts. It collects data about the expert's trade during the optimization process in the MetaTrader tester and stores them in intermediate files in the "MQL5\Files" directory. Then it uses these files to automatically build a cluster walk forward report and rolling walk forward reports that refine it (all of them in one HTML file). Using the WalkForwardBuilder MT5 auxiliary script allows building othe
BitMEX Trading API
Romeu Bertho
5 (1)
Cryptocurrency analysis has never been easier with Crypto Charts for MetaTrader 5. Now, trading on BitMEX has never been easier with BitMEX Trading API for MetaTrader 5. BitMEX Trading API library was built to be as easy to use as possible. Just include the library into your Expert Advisor or Script, call the corresponding methods and start trading! Features Trade on BitMEX and BitMEX Testnet. Build and automate your strategies. Concern more with the trading strategy logic and less with the c
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. 这是什么 MT5系统自带的优化结果非常少,有时候我们需要研究更多的结果,这个库可以让你在回测优化时可以输出更多的结果。也支持在单次回测时打印更多的策略结果。 2. 产品特色 优化的输出的结果非常多。 可以自定义CustomMax。 输出结果在Common文件夹。 根据EA名称自动命名,且同一个EA多次回测会自动更新名称,不会覆盖上一次的结果。 函数非常简单,你一眼就可以看懂。 #import "More BackTest Results.ex5" // Libraries Folder, Download from the market. //---Set CustomMax void iSetCustomMax( string mode); //---Display multiple strategy results when backtesting alone (not opt). void iOnDeinit(); //--- void iOnTesterInit(); double iOnTester(); void iOnTesterPass( string lang
The Matrix
Omega J Msigwa
Matrix is the foundation of complex trading algorithms as it helps you perform complex calculations effortlessly and without the need for too much computation power, It's no doubt that matrix has made possible many of the calculations in modern computers as we all know that bits of information are stored in array forms in our computer memory RAM, Using some of the functions in this library I was able to create machine learning robots that could take on a large number of inputs To use this libra
T5L Library is necessary to use the EAs from TSU Investimentos, IAtrader and others. It contains all the functions framework needed to Expert Advisors working properly.  ツ - The Expert Advisors from  TSU Investimentos does not work without this library,  the T5L library can have updates during the year - At this Library you will find several funcionalities like order sends, buy and sell, trigger entry points check, candlestick analyses, supply and demmand marking and lines, and much more. 
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
这个库用于key 和 value 数组进行排序, 我们常常需要对值进行排序。 像python语言里面的 sorted(key_value.items(), key = lambda kv:(kv[ 1 ], kv[ 0 ])) 导入函数 #import "SortedByValue.ex5" bool SortedByDouble( long       &key[], double    & value []); bool SortedByDouble( string    &key[], double    & value []); bool SortedByInteger( long      &key[], long      & value []); bool SortedByInteger( string   &key[], long      & value []); bool SortedByDateTime( long     &key[],datetime & value []); bool SortedByDateTime( string &key[],
区间突破策略简介(收盘前清仓)      区间=昨高-昨低 上轨=开盘价+区间*k;下轨=开盘价-区间*K 止损平仓: 当价格向上突破上轨或向下突破下轨后, 再次回破当日开盘价  参数: Pairs List (comma separated)     = "GBPUSD,GBPJPY,USDJPY,XAUUSD,XTIUSD,USTEC"; - TimeFrame = PERIOD_D1; - MagicNumber    = 60037;          - OrderComment   = "RangeBreakOut"; - FixedLots( RiskPercent = 0)  = 0.1;            - RiskPercent(0 - 100)     = 1;              - RangeMultiplier   = 1;               - DistancePoints   = 10; - Exit Method   =  backopen;      - Close all positions n hours before c
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 
作者的更多信息
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 是一个高度先进的交易机器人,专为金融市场的高效交易而设计。该完全自动化软件利用两个移动平均线和其他先进指标来分析市场,并基于短线或趋势交易策略做出交易决策。该软件的先进算法确保其能够快速准确地识别交易,而其先进的资金管理功能则使其能够最小化风险并优化结果。无论您是新手交易者还是经验丰富的专业人士,Deer Ma都是任何交易者都不可缺少的宝贵工具。 价格为 $79 前 5 个。下一个价格:$99。 应用: USDJPY 1H MEAN_MOVING 策略: Deer Ma采用基于简单移动平均线交叉系统的策略,在短期移动平均线上下穿过长期移动平均线时开仓。然而,为了改进这种基本策略,Deer Ma提供了几个可自定义的参数,可根据不同的市场条件和交易偏好进行调整。例如,市场交易量参数可以进行调整以避免在高度波动或流动性不足的市场中开仓,而价格位置参数可用于过滤掉在交叉点附近发生的虚假信号。添加Ichimoku Chikun曲线有助于避免虚假趋势信号,而跟踪止损功能非常有效,可根据个人风险偏好进行定制。此外,该软件可设置仅在指定的交易时间内交易,从而提供更多的灵活性
Otter Scalper Gold
Esteban Thevenon
Otter Scalper Gold 是一款专门采用突破策略的外汇交易自动化软件。该软件通过检测一定范围内蜡烛图的高低点,进而放置止损或限价单。同时,Otter Scalper Gold提供多种止损选项,包括多种不同类型的止损以适应您的交易策略。该软件包含先进的资金管理和风险管理系统,帮助最小化亏损并最大化收益。您可以将Otter Scalper Gold用于抢反弹或趋势交易。 首5个售价$99。接下来的价格是$129。 应用范围: EURUSD - USDJPY 1H 交易策略: Otter Scalper Gold的交易策略基于突破。它通过分析一定范围内的蜡烛图来确定高低价格。一旦确定这些水平,该软件会在其上放置止损或限价单。当价格突破该订单时,会进入一个持仓。最后,根据选择的止损类型和盈利水平来管理仓位。 风险提示: 与任何形式的金融投资一样,使用Otter Scalper Gold进行交易始终存在风险。尽管该软件旨在优化交易结果并最小化风险,但在承诺未来成功之前,请记住过去的表现并不能保证未来的成功。因此,在使用该软件进行实盘交易之前,用户必须充分了解该软件的参
筛选:
无评论
回复评论
版本 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)
版本 1.18 2023.03.04
1 function update:
-TradeDays
版本 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