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

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


推荐产品
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
适用于 MetaTrader 5 (MT5) 的 UZFX - 即时关闭所有未结买单和卖单脚本是一款功能强大的工具,交易者只需执行一次操作,即可立即关闭所有活跃的市场头寸。该脚本是紧急交易管理的理想工具,可帮助交易者在剧烈波动、新闻事件或策略调整期间快速退出市场。 功能 关闭所有符号的所有未结买入和卖出头寸。 使用最新的买入价/卖出价,执行准确。 帮助交易者即时退出市场,只需极少的手动操作。 使用方法 将脚本附加到 MT5 图表。 脚本将扫描并关闭所有未平仓的买入和卖出头寸。 专家选项卡中将显示每个平仓订单的确认信息。 注意 该脚本不会删除挂单,只会关闭活跃的市场头寸。 它适用于所有交易符号,而不仅仅是所附图表。 运行脚本前,请确保您要关闭所有仓位,因为脚本会立即执行。 开发者:Usman Zabir - UZ 乌斯曼-扎比尔 - UZFX 版本: 1.00 年份: 2025 网站: https://www.mql5.com/en/users/forextycoons
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.
1.7*24小时全时在线,安全,可靠,低延时ping; 2.按券商要求智能跟单,详见英文简介   3.本系统仅提供跟单软件服务,不提供交易策略,不代单操作; 4.不限交易手数,客户自行设置A仓手机app端即可,不额外收费 5.客户可按月,季,年付费方式,不同方式,不同优惠,先付费后使用; 6.因券商MT5服务器异常,导致断网后跟单异常,客户需自行风控处理,本系统不提供风控处理 7.券商下单规则改变,会自动更新最新跟单系统 8.详细购买流程,请咨询  wehcat  :zfflyer; 9.再次强调,本系统,仅保障以技术层面实现跟单功能,不参与客户的下单,交易策略,以及风控措施。 10.本系统已稳定运行9个月,经历各种复杂行情考验,稳定,可靠
Daytrade Pro Algo MT5
Profalgo Limited
4.1 (10)
推出促銷: 以當前價格提供的副本數量有限 最終價格: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;EURAUD
PZ Mean Reversion MT5
PZ TRADING SLU
3 (2)
采用专业和量化方法进行均值回归交易的独特指标。它利用了价格以可预测和可衡量的方式转移并返回均值这一事实,这允许明确的进入和退出规则大大优于非量化交易策略。 [ Installation Guide | Update Guide | Troubleshooting | FAQ | All Products ] 清晰的交易信号 非常容易交易 可定制的颜色和尺寸 实现性能统计 优于大多数交易策略 显示合适的止损和止盈水平 它实现了电子邮件/声音/视觉警报 这个怎么运作 该指标从更高的时间范围测量完全可定制的移动平均线的标准偏差,并使用趋势跟踪方法精确地找到交易。交易是通过深入当前图表的价格行为发现的,并在价格返回到平均价格区间时关闭,根据您选择的更高时间范围计算。由于其编码方式,该指标将远离高波动性和强劲趋势市场,并且仅在可预测的情况下进行交易,在可接受的波动性与方向性比率范围内,回归均值是可行的。 指标剖析 绿线是更高时间范围内的移动平均线(也就是平均值) 虚线区域是移动平均线周围的典型价格区间 蓝线是看涨交易的突破价格 红线是看跌交易的突破价格 交易是针对均值进行的,并在典型的价格
SMC Venom 模型 BPR 指標是針對在智慧貨幣 (SMC) 概念內工作的交易者的專業工具。它會自動辨識價格圖表上的兩種關鍵模式: FVG (公平價值缺口)是三根蠟燭的組合,其中第一根和第三根蠟燭之間存在缺口。它在水平之間形成一個沒有成交量支撐的區域,這通常會導致價格調整。 BPR (平衡價格區間)是兩種 FVG 模式的組合,形成一個「橋樑」 - 當價格以低成交量活動移動時,突破並返回到水平的區域,從而在蠟燭之間產生間隙。 這些模式可協助交易者透過分析圖表上的交易量和價格動態(大型市場參與者和普通參與者之間的互動)來識別關鍵的支撐/阻力位、突破區域和切入點。 此指標以矩形和箭頭的形式可視化模式,也支援靈活的警報設定。 主要特點: 模式顯示模式:選擇顯示 BPR 模式(看漲和看跌)或 FVG 模式(看漲和看跌)。 可以隱藏所有圖表分析模式。 以條數過濾:BPR 結構中 FVG 之間的最小/最大距離。 訊號的附加視覺化: 箭頭有 9 種類型可供選擇(標準、細、分形等)或手動輸入 Wingdings 代碼,其表格可以選擇性地顯示在圖表上。 設定顏色、尺寸及其縮放時相對於價格的動態
Brent Oil
Babak Alamdar
3.67 (9)
“两位专家顾问,一个价格:助您成功!”布伦特石油倒卖专家 + 布伦特石油波动专家合二为一的 EA 交易    Live signal 此价格是促销期间的临时价格,很快就会上调 最终价格:5000 美元 目前价格仅剩1份,明天涨价,下一个价格是 -->> 1120 $ 欢迎来到布伦特石油 布伦特石油专家顾问是一家实力雄厚的公司,旨在精准、敏捷地掌控波动的能源市场。布伦特石油不仅仅是一个系统;它也是一个系统。它是您的战略合作伙伴,旨在部署适应市场脉动的胜利战略。 无论您是想通过倒卖技术利用快速的市场波动,还是喜欢谨慎的波动交易方法,布伦特石油都能满足您的需求。其先进的算法分析市场趋势来执行旨在最大化收益和最小化风险的交易。 主要特征: 高级策略实施:在倒卖、波动和其他定制策略之间无缝切换。 市场适应性:在布伦特石油市场的动态交易环境中蓬勃发展。 用户友好的界面:即使对于交易机器人的新手来说,也易于设置。 风险管理协议:内置安全检查以保护您的投资。 通过布伦特石油提升您的交易游戏**——技术与策略相结合,助您交易成功。准备好体验未来的交易,专为追求卓越和性能的交易者而设计。在*
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)
产品描述 Trend Sentry Pro 是一个复杂的全自动长线交易专家顾问 (EA),通过先进的趋势线指标来把握上升趋势。当价格收盘高于趋势线时,该 EA 会开立买单,表明一个确认的看涨趋势;当价格低于趋势线时则会平仓,标志着潜在的趋势反转。这种方法使 Trend Sentry Pro 能够充分捕捉上升的市场波动,同时最大限度地减少损失。通过自适应的 ATR 止损管理和灵活的仓位大小设置,Trend Sentry Pro 可无缝调整至市场条件,目标是优化回报并保护资金。 主要特点包括: 趋势跟随策略 :仅在上涨趋势中进行买入操作,以捕捉看涨的市场波动。 基于 ATR 的止损 :自适应止损会根据市场波动调整,在高波动期降低风险。 灵活的仓位大小设置 :可以选择账户余额风险百分比、固定手数或固定货币金额,以适应您的风险偏好。 点差过滤 :在点差过高时避免交易,最大限度地减少滑点和交易成本。 魔术号码 :每笔 EA 交易的唯一标识符,允许在同一账户上无缝使用多个 EA。 该 EA 适合寻找具有自适应风险管理和可自定义设置的强大趋势跟随策略的交易者,以匹配个人的交易风格。 用户输入参数 T
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
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_D0meY6vul4Kk78cqoNcU/view?usp=sharing v1.8 英镑兑美元套
賺錢和研究的工具。 交易信號和策略的核心是基於作者的價格預測模式形成算法。適用於任何樂器!輔以基於 MA "九尾狐" 的控制系統,盡可能準確地更新和調整市場、儀器和工作期間的信號。 合格:所有市場中的所有工具(有例外)。 適用對象:對沖基金、基金和資產經理、投資經理、投機者、投資者和利益相關者。 ..................................................................................................................................................................................
我们的   Basic Support and Resistance   指示器是提高技术分析所需的解决方案。该指标允许您在图表/ MT4版本 功能 斐波那契水平的集成: 可以选择显示斐波那契水平以及支持和阻力水平,我们的指标使您对市场行为和可能的逆转区域有更深入的了解。 性能优化: 只能在每个栏的打开时更新扩展线,我们的指标可确保最佳性能,而无需牺牲支持和阻力级别的准确性。 输入 主设置 Timeframe:   通过此输入,您可以选择在图表上显示较高时间范围的支撑线和阻力线。 Support/Resistance Strength [Number of Bars]:   使用此输入,您可以确定支撑和电阻的强度。数量越高,支持/阻力越强。 Price mode:  此参数允许您选择哪种价格将用于计算支持和电阻水平。它可以是收盘价,最高价格,最低价格等。取决于您的策略和偏好,您可以选择最适合您需求的价格。 显示设置 Display Fibonacci levels:   此参数确定是否将显示斐波那契水平以及图表上的支持和电阻级别。斐波那契水平是技术分析中使用的关键水平,并使用斐
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
交易员们好! 我向您介绍“Cleopatra” Cleopatra 的设计美观而智能,其恢复形式不断适应其多功能性。 其主要策略是阅读市场的弹性,我们可以用不同的方式分析进入范围。这在不同的 TF 和不同的范围内可能非常动态,并处理市场新闻查询。 Cleopatra 具有适应市场复苏的强大能力,其模式并不固定,我们也有不同类型的保护,无论是百分比还是浮动,都能够在任何 propfirm 或 mff 账户的规则下工作等。 应该注意的是,它适用于任何符号,无论是外汇还是其他符号,它对基于支撑和阻力的范围时间具有很好的控制,您还可以使整个策略反向工作,动态适应用户 重要提示:此专家在 API 新闻信息中保护其市场活动,您无法在回测中看到或激活此功能! Cleopatra EA 它有一个内置系统,可以承担 x 金额的余额风险,如果市场在任何时候变得不稳定,它也可以恢复 它还具有我的智能算法系统,当 TP 从我的内置秘密指标中检测到正确的预测时,它可以关闭某些头寸,而不会关闭其他头寸。 我的策略 EA 有实时历史记录 实时性能 如果您想要我的信号的预设,请私下询问我
该产品的买家也购买
*****主要交易XAUUSD,如果测试的时候,建议调整到XAUUSD,其他交易标的不能保证盈利效果********* 需要测试的请留言(看到后会第一时间回复),为了保护工作成果,需要输入特定的参数,系统默认的参数无法实现截图回撤所示效果! 需要测试的请留言(看到后会第一时间回复),为了保护工作成果,需要输入特定的参数,系统默认的参数无法实现截图回撤所示效果! 需要测试的请留言(看到后会第一时间回复),为了保护工作成果,需要输入特定的参数,系统默认的参数无法实现截图回撤所示效果! **************************************************************************************************************************************************************** 1、【简述】主要为趋势交易,严格筛选交易信号,一旦交易信号明确,快速交易。 2、【止损止盈】每月止盈15%,止损30%。 3、【特殊说明】严格的交易执行逻辑,一旦当月达到止盈止损后,坚决不再开
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 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.
*****主要交易XAUUSD,如果测试的时候,建议调整到XAUUSD,其他交易标的不能保证盈利效果********* 需要测试的请留言(看到后会第一时间回复),为了保护工作成果,需要输入特定的参数,系统默认的参数无法实现截图回撤所示效果! 需要测试的请留言(看到后会第一时间回复),为了保护工作成果,需要输入特定的参数,系统默认的参数无法实现截图回撤所示效果! 需要测试的请留言(看到后会第一时间回复),为了保护工作成果,需要输入特定的参数,系统默认的参数无法实现截图回撤所示效果! **************************************************************************************************************************************************************** 1、【简述】主要为趋势交易,严格筛选交易信号,一旦交易信号明确,快速交易。 2、【止损止盈】每月止盈15%,止损30%。 3、【特殊说明】严格的交易执行逻辑,一旦当月达到止盈止损后,坚决不再开
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示:单击此处 如果您想与交易面板进行交易,您可能对此产品感兴趣 该产品是加密图表的插件 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示: 单击此处 如果您想与交易面板进行交易, 您可能对
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
这是一个可以定时自动交易的EA。根据你设定的时间,精确到秒,可以设置最多下几单。下单buy或者Sell.可以设置值止盈止损点。并且可以设定在下单后多久平仓。一般都是用来做事件。祝你好运。 请看图片自己根据设定来使用。每一次使用请重新加载EA。不用的时候记得关闭EA按钮。 我来举个例子。比如英国央行利率决议。你在最后两秒下单(设置的是你本机的时间)。因为可能瞬间点差扩大,你可能不敢直接下最大手数,所以你可以选择小手分批从最后5秒开始进场。我相信做过的人知道我说的意思。因为我专业做这个已经十年。最近才做出了这个自动化EA。并且这里面有个检测就是你点击开始之后如果超过了你设定的时间十秒他就不会执行了。保证你的安全。你自己用DEMO账户测试几次你就知道我这个有多好用了!
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
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
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 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. 这是什么 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
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 installat
这个库用于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[],da
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
作者的更多信息
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进行交易始终存在风险。尽管该软件旨在优化交易结果并最小化风险,但在承诺未来成功之前,请记住过去的表现并不能保证未来的成功。因此,在使用该软件进行实盘交易之前,用户必须充分了解该软件的参数和运行
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 是一个高度先进的交易机器人,专为金融市场的高效交易而设计。该完全自动化软件利用两个移动平均线和其他先进指标来分析市场,并基于短线或趋势交易策略做出交易决策。该软件的先进算法确保其能够快速准确地识别交易,而其先进的资金管理功能则使其能够最小化风险并优化结果。无论您是新手交易者还是经验丰富的专业人士,Deer Ma都是任何交易者都不可缺少的宝贵工具。 价格为 $79 前 5 个。下一个价格:$99。 应用: USDJPY 1H MEAN_MOVING 策略: Deer Ma采用基于简单移动平均线交叉系统的策略,在短期移动平均线上下穿过长期移动平均线时开仓。然而,为了改进这种基本策略,Deer Ma提供了几个可自定义的参数,可根据不同的市场条件和交易偏好进行调整。例如,市场交易量参数可以进行调整以避免在高度波动或流动性不足的市场中开仓,而价格位置参数可用于过滤掉在交叉点附近发生的虚假信号。添加Ichimoku Chikun曲线有助于避免虚假趋势信号,而跟踪止损功能非常有效,可根据个人风险偏好进行定制。此外,该软件可设置仅在指定的交易时间内交易,从而提供更多的灵活性和对交
筛选:
无评论
回复评论
版本 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