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

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


推荐产品
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
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.
| 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
1.7*24小时全时在线,安全,可靠,低延时ping; 2.按券商要求智能跟单,详见英文简介   3.本系统仅提供跟单软件服务,不提供交易策略,不代单操作; 4.不限交易手数,客户自行设置A仓手机app端即可,不额外收费 5.客户可按月,季,年付费方式,不同方式,不同优惠,先付费后使用; 6.因券商MT5服务器异常,导致断网后跟单异常,客户需自行风控处理,本系统不提供风控处理 7.券商下单规则改变,会自动更新最新跟单系统 8.详细购买流程,请咨询  wehcat  :zfflyer; 9.再次强调,本系统,仅保障以技术层面实现跟单功能,不参与客户的下单,交易策略,以及风控措施。 10.本系统已稳定运行9个月,经历各种复杂行情考验,稳定,可靠
Divo EA
Anton Kondratev
4.14 (14)
DIVO EA  是一个   多币种 ,     灵活的 ,     全自动   和   多面性   识别工具   漏洞   在里面   市场 Only 7 Copies of 10 Left  for 745 $ Next Price 1475 $ 设置 常问问题 优化 关于设置 真实监控 如何安装 Not    Grid   , Not    Martingale   , Not     AI     , Not     Neural Network. Default Settings for One chart    GBPUSD M15     (Supports 1OHLC mode for weak PCs)  购买EA后,一定要私信给我,我会把你加到   私人小组 ,向您发送设置文件和其他详细说明。 我准备帮助每个买家安装和配置顾问。 如果您以前从未使用过 EA,我将向您展示并教您如何使用它。 一个经过验证的长期交易系统,使用市场安静期。 特征 默认设置针对 GBPUSD M15 进行了优化 系统在单个 GBPUSD M15 图表上运行 您随时可以从列表中选择您
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
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 );    //复杂开单
Forex Flex EA Candlesticks
Steven Donald Halcovitch
Finally the famous Forex Flex EA is available on MQL5 marketplace for a limited time. Flex EA   is a   fully automated verified forex ea   that works by using a newly developed innovative technology involving " virtual trades ". Simply put, Flex will open virtual trades in the background, using them to constantly monitor the market to help determine the absolute perfect entry point, at which point   Flex   will start its   automated trading , opening and closing real trades automatically. No
Brent Oil
Babak Alamdar
5 (1)
“两位专家顾问,一个价格:助您成功!”布伦特石油倒卖专家 + 布伦特石油波动专家合二为一的 EA 交易 此价格是促销期间的临时价格,很快就会上调 最终价格:5000 美元 目前价格仅剩2份,下一个价格是 -->> 745 $ 欢迎来到布伦特石油 布伦特石油专家顾问是一家实力雄厚的公司,旨在精准、敏捷地掌控波动的能源市场。布伦特石油不仅仅是一个系统;它也是一个系统。它是您的战略合作伙伴,旨在部署适应市场脉动的胜利战略。 无论您是想通过倒卖技术利用快速的市场波动,还是喜欢谨慎的波动交易方法,布伦特石油都能满足您的需求。其先进的算法分析市场趋势来执行旨在最大化收益和最小化风险的交易。 主要特征: 高级策略实施:在倒卖、波动和其他定制策略之间无缝切换。 市场适应性:在布伦特石油市场的动态交易环境中蓬勃发展。 用户友好的界面:即使对于交易机器人的新手来说,也易于设置。 风险管理协议:内置安全检查以保护您的投资。 通过布伦特石油提升您的交易游戏**——技术与策略相结合,助您交易成功。准备好体验未来的交易,专为追求卓越和性能的交易者而设计。在**布伦特石油的力量的支持下,满
hey。 You can try this strategy.  it is very stable................... Time: 5 min or 15min or 1h . Fixed profit: 88 points. Suitable for all markets. A minimum deposit of $300 is recommended. One order at a time, no additional positions, not Martin, high-frequency trading. Based on only specific algorithm model. The success rate is about 99%. market:all markets
ET9 for MT5
Hui Qiu
2.33 (3)
ET9  新上架,推出促销活动 仅剩几个副本,599美元 下一个价格:799美元 最终售价:1599美元 最佳黄金(XAUUSD)自动交易程序, 它也可以同时用于GBPUSD! ET9 MT5 版 更新4.20 !!   重要更新: 启用自动利润平仓,可以修改ET1策略的各种参数,优化 ET1策略的稳定性 包括免费的 ET1 MT5版:  https://www.mql5.com/zh/market/product/113131 Dragon Ball MT5版 更新 v1.30 !!  https://www.mql5.com/zh/market/product/116514 描述 ET9 MT5 版是一款在( XAUUSD) 黄金 与( GBPUSD) 英镑 交易中拥有9合一交易策略的强大自动交易程序 其中包括一个经典趋势策略ET1,另外8个突破策略,在黄金价格实现日线突破时尤为有效! 请在可视模式下对 ET9 进行回测,以便了解 ET9 的工作原理是多么专业。回测过程可能会很慢,请耐心等待 ET9这9大策略结合在一起 ,与其它一些虚假“完美回测”EA有着很大的区别:这
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 "九尾狐" 的控制系統,盡可能準確地更新和調整市場、儀器和工作期間的信號。 合格:所有市場中的所有工具(有例外)。 適用對象:對沖基金、基金和資產經理、投資經理、投機者、投資者和利益相關者。 ..................................................................................................................................................................................
Limited Time Offer!   Only   $3500 USD ! The price will increase by   $100 USD   after every   10th purchase ! Final price:   $4200 USD   DESCRIPTION : Attention!   Contact me immediately after purchase   to receive setup instructions! The Expert Advisor (EA) is designed for capital distribution. We have made every effort to ensure that the minimum deposit is $50 USD. This advisor is intended for trading with the broker Deriv. The EA has been optimized over the past year, starting fro
R Factor EA MT5
Raphael Minato
5 (5)
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
Prop Masters EA
Michael Prescott Burney
4.27 (11)
UPDATED AS OF 3.19.2024 WITH NEW QUALITY CONTROL UPDATE FOR PERFORMANCE VALIDATION! PROP MASTERS EA PRICE IS SLASHED TO 120.00 FOR THE NEXT 5 COPIES ONLY BEFORE IT RETURNS TO ORIGINAL PRICE OF 480.00!!!  Prop Masters EA for GBPUSD H1 Chart: The Epitome of Precision and Performance Embark on a revolutionary trading journey with Prop Masters EA, meticulously engineered for the GBPUSD H1 chart. Dive into the financial currents with a formidable win rate of 96% and a prudent risk management syste
Daytrade Pro Algo MT5
Profalgo Limited
4.5 (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;EUR
Santa Scalping MT5
Morten Kruse
4.5 (2)
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
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,
Market Profile MetaTrader System  — is a classic Market Profile implementation that can show the price density over time, outlining the most important price levels, value area, and control value of a given trading session. This indicator can be attached to timeframes between M1 and D1 and will show the Market Profile for daily, weekly, monthly, or even intraday sessions. Lower timeframes offer higher precision. Higher timeframes are recommended for better visibility. It is also possible to use a
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
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
Algo Edge
Niklas Templin
Algo Edge EA  -DE40/ Tec100 Self learning EA just set the EA on the Chart and Start no Settings optimization.  AUD/USD, EUR/USD, DE40, US30, Tec100 and much more.  Multifunctional Expert Advisor can trade with every Forex Pair or Indize. EA can Trade with every Broker. M1 high, M30 medium, H1 low Risk. Functions: For other Indize example US30: Change the Robot Worktime in Europe to 16:30-21:30 -inp1_ =Robot Worktime inp_2 and inp_4 VolumePercent = The Robot will increase the Lot per 1000$ to
The best time to trade Using this Indicator is when the time reach exactly hour,half,45 minutes,15 minutes and sometimes 5 minutes.. This indicators is helpful to those who trade boom and crash indecies.How to read this indicator first you'll see Blue allow and Red allow all these allows used to indicate or to detect the spike which will happen so the allow happens soon before the spike happen.This indicator works properly only in boom and crash trading thing which you have to consider when
NebularManMT5
Viktor Shpakovskiy
用於手動交易的 EA,能夠在一批中添加新訂單並取平均值。 您可以通過更改手數、訂單之間的步長以及限制未平倉頭寸數量和總手數來管理風險。 有移動止損、虛擬止損和虛擬止盈,可以在圖表上自由移動。 借助內置的交易模擬器,您可以檢查 EA 在策略測試器中的工作方式。 在 MT5 策略測試器中,根據時間表手動移動虛擬 SL 和 TP 線不起作用! 好處 初始手數由交易員或其他顧問開立; EA 將新訂單添加到平均 1 手的未平倉頭寸; 增加的手數是固定的,不取決於未平倉頭寸的大小; 風險管理(按手數、訂單數量和訂單之間的步驟); 以存款貨幣獲利; 虛擬止損和虛擬止盈; 按點追踪止損; 開始追踪止損的小利潤; 圖表上的“熱鍵”用於快速打開和關閉訂單; 適用於報價為小數點後 4 位和 5 位的賬戶; 5位數賬戶,參數自動加10; 用於處理加密貨幣、指數、期貨、差價合約的特殊參數乘數。 參數 Block 1. GENERAL SETTINGS Magic number (-1 for all) Fixed profit Profit in the deposit currency Virtual Tak
Ignition
Dansie Software Limited
Strategy Overview The Ignition EA tries to take advantage of sudden momentum when the Ignition pattern is detected. The final bar in the ignition pattern has a small opening wick, a very little or no closing wick, is large in comparison to recent bars and must start from the lower end of the current range (for a bullish ignition) Quick Testing Use Symbol EURUSD, Timeframe M2, and remove the GBPUSD symbol from the "Symbols" input (stratergy 1 and stratergy 2) Settings The below settings
Ziwox Fundamental Trader Ziwox Fundamental Trader 是一个交易助手,可帮助金融市场交易者根据 EA 信息数据做出明智的决策。 该 EA 使用在线资源来捕获必要的信息,例如货币的基本面偏差、货币对的零售交易者情绪比率、银行和机构预测、COT 报告数据以及复杂 EA 面板中的其他数据。 简而言之,它是一个集成的外汇数据源和信息,可帮助手动交易者做出更好的决策。 除了这个助手,它也是一个全自动交易系统,它使用基本面和技术数据自动进行交易对。 [   User guide & installation   |  EA components  |   Set file |    Join EA channel (Link in bio)  |  Live signal  |  All product  ] 组件和工具: 您进行交易所需的所有必要信息都在这里收集为一组集成到数据面板中的外汇数据流组件。 每个组件单独充当交易辅助指标或解释性市场报告,以帮助交易者做出决策。 这些组件提供了一个前景,但所有组件的协同作用形
该产品的买家也购买
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
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示:单击此处 如果您想与交易面板进行交易,您可能对此产品感兴趣 该产品是加密图表的插件 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上
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
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.
Native Websocket
Racheal Samson
5 (2)
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
OpenAI Library MT5
VitalDefender Inc.
该库旨在提供一种尽可能简单的方法,直接在MetaTrader上使用OpenAI的API。 要深入了解库的潜力,请阅读以下文章: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual 重要提示:要使用EA,需要添加以下URL以允许访问OpenAI API  如附图所示 要使用该库,需要包含以下Header,您可以在以下链接找到:  https://www.mql5.com/en/blogs/post/756108 #import "StormWaveOpenAI.ex5" COpenAI *iOpenAI(string); CMessages *iMessages(void); CTools *iTools(void); #import 这就是您需要的所有信息,以便轻松使用该库。 以下是如何轻松使用该库并与OpenAI的API交互的示例 #include <StormWaveOpenAI.mqh>       //--- 包含用于A
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. 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 population algorithms.  High-speed calculation in HMA guarantees unsurpassed accuracy and high search capabilities,
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. 
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
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 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
This library implements a few functions to simplify the programming of Expert Advisors. * Build your own EA for MT5 / Binance, with a easy support for multisymbol / multytimeframe * Different SFE EAs based on the library provided. * Base signals of SFE EAs are inlcuded in base version. All the Pro filters and management are included in the base version all the 2022. * Customize the provided SFE Lib EA by changing or implementing its rules.. * Review the existing or ask for video tutorials to
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
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
作者的更多信息
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