Turnstile Order Gateway

  • 程序库
  • Syarief Azman Bin Rosli
    Syarief Azman Bin Rosli
    您好,欢迎访问我的官方 MQL5 个人主页!
    我是 Syarief Azman Bin Rosli,一名专注于 MetaTrader 5 和 MetaTrader 4 的量化交易软件工程师与算法系统开发者,拥有十余年的自动化交易系统架构设计经验。
    我的开发理念基于严谨的数学风险模型、动态波动率自适应与长期资金安全保护。我的交易系统不依赖僵化过拟合的历史参数,而是通过实时市场波动率基准(例如平均真实日波幅 ADR 自适应算法)与多周期技术指标共振,在趋势与震荡行情中稳健运行。
    核心专业领域:
    • MQL5 与 MQL4 自动化智能交易系统(EA)架构设计
  • 版本: 1.0
  • 激活: 5

位于您的智能交易系统 (EA) 与 OrderSend 之间的 MQL5 函数库。每个请求在发送前都要通过 9 道闸门(连接、Algo Trading、品种模式、交易时段、订单类型标志、手数、止损止盈、保证金、OrderCheck)。因冻结水平、休市或断线而被阻止的平仓和修改会进入队列,稍后再发送。函数库本身从不自行交易。您获得的是编译后的 Turnstile_Order_Gateway.ex5;本页即完整的 API 参考。

快速开始

  1. 将 Turnstile_Order_Gateway.ex5 复制到 MQL5/Libraries(文件 > 打开数据文件夹)。
  2. 把下面的 #import 代码块粘贴到您的 EA 或脚本中。
  3. 可选:在 OnInit 中调用 TOG_Configure(默认 20, 3, 300, true, false)。
  4. 在 OnTick 或 OnTimer 中调用 TOG_ProcessQueue。
  5. 用 TOG_Open、TOG_Modify、TOG_Close 交易。返回 0 或 false 时,打印 TOG_ReasonText(TOG_LastReason())。
  6. 验证:在策略测试器中运行下方示例,日志会显示订单号和原因。实盘时请开启 Algo Trading,否则检查返回 -3。

导入声明(可直接复制)

#import "Turnstile_Order_Gateway.ex5"
   void   TOG_Configure(int deviation, int retries, int delay_ms, bool adjust_stops, bool verbose);
   double TOG_NormalizeVolume(string symbol, double volume);
   double TOG_NormalizePrice(string symbol, double price);
   double TOG_RiskVolume(string symbol, ENUM_ORDER_TYPE type, double entry, double sl, double risk_money);
   double TOG_MaxVolume(string symbol, ENUM_ORDER_TYPE type, double share);
   ENUM_ORDER_TYPE_FILLING TOG_FillingMode(string symbol);
   int    TOG_CheckMarket(string symbol, ENUM_ORDER_TYPE type);
   int    TOG_CheckStops(string symbol, ENUM_ORDER_TYPE type, double price, double sl, double tp);
   int    TOG_CheckFreeze(ulong ticket);
   int    TOG_Preflight(string symbol, ENUM_ORDER_TYPE type, double volume, double price, double sl, double tp);
   ulong  TOG_Open(string symbol, ENUM_ORDER_TYPE type, double volume, double price, double sl, double tp, ulong magic, string comment);
   bool   TOG_Modify(ulong ticket, double price, double sl, double tp);
   bool   TOG_Close(ulong ticket, double volume);
   int    TOG_CloseAll(string symbol, long magic, bool pending);
   int    TOG_ProcessQueue();
   int    TOG_QueueCount();
   void   TOG_ClearQueue();
   int    TOG_LastReason();
   uint   TOG_LastRetcode();
   string TOG_ReasonText(int reason);
   int    TOG_RetcodeClass(uint retcode);
   int    TOG_GetStats(long &stats[]);
#import 

原因代码

TOG_LastReason 返回代码,TOG_ReasonText 返回大写文本。

  • 0 OK;1 NO CHANGE(数值相同,未发送);2 DEFERRED(已排队)。
  • -1 BAD PARAMETERS:未知品种或类型、挂单价格为 0、手数为 0。
  • -2 NO CONNECTION:断线或无报价。
  • -3 TRADING DISABLED:Algo Trading 或账户交易被关闭。
  • -4 SYMBOL MODE:品种禁用、仅平仓、仅做多或仅做空。
  • -5 MARKET CLOSED:不在交易时段内。
  • -6 INVALID VOLUME:超出最小/最大值、不符合步长或超过手数上限。
  • -7 INVALID STOPS:SL、TP 或挂单价格方向错误或处于止损水平之内。
  • -8 FREEZE ZONE:价格处于冻结水平之内。
  • -9 NO MARGIN:市价单保证金超过可用保证金。
  • -10 ORDER TYPE BLOCKED:订单类型或 SL/TP 不被允许,或已达挂单数量上限。
  • -11 ORDERCHECK FAILED 与 -12 SERVER REJECTED:见 TOG_LastRetcode。
  • -13 TICKET NOT FOUND;-14 QUEUE FULL(已有 256 个等待)。

API 参考

type:ORDER_TYPE_BUY、ORDER_TYPE_SELL、ORDER_TYPE_BUY_LIMIT、ORDER_TYPE_SELL_LIMIT、ORDER_TYPE_BUY_STOP 或 ORDER_TYPE_SELL_STOP(stop-limit 返回 -1)。价格为绝对价格;sl 或 tp 为 0 表示不设置。

TOG_Configure

deviation:滑点点数,0 或以上(无效值:20)。retries:0-10(无效值:3)。delay_ms:重试间隔 0-5000 毫秒(无效值:300)。adjust_stops:true 时,方向正确但处于止损水平之内的 SL/TP 会被移到最近的合法价格再加一个跳动点(若服务器仍拒绝,再加点差);false 时返回 -7。verbose:以前缀 [TOG] 记录阻止、重试和延迟操作。

TOG_NormalizeVolume

按手数步长向下取整并限制在最大值内。低于最小值、手数为 0 或品种未知时返回 0.0。

TOG_NormalizePrice

按跳动单位和小数位取整。价格为 0 时返回 0.0,因此空的 SL 保持为 0。

TOG_RiskVolume

在 sl 处亏损 risk_money(账户货币)的手数,用 OrderCalcProfit 计算(适用于交叉盘、贵金属、指数、股票),向下取整。entry 为 0 时,买入类型用 Ask,卖出类型用 Bid。最小手数风险已超出时返回 0.0 并设 -6,sl 方向错误为 -7,输入无效为 -1。

double lots = TOG_RiskVolume(_Symbol, ORDER_TYPE_BUY, 0, sl, AccountInfoDouble(ACCOUNT_BALANCE) * 0.01); 

TOG_MaxVolume

保证金不超过 可用保证金 x share(0-1,否则按 1)的最大有效手数,同时不超过最大手数和剩余手数上限。连最小手数都放不下时返回 0.0 并设 -9。

TOG_FillingMode

市价成交方式:允许时用 FOK,否则 IOC,否则 RETURN。若服务器拒绝,TOG_Open 会自动切换。

TOG_CheckMarket

开仓的第 1-4 道闸门:连接与报价、Algo Trading、该方向的品种模式、交易时段(服务器时间对照时段表;无时段表视为开市)。返回 0 或 -1 至 -5。

TOG_CheckStops

市价单:sl 和 tp 位于 Bid(买入)或 Ask(卖出)的正确一侧,且距离不小于 SYMBOL_TRADE_STOPS_LEVEL。挂单:挂单价格与市场的关系同理,sl 和 tp 以挂单价格计算。返回 0、-7、-1 或 -2。

TOG_CheckFreeze

当 Bid(买入)或 Ask(卖出)距持仓 SL 或 TP 在 SYMBOL_TRADE_FREEZE_LEVEL 之内,或市场同样接近挂单价格时返回 -8。冻结水平为 0 时返回 0,未知订单号返回 -13。

TOG_Preflight

按顺序执行全部 9 道闸门且不发送:市场闸门、订单类型标志与挂单上限、手数、止损止盈、保证金(市价单)、OrderCheck。返回第一个失败原因或 0。

if(TOG_Preflight(_Symbol, ORDER_TYPE_SELL, 0.10, 0, sl, tp) != 0) Print(TOG_ReasonText(TOG_LastReason())); 

TOG_Open

规范手数和价格,按设置调整止损止盈,执行 TOG_Preflight 后发送。市价单(price 为 0)遇到重新报价、价格变动、超时和连接错误时以新价格重试。挂单使用 GTC,不允许 GTC 时用 DAY。返回持仓号(市价)、订单号(挂单)或 0。开仓从不排队。

TOG_Modify

修改持仓的 SL/TP,或挂单的价格/SL/TP(price 为 0 保持原价)。数值相同:返回 true,原因 1。被冻结区、休市或断线阻止:返回 false,原因 2,并排队;同一订单号的新调用会替换旧的。

TOG_Close

平掉持仓或删除挂单。volume 为 0 或等于全部手数时全部平仓;更小则部分平仓(向下取整);剩余低于最小手数时全部平仓。阻止情况同上:false,原因 2,排队(替换排队中的修改)。

TOG_CloseAll

对符合 symbol("" = 全部)和 magic(-1 = 任意)的每个持仓(pending 为 true 时也包括挂单)调用 TOG_Close。返回本次已平数量。

TOG_ProcessQueue

阻止解除后发送队列中的操作;请在 OnTick 或 OnTimer 中调用。操作在成功、订单号消失或其他失败时离开队列;服务器拒绝后等待一秒。返回完成数量。

TOG_QueueCount 与 TOG_ClearQueue

等待中的操作数(最多 256);不发送而清空全部。

TOG_LastReason、TOG_LastRetcode 与 TOG_ReasonText

上一次调用的原因;服务器最后的返回码(未发送时为 0);原因代码的文本(否则为 "UNKNOWN")。

TOG_RetcodeClass

0 DONE(已下单、已成交、部分成交、无变化、持仓已平),1 RETRY(重新报价、拒绝、错误、超时、价格变动或无效、无报价、请求过多、锁定、连接),2 FIX(无效请求、手数、止损止盈、到期、成交方式、订单),3 WAIT(休市、冻结),4 FATAL(其他,如资金不足)。

TOG_GetStats

向 stats[] 填入 10 个计数器并返回 10:0 请求,1 已发送,2 已完成,3 已阻止,4 重试,5 已延迟,6 队列完成,7 被拒绝,8 已调整止损,9 已丢弃。

完整集成示例

#import "Turnstile_Order_Gateway.ex5"
   double TOG_RiskVolume(string symbol, ENUM_ORDER_TYPE type, double entry, double sl, double risk_money);
   ulong  TOG_Open(string symbol, ENUM_ORDER_TYPE type, double volume, double price, double sl, double tp, ulong magic, string comment);
   bool   TOG_Close(ulong ticket, double volume);
   int    TOG_ProcessQueue();
   int    TOG_LastReason();
   string TOG_ReasonText(int reason);
#import

ulong ticket = 0;
bool  tried  = false;

void OnTick()
{
   TOG_ProcessQueue();
   if(!tried)
   {
      tried = true;
      double sl   = SymbolInfoDouble(_Symbol, SYMBOL_BID) - 300 * _Point;
      double lots = TOG_RiskVolume(_Symbol, ORDER_TYPE_BUY, 0, sl, 10.0);
      ticket = TOG_Open(_Symbol, ORDER_TYPE_BUY, lots, 0, sl, 0, 7001, "turnstile");
      Print("open ", ticket, ": ", TOG_ReasonText(TOG_LastReason()));
   }
   if(ticket > 0 && PositionSelectByTicket(ticket) && PositionGetDouble(POSITION_PROFIT) > 5.0)
      Print("close: ", TOG_Close(ticket, 0), " ", TOG_ReasonText(TOG_LastReason()));
} 

架构与说明

  • 每个导入本库的程序都有各自的设置、统计和内存队列(移除 EA 或重启终端后丢失)。
  • 检查函数只读取终端数据;只有 TOG_Open、TOG_Modify、TOG_Close、TOG_CloseAll 和 TOG_ProcessQueue 会同步发送请求。
  • 推荐设置:验证安全 = 默认设置并在 OnTick 中调用 TOG_ProcessQueue;严格止损 = adjust_stops false;开发调试 = verbose true 并在面板显示 TOG_GetStats。
  • MetaTrader 5,净额与对冲账户,任意品种;仅限 EA 和脚本。可安全用于策略测试器、优化和 MQL5 Cloud Network(无 DLL、文件、网络请求;测试器中不暂停重试)。
  • 不创建图表对象、定时器、文件或全局变量;为获取报价可能把品种加入市场报价窗口。
  • 时段表中缺失的节假日会根据服务器回复识别为 -5。
  • 不支持:stop-limit 订单、close-by、OrderSendAsync。

风险提示

本库检查并发送您的代码提出的请求。它不决定入场,也不保证成交、价格或盈利。请先在模拟账户上测试。

推荐产品
Scan a fixed list of assets (Ibovespa) in the chosen timeframe (TimeFrame). For each pair and for various periods. Calculate a regression model between the two assets (and, if desired, using the bova11 index as a normalizer). Generate the spread of this relationship, its mean, standard deviation, speculative deviation, and betas (B1 and B2). Apply an ADF test without exclusion (cointegration/stationarity). Calculate the Z-score of the current exclusion (how many standard deviations are away from
FREE
GTC The Stocks Radar
Alberto Garcia Puras
ENGLISH Title: GTC The Stocks Radar GTC The Stocks Radar is built for two games: trading stocks against their index, and trading altcoins against Bitcoin. It ranks the 12 leading components of a market by their real strength relative to the benchmark — the Nasdaq-100, S&P 500, Dow, DAX, IBEX, Nikkei… or Bitcoin for the crypto universe. In one clean oscillator you see who is leading the move and who is lagging, so you can side with strength and fade weakness instead of guessing. Rotation,
本 EA 专为震荡 / 横盘行情设计。 在设定区间内自动补单交易 EA 仅在 预先设定的价格区间内运行 。 当订单平仓、成交、取消后(单数量少了),EA 会自动补充新的订单,以维持交易策略的持续运行。 您以通过 Max Orders 来控制最大订单数量。 示例: 最大订单数(Max Orders):8 当前持仓订单:2 单 挂单 Buy Limit:6 单 在这种情况下,EA 不会继续下新单。 只有当订单 平仓、成交 、 取消 后,EA 才会 自动补单 ,持续捕捉 震荡行情 中的利润。 注意: Buy Limit 订单 只会挂在当前市场价格的下方 。 产品参数说明 Trade Symbol : 交易品种  XAUUSD、USDJPY、BTCUSD 等等... 区间设置 Zone Low :区间下边界 Zone High :区间上边界 说明: 例如,您将黄金的交易区间设定为: Zone Low :4420 Zone High :4455 EA 只会在该价格区间内挂单并自动交易。 当价格突破区间范围时,EA 将停止交易。 当价格回到区间内,EA 会自动恢复交易。 订单设置
Key Features: 200+ Fully Implemented Patterns   across all categories Advanced Market Structure Analysis Smart Money Integration   (Wyckoff, Order Blocks, Liquidity) Professional Risk Management Multi-Timeframe Analysis AI-Powered Confidence Scoring Advanced Visualization Real-time Alerts Pattern Categories: Single Candle Patterns (Hammer, Doji, Marubozu, etc.) Multi-Candle Patterns (Engulfing, Stars, Harami, etc.) Chart Patterns (Head & Shoulders, Cup & Handle, Triangles, etc.) Harmonic Pattern
FREE
本 EA 专为震荡 / 横盘行情设计。 在设定区间内自动补单交易 EA 仅在 预先设定的价格区间内运行 。 当订单平仓、成交、取消后(单数量少了),EA 会自动补充新的订单,以维持交易策略的持续运行。 您可以通过 Max Orders 来控制最大订单数量。 示例: 最大订单数(Max Orders):8 当前持仓订单:2 单 挂单 Sell Limit:6 单 在这种情况下,EA 不会继续下新单。 只有当订单 平仓、成交 、 取消 后,EA 才会 自动补单 ,持续捕捉 震荡行情 中的利润。 注意: Sell Limit   订单 只会挂在当前市场价格的上方 。 产品参数说明 Trade Symbol : 交易品种  XAUUSD、USDJPY、BTCUSD 等等... 区间设置 Zone Low :区间下边界 Zone High :区间上边界 说明: 例如,您将BTCUSD的交易区间设定为: Zone Low : 92000 Zone High : 94500 EA 只会在该价格区间内挂单并自动交易。 当价格突破区间范围时,EA 将停止交易。 当价格回到区间内,EA 会自动恢复
Edkt
Pitiphum Noikhieo
ตัวชี้วัดการกลับตัวของราคาแบบมืออาชีพสำหรับ MetaTrader 5 PA Reversal Sniper เป็นตัวชี้วัดแบบกำหนดเองสำหรับ MT5 ที่ออกแบบมาโดยเฉพาะสำหรับ XAUUSD ในกรอบเวลา M5 โดยเน้นที่การเคลื่อนไหวของราคา โครงสร้างการกลับตัว การกวาดสภาพคล่อง การแตกหักของโครงสร้างตลาด สภาวะโมเมนตัม และการยืนยันความผันผวน ตัวชี้วัดนี้ให้สัญญาณซื้อและขายที่ชัดเจน พร้อมด้วยจุดเข้าซื้อ จุดหยุดขาดทุน และจุดทำกำไรหลายระดับ คุณสมบัติหลัก XAUUSD M5 ปรับแต่งแล้ว การตรวจจับการกลับตัวของราคา การตรวจจับแท่งเทียน Pin Bar ขาขึ้นและขาลง การตร
1.7*24小时全时在线,安全,可靠,低延时ping; 2.按券商要求智能跟单,详见英文简介   3.本系统仅提供跟单软件服务,不提供交易策略,不代单操作; 4.不限交易手数,客户自行设置A仓手机app端即可,不额外收费 5.客户可按月,季,年付费方式,不同方式,不同优惠,先付费后使用; 6.因券商MT5服务器异常,导致断网后跟单异常,客户需自行风控处理,本系统不提供风控处理 7.券商下单规则改变,会自动更新最新跟单系统 8.详细购买流程,请咨询  wehcat  :zfflyer; 9.再次强调,本系统,仅保障以技术层面实现跟单功能,不参与客户的下单,交易策略,以及风控措施。 10.本系统已稳定运行9个月,经历各种复杂行情考验,稳定,可靠
GP Confluence Scanner MT5 Advanced Multi-Timeframe Market Structure & Confluence Analysis Don't get stopped out easily again! GP Confluence Scanner MT5 is an advanced technical analysis indicator designed to reveal important market levels, hidden support and resistance, and multiple technical confluences before entering a setup. Rather than relying on a single indicator, GP Confluence Scanner examines multiple technical factors to identify areas where significant market reactions may occur. Key
SURMAchannelPRO
Roman Surmanidze
SURMAchannelPRO 是一款高级多用途指标,可生成动态价格通道和清晰的趋势跟踪信号。它以平滑的赫尔移动平均线(HMA)为核心,围绕其构建多条通道线(内轨、中间轨、外轨),这些线充当动态支撑和阻力。该指标在通道突破/重新入场时提供直观的买入/卖出箭头信号,并根据用户定义的通道宽度百分比自动绘制水平止盈(TP)和止损(SL)线。其关键特点是集成的统计面板,可跟踪设定历史周期内所有过去信号的表现(总数、T/P、S/L、利润、亏损)。它还包含一个实时显示下一根K线倒计时的计时器。 主要特点: 动态多线通道:   生成主要上下轨以及基于斐波那契的中间轨线,用于精确分析市场结构。 自动信号与回测:   根据价格与通道的交互绘制买入(绿色)和卖出(粉色)箭头。完整记录所有历史信号的表现。 自动止盈止损投影:   为每个交易信号绘制水平止盈和止损线,距离根据当前通道宽度的百分比计算。 表现统计面板:   直接在图表上显示所有过去信号的详细摘要(总数、T/P命中、S/L命中、以点数为单位的利润/亏损)。 完全可定制:   可调整通道周期、各时间框架下的宽度、线型、颜色和信号逻辑参数。 集成计时
Snipersmc
Emmanuel Chinedu Ifechukwu
SNIPERSMC MT5 INDICATOR Complete User Guide 1. What SniperSmc Is SniperSmc is a MetaTrader 5 chart indicator designed to identify potential Buy and Sell opportunities using Smart Money Concepts, market structure, price gaps, liquidity behavior, volume information and higher-timeframe direction. It does not automatically open trades. When a valid setup is found, the indicator can show a Buy arrow, a Sell arrow, the suggested entry price, the type of order that should be used, important market
Dual Scale Candles
Mohamed Amr Mohamed Osama Abdelwahab
Dual Scale Candles 将第二个品种的真实K线直接叠加到当前图表上,并在左轴显示其独立的价格刻度。 您可以在一张图表上比较黄金与货币、原油与指数,或任意两个品种 - 各自保持真实价格。两条序列在您选择的位置对齐:图表上当日第一根K线、当周第一根K线或最早显示的K线 - 在锚点K线处,两条序列交汇于同一水平,并以一条垂直虚线标记。从该点起,各品种按自身价格运行,相对表现一目了然。 功能特点: - 在图表品种上叠加任意第二个品种的真实K线 - 第二品种在左轴拥有独立价格刻度 - 对齐锚点:当日起点、当周起点、最早K线或区间适配 - 锚点K线处有垂直虚线标记 - 可调节叠加高度、K线数量及蜡烛/影线颜色 - 实时刷新当前K线 使用方法:将指标附加到任意图表(即为第一个品种),然后在参数中输入第二个品种,名称须与您交易商在市场报价中显示的完全一致(例如 EURUSD 或 EURUSD.pro)。 https://www.mql5.com/en/users/amrosama77/seller
FREE
```text IndexRaider Library 将 IndexRaider 核心引擎以可调用函数的形式提供:包括流动性扫单(SFP)检测、H4 趋势方向判断、Fair Value Gap 确认,以及整个 IndexRaider 产品系列所使用的基于风险的仓位计算功能。 您可以基于相同的规则构建自己的 Expert Advisor、指标或交易面板——Library 负责分析,您的程序负责做出交易决策。 它提供的函数 - IXR_Drive(symbol) — 基于 H1 数据推进每个交易品种的状态机;可在每个 tick 或定时器中调用。每根完整收盘的 H1 K 线只执行一次,并返回当前阶段:   0 = 空闲   1 = 已检测到流动性扫单 / 等待确认   2 = 交易 setup 已激活 - IXR_Setup(symbol, direction, entry, sl, tp) — 当阶段为 2 时返回已激活 setup 的价格水平:   入场位于 gap 边缘,   止损位于 sweep 影线之外,   目标位于被扫荡区间的另一端 - IXR_Bias(symb
CyberTradeTHxAI Gold Sniper MT5 Professional Gold Trading Signal Indicator for MetaTrader 5 CyberTradeTHxAI Gold Sniper MT5 is a professional-grade Gold (XAUUSD) trading indicator developed to identify high-probability Buy and Sell opportunities using trend analysis, pullback confirmation, and intelligent market structure detection. Designed for both beginner and advanced traders, the indicator automatically calculates optimal Entry Zones, Stop Loss, and multiple Take Profit levels while provid
Volume Arrow Signal Product Description Volume Arrow Signal is a smart trading indicator designed to help traders identify potential buy and sell opportunities using price action, volume behavior, and directional arrow signals. The indicator places clear arrows directly on the chart, making it easy to spot possible market reversals, trend continuations, and entry opportunities without spending hours analyzing charts manually. Whether you are trading Gold (XAUUSD) , Forex pairs, Indices, or Crypt
HAWK 4.0 — 黄金信号指标 最精准的交易信号指标 专为 XAUUSD(黄金)交易而设计。 基于 ATR 波段 + 枢轴点检测。 信号仅出现在真实反转点位。 不重绘。无延迟。无噪音。 您将获得 → 清晰的 BUY / SELL 箭头 → 自动 TP1 / TP2 / TP3 水平 → 自动 SL 止损水平 → 内置时间过滤器(UTC) → 实时成功率统计 → 完整的警报系统 专为以下设计 交易品种: XAUUSD(黄金) 时间周期: M3 / M5 交易时段: 伦敦 + 纽约 交易表现 成功率:       81% 不重绘:        运行时间:     2024年至今 订阅方案 1 个月  ——  $3000 3 个月  ——  $6000 6 个月  ——  $9000 包含更新 + 技术支持 + 设置文件。
Ajuste MINDOL
Claudio Rodrigues Alexandre
5 (1)
Este script marca no gráfico do ativo MINDOL da activ trades o ponto de ajuste do contrato futuro do Mini Dolar (WDO), ***ATENÇÃO***  para este script funcionar é necessário autorizar a URL da BMF Bovespa no Meta Trader. passo a passo: MetaTrader 5 -> Ferramentas -> Opções -> Expert Adivisors * Marque a opção "Relacione no quadro abaixo as URL que deseja permitir a função WebRequest" e no quadro abaixo adicione a URL: https://www2.bmf.com.br/ este indicador usa a seguinte página para buscar o a
FREE
TradeLogic Pro – 用于检测价格不平衡的高级 MT5 EA TradeLogic Pro 是一款高级 MetaTrader 5 专家顾问 (EA),旨在利用外汇交易市场中价格不平衡的力量。无论您是初学者还是专业交易员,TradeLogic Pro 都会使用复杂的市场分析来识别高潜力切入点,让您更聪明、更高效地进行交易。 TradeLogic Pro 如何工作? TradeLogic Pro 的核心是它能够通过分析预定价格条上的平均真实范围 (ATR) 来检测价格不平衡。当检测到不平衡并满足价格参数时,EA 会以预定的获利水平开仓。 为什么选择 TradeLogic Pro? 潜在市场回报:通过分析价格结构和市场行为,TradeLogic Pro 可以确定最佳切入点,从而降低风险并增加获利潜力。 适合所有交易者:无论您是刚入门的新手还是经验丰富的专业人士,TradeLogic Pro 都能提供可靠、直接的交易工具,以适应您的经验水平。 无风险策略:与其他交易系统不同,TradeLogic Pro 避免网格或马丁格尔交易等风险做法。它旨在最大限度地减少亏损并保
GoldOil
Babak Alamdar
LAUNCH PROMO: ONLY A FEW COPIES LEFT! OPEN BLACK BOX: ONE EA, MANY STRATEGIES — CREATE NEW SETS, CONTRIBUTE YOUR IDEAS, AND POTENTIALLY TURN THEM INTO COMMERCIAL EAs UNDER AGREEMENT. Gold Is The Target. Oil Is The Driver. GoldOil Watches What Drives Gold. VERY LIMITED COPIES AT CURRENT PRICE Final Price: $2499 Exclusive:   After purchase, send me a direct message to receive VIP set files, setup instructions, and access to the private GoldOil Telegram group. PROP FIRM READY! Buy not just a back
Komo MT5
John Folly Akwetey
Expert advisor places buy stop and sell stop at certain distance above and below current price. Also expert advisor uses standard trailing stop, breakeven of orders. Below is description of some inputs. Trade   – option of moment for placing of orders (“Time” – placing of orders at certain time, “Candle” – placing of orders since certain candles count after last order closing or deleting) Candle   – candles count after last order closing or deleting Time 1,2,3   – time for placing of orders Lot
This indicator can automatically scan the RSI values of all varieties on the mt5 and set an alarm. Note that it is fully automatic scanning, you do not need to enter which varieties, do not need to open the variety chart, as long as there are some varieties in the market quotation column, will be automatically scanned to reach the set rsi alarm value, will pop up the alarm, and cycle with the market changes to scan the latest RSI values of all varieties, and alarm. This is very helpful to fr
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.
This is a well-known ZigZag indicator. But it differs by the fact that its plot is based on values of the middle line which is set by a user. It can display Andrews’ Pitchfork and standard or Bobokus Fibo levels. NO REPAINTING. Parameters Period МА — middle line period. Default value is 34. Minimum value is 4. Maximum value is set at your discretion. Used to calculate price — type of price used for the midline calculations. The averaging method — type of smoothing for the middle line. Turning p
TradeShield Position Manager Library
AL MOOSAWI ABDULLAH JAFFER BAQER
Try it before you decide: attach the free demo EA in the Strategy Tester with visual mode on, open a few manual trades and watch the gold TradeShield panel read every basket figure the library returns, tick by tick. One compiled library that looks after the trades your Expert Advisor has already opened - so your own code can focus on when to enter, not on the dozens of small rules that decide whether a stop change or a close is accepted by the server. Why it is called TradeShield Opening a posit
Spartan EVO MT5
Joseph Saeidian
Spartan — EVO MAX Edition : T rend, Reversals and Exhaustions Indicator Spartan EVO  is an evolution from Spartan Indicator MT4 . It is a multi-timeframe RSI confluence indicator that fires clear buy and sell arrows only when lower and higher timeframes agree—built around M5 + M15 and H1 confirmation—so you catch directional turns with less noise. It layers ATR, ADX, and ranging/chop filters to skip dead markets, offers optional early H1 crossover “pre-fire” signals for high-selectivity entry sy
ModernUI Library
Levi Dane Benjamin
适用于 MetaTrader 5 的 ModernUI 库 ModernUI 是一个用于 MetaTrader 5 的图表内用户界面库。它可以帮助 MQL5 开发者在 MT5 图表环境中构建更清晰的 EA 面板、仪表盘、设置窗口、表单、表格、对话框、抽屉式面板以及紧凑型交易风格界面。 它适合希望获得比零散图表对象更专业的界面层,同时仍然完全掌控自己 EA、指标或工具逻辑的开发者。 Modern UI - 用户指南   | EA 示例演示 你可以构建什么 ModernUI 并不局限于某一种面板类型。它为你提供了一个可复用的界面层,几乎可以用于任何你想在 MetaTrader 5 图表中构建的工具。 你可以用它创建简单的设置界面、紧凑型交易面板、完整仪表盘、数据视图、控制面板、账户工具、流程界面、监控界面、实用工具窗口、商业 EA 前端界面等等。 随附的演示展示了几个实用示例,但它们只是起点。如果你的 MQL5 项目需要按钮、输入框、表格、对话框、标签页、抽屉面板、图表、状态区域,或需要一种更清晰的方式在图表上展示信息,ModernUI 都可以为你提供构建模块。 主要功能 适用于 Me
The indicator is designed to work on any trading platform. The program is based on proprietary algorithms and W.D.Ganna's mathematics, allowing you to calculate target levels of price movement based on three points with the highest degree of certainty. It is a great tool for stock trading. The indicator has three buttons: NEW - call up a triangle for calculation. DEL - delete the selected triangle. DELS - completely remove all constructions. The probability of achieving the goals is more than 80
WSFX Pine Patch
Yasir Mohammed Sachit Sachit
WSFX Trading 是适用于 MetaTrader 5 的一体化图表分析指标。它识别价格波浪,为每个信号打出 0–100 的质量分,绘制供需区块(Blocks)、通道和 T3 平滑线,并在图表上直接显示多周期仪表盘。对于每个被接受的信号,还会画出现成的交易计划:入场、止损和目标位。 信号 仅基于已收盘K线 计算,因此信号不会重绘,也不会在K线收盘后消失。 工作原理 1. 智能波浪(评分信号) 指标将价格波动与 ATR(波动率)比较。只有当波动幅度超过所选 检测模式 设定的阈值时才会确认:Light、Scalp、Swing、Invest 或 Long。每个候选信号获得 0–100 的质量分,构成如下: 5 个周期的趋势一致性——最多 35 分 结构:极值位于有效的支撑/阻力区块内——20 分 动量(RSI)——20 分 成交量相对 20 根K线均值——15 分 波浪幅度——10 分 只显示分数不低于 最低信号质量 的信号,并分级为 A (80+)、 B (65+)或 C 。 CALL = 做多想法, PUT = 做空想法。 2. 区块(Blocks) 支撑和阻力区域由枢轴高低点构建
Zero Latency Divergence Sniper
Brighton Mufaro Mudzingwa
Zero-Latency Divergence Sniper: 100% Non-Repainting Sell Engine Bears make money fast, but catching the exact peak of a market squeeze is notoriously dangerous. Most retail traders try to time reversals using standard divergence indicators, only to watch the market rip right through their stop losses. Why? Because traditional divergence indicators are lagging traps. They require 2 to 3 "future" candles to confirm a swing high before printing an arrow. By the time you get the signal, the move is
Footprint 是一款用于分析订单流 (Order Flow) 和成交量的指标。 它有助于在聚类层面识别市场结构,寻找活动增加的关键区域,并直接在图表上使用过滤器,无需不断打开设置窗口。 Footprint 指标功能 Bid x Ask, Delta 聚类图表; 图表上的控制面板; 用于调整过滤器的滑块; Absorption; Initiative; Stacked Imbalances; Big Trades; dPOC / Dynamic Point of Control; Delta; 侧边市场轮廓 (Market Profile); 累计 Delta (Cumulative Delta)。 核心优势 在密集的 Tick 流上快速计算和渲染数据; 图表内管理 — 主要模式和过滤器可直接在图表上切换,无需打开设置; 通过过滤突出显示重要的价格水平和聚类; 视觉信号高亮:吸收、主动性、失衡和大单交易; 按日、周或当前可见范围显示的侧边轮廓; 包含总成交量、Delta 和累计 Delta 的面板。 Footprint 帮助您确定: 重要成交量集中的位置; 主动性压力出现的位置;
该产品的买家也购买
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
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
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
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
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
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
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>       //--- 包含用于AP
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
近段时间买家运行良好,但同时也有朋友担心: 1、EA测试回测数据的真实性; 2、回测效果好不代表实测效果好,而免费演示版的可测试时间太短,无法判断EA的实用性。 针对以上问题,现推出一个完美的解决方案,直接给到限定时间的测试版本,需要的可以私信留言,或者聊天窗口找我,看到后会发送测试版本过来。 此外,为了方便部分已购买源代码的客户熟悉了解代码,进一步优化和提升空间,并且让更多的有意向的客户了解这个EA的编辑逻辑,特将代码拆解,不定期的讲解基本思路,跟着走即便是小白也可以快速上手,以便后续购买源代码后快速上手优化! 知乎专栏: Day01:初始MQL5量化系统 - quanter的文章 - 知乎 https://zhuanlan.zhihu.com/p/1969031679428530490 Wordpress个人网站: https://quanter001.wordpress.com/ 如有任何问题,欢迎邮件沟通:quanter001@163.com ****************************************************************
该产品已经开发了 3 年,它是 MQL5 编程语言中最先进的人工智能和机器学习代码库。它已被用于创建多个基于 AI 的交易机器人和指标,适用于 MetaTrader 5。 这是一个高级版,基于免费开源的 MQL5 机器学习项目,链接如下:  https://github.com/MegaJoctan/MALE5 。免费版本功能较少,文档较少,维护不足,仅适用于小型 AI 模型。 该高级版包含您编写 AI 交易机器人的所有必需工具。 为什么要购买此库? 非常易于使用,代码语法友好,类似于 Python 的流行 AI 库,如 Scikit-learn、TensorFlow 和 Keras。 文档齐全,提供丰富的视频、示例和文档,帮助您快速上手。 计算优化,性能优越,运行方式类似普通 EA。  无需额外依赖,无需 DLL 文件,所有内容可编译为单一 .EX5 文件,便于测试和分发。 全天候技术支持,我将提供帮助,确保您正确使用,并在问题出现时协助修复。  谁适合使用此库? 具有基本机器学习和 AI 知识的用户。 机器学习爱好者,特别是来自 Python ML 社区的开发者。 MQL5 中级
Shawrie
Kevin Kipkoech
This Pine Script implements a Gaussian Channel + Stochastic RSI Strategy for TradingView . It calculates a Gaussian Weighted Moving Average (GWMA) and its standard deviation to form an upper and lower channel. A Stochastic RSI is also computed to determine momentum. A long position is entered when the price closes above the upper Gaussian band and the Stoch RSI K-line crosses above D-line . The position is exited when the price falls back below the upper band. The script includes commission, cap
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
快速关仓,无需任何操作。 当前版本的一键关仓主要针对的是来不及手动关仓的情况,目前是不分交易标的类别,是对所有的持仓进行关仓。 未来可能升级的方向: 1、分类别、分标的关仓。 适用场景:开了多个标的的仓位,并且波动不一,快速频繁的波动影响了整体的判断。 2、增加只关闭盈利仓位、只关闭亏损仓位。 适用场景:持仓较多,趋势发生变化。 个人建议:一般建议选择一键全部关仓,因为如果行情与持仓方向一致,只关闭盈利仓位无形就是扩大了亏损。如果行情方向与持仓方向相反,只关闭亏损仓位,当前已盈利的后面又会变为亏损,盈利无法变现。 3、按照仓位顺序由大到小关仓、按照仓位顺序由小到大关仓。 适用 场景:行情发生波动,对于未来行情判断把握不确定的,可根据自己需求选择仓位关仓顺序,由大到小关仓的话,可以避免亏损的进一步扩大。 4、减小仓位量,保持绝对的安全距离。 适用 场景:对未来趋势相对确定,不想错过当前行情,但是认为当前持仓体量又有点大,想降低仓位。
【黄金智能交易EA|风控稳守,盈利突围】 专为黄金波动特性定制的智能交易EA,以硬核交易系统为核心,每笔下单均源自量化模型对行情趋势、支撑压力的精准研判,杜绝主观干扰,让交易决策更客观高效。 搭载多维风控体系,动态止损止盈+仓位智能调控双保险,严格锁定单笔风险阈值,即便面对黄金跳空、黑天鹅行情,也能有效规避大幅回撤,守护本金安全。 更具备浮盈加仓智能算法,趋势明朗时自动放大盈利头寸,让利润在顺势中滚动增长,既不浪费单边行情红利,又通过阶梯式加仓策略平衡风险与收益,实现“风控打底,盈利上不封顶”的交易闭环! 本款EA历经38次修改与测试,每一次升级都境加了EA的稳定盈利能力,才最终确定此为终极版本发布。 本款EA目前只针对现货黄金 交易的长期回测和实盘验证,按照下图设置实现长期的稳定 盈利。如果需要交易期它品种,请根据实际情况更改设置。 本EA为阶梯定价,每卖出10份价格增加10%
SniperkickEA
Mohamed Maguini
Questo Expert Advisor (EA) è stato progettato per offrire un'esperienza di trading automatizzata di alto livello, adatta sia ai trader principianti che a quelli esperti. Utilizzando algoritmi avanzati e tecniche di analisi del mercato, l'EA è in grado di identificare opportunità di trading redditizie con precisione e velocità. L'EA è configurabile per operare su vari strumenti finanziari, tra cui forex, indici e materie prime, garantendo una flessibilità senza pari. Le caratteristiche princip
LSTM Library
Thalles Nascimento De Carvalho
LSTM Library - MetaTrader 5的高级神经网络 专业算法交易神经网络库 LSTM Library为您的MQL5交易策略带来递归神经网络的强大功能。这个专业级实现包括LSTM、BiLSTM和GRU网络,具有通常只在专业机器学习框架中才能找到的高级功能。 "交易机器学习成功的秘诀在于正确的数据处理。 垃圾进,垃圾出 –您的预测质量永远不会超过您的训练数据质量。" — 马科斯·洛佩兹·德·普拉多博士, 金融机器学习进展 主要特点 完整实现LSTM、BiLSTM和GRU 递归Dropout实现更好的泛化 多种优化算法(Adam, AdamW, RAdam) 高级归一化技术 全面的指标评估系统 训练进度可视化 支持通过类权重处理不平衡数据 技术规格 纯MQL5实现 - 无外部依赖 为交易应用程序优化 全面的错误处理和验证 完全支持保存/加载训练模型 详尽的文档 集成说明 要将LSTM Library集成到您的Expert Advisor中,请按照以下步骤操作: 1. 完整库导入 #import "LSTM_Library.ex5"    // 库信息    void Get
A complete PostgreSQL client implemented in pure MQL5 over native MetaTrader 5 TCP sockets. The library implements the PostgreSQL client with MD5 and SCRAM-SHA-256 authentication, SSL/TLS, the Simple Query Protocol, and explicit transactions. No DLLs, no external dependencies, no third-party services. Features Direct TCP connection to any PostgreSQL-compatible database MD5 and SCRAM-SHA-256 authentication, auto-detected SSL/TLS via PostgreSQL's SSLRequest flow Full transaction support Typed res
Auto trading so strong mt5 trading script so rich and running amazing auto trading trades with so high quality performance and results Look that is the best trading script that will help you to make good results like in screenshots i built that strategy depend on Envelopes indicator to make that script trading in that area excellent scalping trades and gain maximum good results per trade so i built that strategy manually then I make it auto trading  so to start use that script add to scripts aft
用于 MetaTrader 5 的 DhanHQ v2 API 桥接程序 将 MetaTrader 5 连接到您的 DhanHQ 交易账户,直接通过 MQL5 管理订单、 持仓、资金和投资组合。该库封装了官方 DhanHQ v2 REST API(支持 NSE、BSE、MCX), 让您能够在 Dhan 平台上构建自己的 EA(智能交易系统)、脚本和自动化策略。 功能特性 - 完整的订单生命周期管理:下单、修改、取消、拆单、查询订单簿、按 ID 查询订单、 按关联 ID 查询订单、查询成交记录及按订单查询成交明细。 - 订单辅助功能:市价单、限价单、止损单(Stop-Loss)和止损市价单(Stop-Loss-Market)。 - 超级订单(区间/Bracket 订单):下单、修改子单、取消子单、查询列表。 - 投资组合:持仓资产、持仓明细、转换持仓、平掉所有仓位。 - 资金管理:资金限额查询及保证金计算器。 - 交易控制:紧急停止(Kill Switch)功能。 - 身份验证:使用 access-token 标头(header)及 Dhan 客户 ID。 - 静态 IP 白名单(设
XAUUSD BREAKOUT EA — Stop Predicting the Market. Trade the Breakout. You do not need to sit in front of the chart all day waiting for gold to break support or resistance. This XAUUSD Breakout EA is designed to identify market consolidation, detect meaningful price expansion, and automatically execute trades when predefined breakout conditions are met. BACKTEST RESULTS — 99% QUALITY Initial Deposit: $1,000 Total Net Profit: +$21,115 Profit Factor: 2.37 Expected Payoff: $213 per trade Total Tr
Preppy
Ruben Ardenas Torres
MCR ADAUSD — Python local para MT5 mcr_adausd_python.py es un script independiente para Windows con el terminal MetaTrader 5 abierto y conectado . No usa credenciales ni conexiones MT5 en Replit. El modo predeterminado solo observa ; no llama a order_send . Reproduce la dirección R de 15 barras diarias cerradas y las presiones de volumen de ticks de M1/M5/M15/M30 del EA experimental de fases. No utiliza datos de volumen institucional. Advertencia: aún no hay backtest de ADAUSD ni ejecución demo
STOP GUESSING GOLD’S DIRECTION. LET THE GRID DO IT. BIDIRECTIONAL GRID EA | XAUUSD | MT5 Gold spikes up. Gold crashes down. Gold fakes you out both ways in the same hour. Most traders lose here because they have to pick a side. This EA doesn’t pick one. It trades both. Every new candle, it spreads a full ladder of Buy Stops above price and Sell Stops below price. Whichever way Gold moves, the grid is already waiting. When the total basket reaches the profit target, everything closes auto
RiskGuard Toolkit Library
AL MOOSAWI ABDULLAH JAFFER BAQER
RiskGuard Toolkit Library for MQL5 developers - version 1.01 Questions before buying? Message me privately and I will show you how the functions fit into your own EA. Need an example for your use case? Ask by private message - integration help is included. Send a screenshot of your order and receive one of my free products as a thank-you. Stop rewriting the same risk code in every Expert Advisor Every serious EA needs the same boring but critical pieces: a lot size that matches the risk you inte
Native Websocket
Racheal Samson
5 (6)
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
This library will allow you to send your trades using your MT5 EA bot and its very easy to integrate on any EA which you can do yourself with the script code which is mentioned in documentation. This product allows trading operations via API For MEXC chart : Renting   Crypto Charting  for OHLC data or   Crypto Ticks with Order Book Depth  is optional - Supports MEXC API calls - Place Limit, SL Limit and Take Profit Limit Orders - Place Market, SL-Market, TP-Market orders - Modify Limit order - C
MT5 to Delta Exchange API Bridge EA Connector allows your expert advisor with mq5 file to integrate and communicate with Delta Exchange using API Keys You can place order, check balance and other order managements using Delta Exchange API - Place Limit, SL Limit and Take Profit Limit Orders - Place Market, SL-Market, TP-Market orders - Cancel Order - Query Orders - Change Leverage, margin - Get Position info and many more, details available at demo script Script Documentation 
EX5 Signal Copier
Rajesh Kumar Nait
EX5 信号复制库 — 适用于 MT 的专业交易事件引擎 无需编写复杂的交易跟踪逻辑,即可将任何智能交易系统 (EA) 转换为强大的交易复制器、信号处理器或自动化引擎。 EX5 信号复制库是一个高性能的事件驱动系统,能够捕获 MetaTrader 5 中的所有交易活动,并将其转换为结构化信号,您可以利用这些信号构建: 交易复制器(MT5 → MT5 / MT5 → 外部) 风险管理引擎 分析仪表盘 自定义执行桥接(币安、API 等) 为什么选择此库? 实时交易检测 结构化信号队列 事件分类(开仓、平仓、修改、部分平仓) 内置复制引擎(可选) 通过自定义逻辑实现完全控制 主要特性 实时交易捕获 使用 OnTradeTransaction 即时检测每一笔交易 备份轮询系统确保不遗漏任何信号 完整的交易生命周期支持 捕获所有操作: 买入/卖出 限价/止损单 止损/止盈修改 部分平仓 持仓平仓 反向交易 成交量增加 信号队列系统 线程安全的内部队列 按顺序处理信号 即使在高负载下也不会遗漏任何事件 内置复制引擎
作者的更多信息
EA Budak Ubat
Syarief Azman Bin Rosli
4 (3)
免费试用 EA Budak Ubat 频道 限时特价! 每购买10次后价格将增加10美元! 工作原理 当 EA 激活时,它会根据执行模式参数分析图表。 如果图表上没有现有仓位,EA 将根据参数输入交易。如果趋势是看涨的,它将进入买入交易,如果是看跌的,它将进入卖出交易。如果止损变量大于0,则还会设置距离已打开交易价格一定距离的止损订单。0表示没有止损。 如果图表上存在现有仓位,且最后一个仓位处于亏损状态,EA 将检查当前市场价格与订单之间的距离是否至少为用户设置的最小距离,然后将根据蜡烛图输入交易,仓位大小将使用马丁格尔方法计算,并且将设置离已打开交易价格一定距离的止损订单,如果止损变量大于0。 如果未启用套期保值,EA 一次只会进入一个方向的交易。如果第一个仓位是买入交易,则所有后续的马丁格尔仓位也必须是买入交易。如果第一个仓位是卖出交易,则所有后续的马丁格尔仓位也必须是卖出交易。如果启用套期保值,EA 将进入双向交易。 EA 将修改相同方向的所有仓位的获利点为单一的保本点,再加上用户设置的获利水平。 EA 参数 执行模式: 在每个新 K 线上:当 EA 激活时,它会在每个新的
EA Budak Ubat MT5
Syarief Azman Bin Rosli
EA Budak Ubat MT5 是一款专为 MetaTrader 5 设计的自动化网格马丁格尔(Grid Martingale)交易机器人。该系统结合了技术趋势分析、动态波动率自适应计算以及多层风险控制,可在震荡和单边趋势市场中高效管理仓位。 针对主要外汇货币对和现货黄金(XAUUSD)的 M5 周期进行了全面优化。 ### 核心功能 • 4 种可选入场分析策略:   1. Classic Candle:根据K线反转与动量形态判定方向。   2. SMA20:基于20周期均线交叉判定。   3. Alligator:基于比尔·威廉姆斯鳄鱼线指标开裂趋势。   4. Ichimoku:基于一目均衡表(转换线与基准线)平衡信号(默认推荐)。 • AutoConfig AI 动态波动率引擎:   将当前品种的20日平均日波动幅度(ADR)与EURUSD的365日ADR进行自动对比,智能计算最佳止盈点数(TP)、网格初始间距、递增步长以及最大网格间距。 • H1 周期 RSI 过滤器:   监控一小时级别 RSI,避免在超买区盲目追多或在超卖区盲目做空。在交易黄金(XAUUSD)
Indi RBO
Syarief Azman Bin Rosli
Input: Range Start Time : The starting time of the range creation Range End Time : The ending time of range creation Trade End Time : The time where the line of range zone high/low will be extended to Minimum Size : The minimum size of the range in point Maximum Size : The maximum size of the range in point If the range size is between the minimum and maximum, indicator will print the 1st color (blue).
Apex Flow Reversion
Syarief Azman Bin Rosli
# Apex Flow Reversion MT4 Apex Flow Reversion 是一款专为 MetaTrader 4 开发的自动化日内统计均值回归交易系统。该系统监测价格与动态成交量加权平均价(VWAP)基准的偏离程度,并结合标准差通道、相对强弱指数(RSI)动量超买超卖过滤以及真实波幅(ATR)波动率约束来识别价格反转点。 ## 策略概述 该算法在用户设定的时间窗口内,根据分笔跳动量(Tick Volume)计算滚动日内 VWAP 曲线。系统以该中轨为中心,通过标准差计算生成统计上下轨。 当市场价格跌破下轨且 RSI 显示超卖衰竭时,系统评估多头入场条件;当价格突破上轨且 RSI 显示超买衰竭时,系统评估空头入场条件。交易目标为价格回归至动态 VWAP 中轨或设定的固定点数止盈。 ## 核心功能特点 - 严格符合 MQL5 市场规范:原生 MQL4 代码编写,完全不依赖任何外部 DLL。 - 动态经纪商环境适配:在下单或修改订单前,系统自动校验并满足最低停损距离(StopLevel)、冻结距离(FreezeLevel)以及点差上限。 - 稳健的订单执行机制:
Vortex Confluence Radar
Syarief Azman Bin Rosli
Vortex Confluence Radar MT4 Vortex Confluence Radar 是专为 MetaTrader 4 平台开发的多震荡指标共振评分引擎。该指标融合了相对活力指数(RVI)、顺势指标(CCI)与威廉指标(Williams %R)三大经典技术震荡工具,生成统一步伐的动量柱状图、平滑信号线以及交叉预警信号。 指标架构与可视化信号 该指标在独立的副图窗口中运行,包含以下核心图表组件: 统一共振动量柱状图 归一化评分机制:RVI、CCI 和 Williams %R 的数值均被独立归一化映射至 [-100, +100] 区间,并通过用户自定义权重进行加权平均计算。 多头动量(草绿色柱线):当综合共振分值大于零时显示,代表多方动能占优。 空头动量(红色柱线):当综合共振分值小于零时显示,代表空方动能占优。 平滑信号线(金色曲线) 基于综合共振评分计算的指数移动平均线(EMA)。 有效过滤单个震荡指标的高频杂波,提供明确的均线交叉转折时机。 阈值边界水平线(天蓝色与橙红色线条) 超买阈值线(默认 +60.0):标识多头动能进入过度饱和的区域。 超卖阈值线(默认 -6
Kinetix Speed Commander
Syarief Azman Bin Rosli
Kinetix Speed Commander MT4 Kinetix Speed Commander   是一款专为 MetaTrader 4 平台打造的机构级图表一键交易控制台、动态仓位手数计算器及风险回报率订单管理工具。专为自营交易考核交易员(Prop Firm Traders)、敏捷超短线交易者(Scalpers)以及日内系统化交易者设计,Kinetix Speed Commander 全面消除人工计算延迟、下单输入失误以及过度杠杆风险。 该工具运行于高响应、深色主题的图表面板(HUD)之上,不依赖任何外部动态链接库(DLL)。程序在后台以毫秒级精度持续分析账户余额、净值与交易品种的点值,提供毫秒级一键下单、图表交互式可视化风险线调整,以及由 250 毫秒硬件定时器驱动的自动移动止损与保本引擎。 核心架构与功能特性 一键极速交易控制台   直接在图表界面上一键完成买入(Buy)与卖出(Sell)市价开仓。开仓时自动附加精确计算的手数、预设止损及止盈防护。内置滑点控制与实时点差过滤器,在点差异常扩大或市场剧烈波动时自动阻止开仓,保护资金安全。 自动动态仓位手数计算器   在订单提
Prism Candle Forge
Syarief Azman Bin Rosli
Prism Candle Forge — MT4 蜡烛形态识别引擎 Prism Candle Forge 是一个原生的 MQL4 库,利用基于 ATR 加权的几何分析来检测并验证 20 多种日本蜡烛图形态。它提供形态识别、方向置信度评分、蜡烛形态分类以及趋势上下文验证 — 全部通过 8 个导出函数实现,可供任何 Expert Advisor、指标或脚本调用。无需 DLL,无外部依赖,纯 MQL4 高性能计算。 以编译二进制文件 (Prism_Candle_Forge.ex4) 形式分发。本说明文档是您的完整 API 参考手册。 安装说明 从 MQL5 Market 下载 Prism_Candle_Forge.ex4。 将其放置在:MQL4/Libraries/ 将下面的 #import 代码块添加到您的 .mq4 源文件中。 编译您的 EA 或指标。全部 8 个函数现已可用。 导入声明(即拷即用) #import "Prism_Candle_Forge.ex4"    int     PCF_DetectPattern( const double &open[], const doub
Sigma Squeeze Reactor
Syarief Azman Bin Rosli
Sigma Squeeze Reactor 布林带与肯特纳通道挤压突破 MetaTrader 4 智能交易系统 (EA) Sigma Squeeze Reactor 是一款专为 MetaTrader 4 平台打造的高性能波动率突破量化 EA。它利用布林带(Bollinger Bands)收缩进入肯特纳通道(Keltner Channels)所形成的经典挤压(Squeeze)结构,并在挤压释放瞬间结合动量振荡器确认,精准捕捉强劲的单边突破行情。 本策略搭载了 双引擎突破系统(Dual-Engine Breakout Architecture) ,兼顾低波动静止筹码的蓄势爆发与强趋势下的通道扩张突破,并配备直接渲染在图表中央的机构级交互式量化驾驶舱(Cockpit HUD)。 核心工作原理 波动率挤压机制 (Squeeze Mechanism) 当基于标准差的布林带完全收缩在基于真实波幅(ATR)的肯特纳通道内部时,市场进入低波动蓄势期。这一挤压状态反映了机构订单的沉淀与筹码集中,往往是爆发性单边行情的先兆。 双引擎突破逻辑 引擎 A(挤压释放突破):   监测布林带自肯特纳通道内部向外扩
Fulcrum Value Profile
Syarief Azman Bin Rosli
Fulcrum Value Profile 是一款 MetaTrader 4 指标:为每个交易时段构建 tick 成交量分布(Volume Profile),标出控制点 POC(Point of Control)和价值区(value area),以线条绘制发展中的 POC/VAH/VAL,跟踪未被触及的 POC(naked POC),并在已收盘K线上标记两种价值区形态:回到前一价值区内(80% 法则)以及在价值区外被接受(突破)。本指标从不开仓、修改或平仓。 快速开始 将指标加载到 M5、M15 或 M30 图表。 保持 Profile Period = Daily session,或选择 Custom session window 并按经纪商服务器时间(市场报价窗口的时钟)设置 Custom Session Start / Custom Session End。 数秒内,最近 5 个已完成时段以水平直方图绘出,信息卡显示 ABOVE VALUE、INSIDE VALUE 或 BELOW VALUE。 可选:启用 Popup Alert on Signal 或 Push Notific
Filament Tripline Console 把您自己画的水平线和趋势线变成已布防的"绊线"(tripline)。当价格触及线条,或K线收盘越过线条时,绊线执行其动作:提醒、带自动手数、止损和止盈的市价 BUY 或 SELL,或者平仓的 EXIT。它从不根据自身分析交易,只对您布防的线条采取行动。 快速开始 将工具加载到任意图表。要使用 BUY、SELL 和 EXIT 动作,请在工具栏启用 Algo Trading,并在 Common 选项卡勾选 Allow live trading。ALERT 无需这些设置。 用 MetaTrader 常规工具画一条 Horizontal Line 或 Trendline,或在面板上按 + H-LINE / + T-LINE。 单击该线。TARGET 显示其名称。 选择 ACTION、TRIGGER、DIRECTION 以及 ONCE 或 REPEAT,然后按 ARM。线条变为动作颜色,右端出现标签。 按 TEST ALERT 检查提醒通道。若要实时检查,可在模拟图表上于距价格几个点处布防一条 ALERT 绊线。 在 MT4 策略测试器中按钮不
Spectra Trend Ribbon
Syarief Azman Bin Rosli
# Spectra Trend Ribbon MT5 Spectra Trend Ribbon 是一款专为 MetaTrader 5 开发的原生多层级趋势方向与波动率扩张指标。该指标结合了自适应平滑趋势基准线、动态波动率包络通道以及自动化动量突破信号。 ## 图表视觉信号解析 指标在图表上呈现五种核心视觉元素: 1. 中央自适应基准线(变色线) - 绿色线条:表示市价运行于基准线上方且基准线斜率向上,代表当前处于强势多头趋势。 - 红色线条:表示市价运行于基准线下方且基准线斜率向下,代表当前处于强势空头趋势。 - 灰色线条:表示斜率走平或处于横盘整理阶段,方向动量呈中性。 2. 上下动态波动率通道(皇家蓝线) - 以外部真实波幅(ATR)乘以设定倍数并叠加于中央基准线计算所得的包络带。 - 价格在通道内运行时处于正常波动区间。 - 通道显著收窄时预示市场正在经历波动率压缩(Squeeze 挤压)。 3. 多头扩张箭头(绿色箭头) - 当 K 线突破并收盘于上轨之外,且中央基准线保持多头斜率时,在 K 线下方显示绿色箭头。 - 标志着价格从收敛整理状态中恢复动量,顺应主升趋
Aegis Risk Sentinel
Syarief Azman Bin Rosli
Aegis Risk Sentinel MT5 Aegis Risk Sentinel   是一款专为 MetaTrader 5 开发的机构级实时净值保护与风控管理实用工具。专为自营交易公司(Prop Firm 挑战者)、职业资产管理经理和日内交易者打造,旨在通过量化规则规范交易行为,避免重大回撤、情绪化报复性交易以及高杠杆爆仓风险。 本工具配备超流畅的图表 HUD 仪表盘,100% 采用原生 MQL5 架构编写,不含任何外部 DLL。后台以亚秒级频率持续监控账户净值,并提供一键紧急平仓与订单管理操作。 核心功能 每日最大亏损上限保护   实时监控相对于每日开盘初始净值的变动(平台经纪商时间每日午夜自动重置)。一旦日内回撤达到设定的最大阈值(如 4.0%),Aegis 可自动清空所有持仓、撤销所有挂单,并锁定账户直至下一个交易日。 每日目标利润锁定   在达到设定的日内目标利润时及时锁住收益,避免在市场后期震荡中回吐利润。 账户最大总回撤防护   针对账户余额监控总浮动回撤,防止触及严格的净值底线,非常适合通过 FTMO 等自营机构风控考核。 预付款比例安全哨兵   实时审计账户 Ma
Stratos Momentum Engine
Syarief Azman Bin Rosli
Stratos Momentum Engine MT5 Stratos Momentum Engine 是专为 MetaTrader 5 平台开发的全自动多时间框架动量突破智能交易系统(EA)。该系统将较高时间框架(H1)的宏观结构趋势判定与较低时间框架(M15)的高精度动量择时及通道突破确认深度结合。 本系统采用最小二乘法线性回归斜率算法精确捕捉市场主导趋势方向,结合平滑随机震荡指标(Stochastic)识别回调结束后的动量恢复节点,并通过唐奇安通道(Donchian Channel)极值突破进行入场确认。风险管理方面集成了基于 ATR 的自适应动态止损与止盈、Chandelier Exit 吊灯移动止损、开仓前保证金计算校验以及账户级每日最大回撤熔断保护。 产品概述 Stratos Momentum Engine 严格基于三层分析架构执行交易决策: 宏观趋势方向:在 H1 时间框架上通过 50 周期线性回归斜率进行评估。仅当斜率绝对值超过设定阈值时才允许顺势交易,有效过滤震荡行情。 动量择时确认:在 M15 时间框架上利用 Stochastic(14, 3, 3)指标监控超买超卖
Nexus Quant Matrix
Syarief Azman Bin Rosli
Nexus Quant Matrix MT5 Nexus Quant Matrix   是专为 MetaTrader 5 原生打造的机构级量化计算与流式统计分析库。专为量化交易开发者、系统化对冲基金与程序化策略架构师设计,无需依赖任何外部 Python、C++ 或 DLL 动态链接库,直接在 MQL5 原生运行环境中提供极速数值计算支持。 该库具备严格的 O(1) 计算复杂度,依托预分配环形缓冲区与 Welford 增量算法原理,彻底消除了动态内存重新分配带来的性能开销。系统整合了自适应一维卡尔曼滤波(Kalman Filter)、滚动双变量皮尔逊相关系数(Pearson Correlation)、最小二乘法线性回归(OLS)、经厚尾修正的 Cornish-Fisher 在险价值(VaR)、预期亏损(CVaR / Expected Shortfall)以及受保证金严格约束的凯利公式(Kelly Criterion)头寸管理。 核心功能架构 流式统计矩引擎 (CStreamingStats)   实时计算滑动窗口内的均值、样本方差、标准差、偏度(Skewness)与峰度(Kurtosis
Quasar Regime Cloud
Syarief Azman Bin Rosli
Quasar Regime Cloud 是一款适用于 MetaTrader 5 的市场状态指标。它判断价格当前处于趋势还是震荡,并通过分形自适应云带直接在图表上显示结果。只有当市场被判定为趋势状态时才会产生信号,从而过滤掉横盘行情中大量的虚假交叉。 工作原理 1. 分形维数估计 指标在可配置的窗口内,使用盒计数方法为每根K线估算价格的分形维数 (D)。D 接近 1.0 表示平滑、有方向的运动;D 接近 2.0 表示区间行情中常见的嘈杂运动。 2. 分形自适应核心线 (FRAMA) 分形维数决定分形自适应移动平均线的平滑系数。在方向性行情中,核心线紧跟价格;在噪音行情中,核心线变慢并趋于平缓。 3. Spine 脊线 核心线再经过双极点 super smoother 滤波形成脊线。核心线与脊线之间的区域构成云带。 4. 状态评分 (0 到 100) Kaufman 效率比(净位移除以总路径长度)与分形维数合并为 0 到 100 的状态评分。评分经过轻度平滑,并与带滞后区间的阈值比较,避免状态在边界附近反复切换。 视觉组件 趋势云带:核心线在脊线上方时为绿色,下方时为红色,仅在趋势状态显
Isobar Event Shield
Syarief Azman Bin Rosli
Isobar Event Shield 在 MetaTrader 5 中保护您的交易免受经济新闻冲击。它读取终端内置的经济日历,对影响您交易品种的每次数据发布进行倒计时,并在发布前不久对您或其他智能交易系统已持有的仓位和挂单执行您选择的保护措施。它从不自行开仓。 快速入门 将工具加载到一个图表上(每个终端一个副本),并在终端工具栏中启用 Algo Trading。 图表品种的基础货币和报价货币会被自动监控。可在 Extra Currencies to Watch 中添加更多货币(例如 USD,EUR,JPY),并将 Protection Scope 保持为 Linked,以保护使用这些货币的所有品种。 选择 Open Position Action 和窗口长度(Window Opens 和 Window Closes,默认 15 和 10 分钟)。 保持面板在图表上。窗口打开时保护会自动执行;窗口关闭后,暂存的挂单会重新挂出。 想查看效果时,按服务器时间输入一个几分钟后的手动事件,例如 14:35 USD Test,观察状态变为 SHIELD ACTIVE。 面板按钮 [-] / [
Riptide Sweep Reclaimer
Syarief Azman Bin Rosli
Riptide Sweep Reclaimer 是一款 MetaTrader 5 智能交易系统,专门交易平静时段区间的流动性扫荡:它测量您所选时间窗口的最高价和最低价(默认服务器时间 00:00-08:00),等待下一时段刺穿其中一侧,一旦有K线重新收回区间内部即反向入场,目标为区间中点和另一侧。仅交易图表品种,同一时间只持有一个仓位;不使用网格、马丁或加仓摊平。 快速开始 将 EA 加载到该品种的一个图表上(任意周期;逻辑运行于 Working Timeframe,默认 M15),并开启 Algo Trading。 按经纪商服务器时间(市场报价窗口的时钟)把 Range Start 和 Range End 设为平静时段,并用 Hunt Window Start 和 Hunt Window End 把猎取窗口紧接其后。 选择 Position Sizing(默认:每笔交易风险为余额的 1%)。 区间形成期间面板显示 RANGE BUILDING,之后显示 AWAITING HUNT 或 HUNTING。 快速验证:在 EURUSD 上用可视化策略测试运行几周,每个时段都会被框出,每次
筛选:
无评论
回复评论