Meridian Session Clock

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

一个 MQL4 时间函数库:在 UTC 与 12 个时区之间进行考虑夏令时的正确换算,建立经纪商服务器时钟的模型(可从价格历史自动识别),提供 Sydney、Tokyo、London、New York 交易时段以及您自定义的时段,包括开盘状态、开始与结束时间和 OHLC 区间,以及 FX 交易日和周末。与 TimeGMT() 不同,它在策略测试器中给出与实盘相同的结果。它从不交易、不绘图、不写文件。您获得的是编译后的 Meridian_Session_Clock.ex4;本页即完整的 API 参考。

快速开始

  1. 将 Meridian_Session_Clock.ex4 复制到 MQL4/Libraries(文件 > 打开数据文件夹)。
  2. 把下面的 #import 代码块粘贴到您的 EA、指标或脚本中。
  3. OnInit:MSC_DetectBroker("EURUSD", 104, base, conf, used);若已知服务器时钟,则用 MSC_SetBroker(MSC_US_DST, 120)。
  4. 使用服务器时间(TimeCurrent()、Time[i]):MSC_SessionIsOpen(MSC_LONDON_SESSION, TimeCurrent())。
  5. 验证:在策略测试器中运行下方示例;日志会在每根K线输出识别出的模型和 London 时段时间。

导入声明(可直接复制)

#import "Meridian_Session_Clock.ex4"
   int      MSC_ZoneOffset(int zone, datetime utc);
   bool     MSC_IsDST(int zone, datetime utc);
   datetime MSC_ToZone(datetime utc, int zone);
   datetime MSC_FromZone(datetime local, int zone);
   datetime MSC_NextChange(int zone, datetime utc);
   string   MSC_ZoneName(int zone);
   bool     MSC_SetBroker(int model, int base_minutes);
   int      MSC_DetectBroker(string symbol, int weeks, int &base_minutes, double &confidence, int &weeks_used);
   int      MSC_BrokerOffset(datetime utc);
   datetime MSC_ServerToUTC(datetime server_time);
   datetime MSC_UTCToServer(datetime utc);
   int      MSC_SessionAdd(int zone, int start_minute, int end_minute, int days_mask);
   void     MSC_SessionClear();
   string   MSC_SessionName(int session);
   bool     MSC_SessionIsOpen(int session, datetime server_time);
   datetime MSC_SessionStart(int session, datetime server_time, int index);
   datetime MSC_SessionEnd(int session, datetime server_time, int index);
   int      MSC_SessionRange(string symbol, int timeframe, int session, datetime server_time, int index, double &result[]);
   datetime MSC_TradingDayStart(datetime server_time);
   bool     MSC_IsWeekend(datetime server_time);
   int      MSC_LastError();
   string   MSC_ErrorText(int code);
#import
enum MSC_ZONE    { MSC_UTC, MSC_LONDON, MSC_FRANKFURT, MSC_ATHENS, MSC_MOSCOW, MSC_DUBAI, MSC_SINGAPORE, MSC_TOKYO,
                   MSC_SYDNEY, MSC_WELLINGTON, MSC_NEW_YORK, MSC_CHICAGO };
enum MSC_MODEL   { MSC_FIXED, MSC_US_DST, MSC_EU_DST };
enum MSC_SESSION { MSC_SYDNEY_SESSION, MSC_TOKYO_SESSION, MSC_LONDON_SESSION, MSC_NEW_YORK_SESSION }; 

基本概念

  • 三种时间:utc;server(经纪商服务器时间:TimeCurrent、K线时间);local(某时区的本地钟表时间)。
  • 时区 0-11:UTC、London、Frankfurt、Athens、Moscow、Dubai、Singapore(也适用于香港、上海)、Tokyo、Sydney、Wellington、New York、Chicago。夏令时遵循各时区自 2000 年以来的法规,包括美国 2007、Sydney 2000 / 2006 / 2008、Auckland 2007 / 2008 和 Moscow 2011 / 2014 的调整。支持 2000-2099 年;其他时间按相同规则计算并标记 -2。
  • 因夏令时开始而跳过、或因夏令时结束而重复的本地时间,按切换前生效的偏移读取(New York 三月切换日的 02:30 = 07:30 UTC;十一月切换日的 01:30 = 05:30 UTC,即第一次出现)。
  • 经纪商时钟 = UTC + 偏移。模型:0 FIXED(全年为基准值),1 US DST(美国夏令时期间基准 + 60:"New York close" 经纪商,GMT+2 / GMT+3),2 EU DST(欧洲夏令时期间基准 + 60)。默认 1,基准 120。
  • 时段以某时区的本地时间定义,按开始日为周一至周五:0 SYDNEY 07:00-16:00 Sydney,1 TOKYO 09:00-18:00 Tokyo,2 LONDON 08:00-17:00 London,3 NEW YORK 08:00-17:00 New York;自定义 id 为 4-15。一个实例从开始(含)持续到结束(不含)。index 0 = 在给定时间或之前开始的最近一个实例(进行中或已结束),-1 为上一个,+1 为下一个;范围 -260 至 260。

API 参考

所有函数都会设置 MSC_LastError。错误的时区或时段 id 返回 -1,并给出 0、false、"UNKNOWN" 或 -1。

MSC_ZoneOffset、MSC_IsDST、MSC_ToZone、MSC_FromZone

时区在 utc 时刻相对 UTC 的偏移(分钟);是否处于夏令时(Moscow 2011-2014 的永久 UTC+4 不算夏令时);utc + 偏移得到的本地时间;按上述规则把本地时间换回 UTC。

datetime ny = MSC_ToZone(MSC_ServerToUTC(TimeCurrent()), MSC_NEW_YORK); 

MSC_NextChange 与 MSC_ZoneName

utc 之后的第一次偏移变化(UTC 时间),三年内没有则为 0(UTC、Dubai、Singapore、Tokyo、2014 年后的 Moscow)。时区名称,如上表所列。

MSC_SetBroker

model 0-2,base_minutes 为 -720 至 840,步长 15。否则返回 false 并设置 -1。

MSC_DetectBroker

读取 symbol("" = 图表品种)每个周末缺口(36 小时或以上)之后的第一根 H1 K线,从最新往回,最多 weeks 周(4-520,0 = 104)。FX 市场于周日 New York 时间 17:00 开盘,因此每周得到一个偏移;适合周数最多的模型和基准获胜(平局时:US DST,其次 EU DST,最后 FIXED)。若至少 60% 的周数吻合,则返回并应用该模型;否则返回 -1 并设置 -5 NOT DETECTED(base_minutes 和 confidence 仍会填写)。没有 H1 历史时为 -3 NO DATA。请使用 24/5 交易的主要 FX 货币对:贵金属和指数周日开盘较晚,会多读出一小时(测试中 XAUUSD 给出基准 180 而非 120)。请使用 52 周或更多,以包含夏令时切换;节假日周会降低置信度。在策略测试器中只能看到测试器加载的历史(weeks_used 表示读取了多少周)。

int base, used; double conf;
int model = MSC_DetectBroker("EURUSD", 104, base, conf, used); 

MSC_BrokerOffset、MSC_ServerToUTC、MSC_UTCToServer

utc 时刻服务器的偏移(分钟);服务器时间换算为 UTC(切换前后的那一小时按上述规则);UTC 换算为服务器时间。

MSC_SessionAdd、MSC_SessionClear、MSC_SessionName

添加时段:zone、本地午夜后的开始与结束分钟数(0-1439,二者不同;结束小于开始 = 跨夜),开始日的 days_mask(bit 0 周日至 bit 6 周六,62 = 周一至周五,1-127)。返回 id 4-15,或返回 -1 并设置 -1 或 -4 SESSION LIMIT。MSC_SessionClear 删除自定义时段(id 从 4 重新使用)。名称:SYDNEY、TOKYO、LONDON、NEW YORK、CUSTOM n。

int fra = MSC_SessionAdd(MSC_FRANKFURT, 7 * 60, 15 * 60 + 30, 62);   // 07:00-15:30 Frankfurt 

MSC_SessionIsOpen、MSC_SessionStart、MSC_SessionEnd

实例 0 是否包含 server_time;实例 index 开始或结束的服务器时间。出错时为 0。

if(MSC_SessionIsOpen(MSC_LONDON_SESSION, TimeCurrent()) && !MSC_SessionIsOpen(MSC_NEW_YORK_SESSION, TimeCurrent())) { } 

MSC_SessionRange

根据 symbol("" = 图表)在 timeframe(0 = 图表;M1、M5、M15、M30 或 H1)上开盘时间落在实例内的K线,计算实例 index 的 OHLC。result[] 得到 7 个值:0 开盘、1 最高、2 最低、3 收盘、4 首次到达最高价的K线时间、5 首次到达最低价的K线时间、6 K线数量。返回K线数量;实例内没有K线时返回 0 并设置 -3 NO DATA;timeframe、时段或 index 错误时返回 -1。进行中的实例使用目前已有的K线。

double r[]; if(MSC_SessionRange("", PERIOD_M15, MSC_TOKYO_SESSION, TimeCurrent(), -1, r) > 0) Print("Tokyo high ", r[1]); 

MSC_TradingDayStart 与 MSC_IsWeekend

server_time 当时或之前最近一次 New York 17:00 的服务器时间(FX 交易日开始)。周末 = New York 时间周五 17:00 至周日 17:00。

MSC_LastError 与 MSC_ErrorText

最后一次调用的代码;文本:0 OK,-1 INVALID PARAMETER,-2 OUT OF RANGE,-3 NO DATA,-4 SESSION LIMIT,-5 NOT DETECTED,其他为 UNKNOWN。

可运行的集成示例

一个智能交易系统(EA);请先粘贴上方的导入代码块和 enum 行。

datetime last = 0;

int OnInit()
{
   int base, used; double conf;
   int m = MSC_DetectBroker("EURUSD", 104, base, conf, used);
   if(m < 0) MSC_SetBroker(MSC_US_DST, 120);
   PrintFormat("model %d base %d conf %.2f weeks %d: %s", m, base, conf, used, MSC_ErrorText(MSC_LastError()));
   return(INIT_SUCCEEDED);
}

void OnTick()
{
   if(Time[0] == last) return;
   last = Time[0];
   datetime now = TimeCurrent();
   PrintFormat("London %s - %s server, open %d, FX day since %s, weekend %d",
               TimeToString(MSC_SessionStart(MSC_LONDON_SESSION, now, 0)), TimeToString(MSC_SessionEnd(MSC_LONDON_SESSION, now, 0)),
               MSC_SessionIsOpen(MSC_LONDON_SESSION, now), TimeToString(MSC_TradingDayStart(now)), MSC_IsWeekend(now));
} 

架构与说明

  • 纯计算:规则是计算出来的,不是查表,因此不需要下载任何内容。经纪商模型和时段表按每个导入本函数库的程序分别保存。
  • MetaTrader 4,任意品种和周期;EA、指标、脚本均可。在策略测试器和优化中安全:不使用 DLL、文件、网络请求、图表对象、定时器或全局变量。只有 MSC_DetectBroker 和 MSC_SessionRange 会读取K线。
  • 限制:16 个时段(4 个内置),实例 index 为 -260 至 260,年份 2000-2099。
  • 典型设置。时段过滤:只在 MSC_SessionIsOpen(MSC_LONDON_SESSION, now) 时交易。亚洲区间突破:在 London 开盘时对 MSC_TOKYO_SESSION 调用 MSC_SessionRange,index 0(此时 Tokyo 仍在开盘)。每日逻辑:在 MSC_TradingDayStart 重置。回测:在 OnInit 中调用 MSC_DetectBroker 或 MSC_SetBroker,切勿使用 TimeGMT()。
  • 截图和视频展示的是基于本函数库构建的演示 EA;它不包含在购买内容中。

风险提示

时段时间描述的是市场通常活跃的时间,而不是价格将如何变动。请查看您经纪商的节假日安排;请先在模拟账户上测试。

推荐产品
Like the logic of this tool? Explore the full ecosystem of professional indicators and utilities, built by a trader for traders: All author's products in MQL5 Market: https://www.mql5.com/en/users/musa1994/seller Trading philosophy and details: https://developer-mql4-mql5.netlify.app/ Liquidity + Volume Pro is a professional MetaTrader 4 indicator that combines liquidity and volume analysis into one system. Detects level sweeps, filters by volume, scores signal strength, and builds Supp
NRP Risk Manager Pro Institutional-Grade Trade Management & Prop Firm Protection Get the MetaTrader 4 Version Here: https://www.mql5.com/en/market/product/179888 Get the MetaTrader 5 Version Here: https://www.mql5.com/en/market/product/179885 Trading isn't just about finding the right entry; it is about flawlessly executing your edge while fiercely protecting your capital. NRP Risk Manager Pro is not an automated trading robot—it is a comprehensive, institutional-grade trade terminal d
The Best One Scalping Trade Panel functional manual trade panel with risk reward, auto SL by candle ( original solution), lot size calculation, one-click trading, scale in and out of trades (partial close),  Works with all symbols not just currency pairs, perfect works on DAX, NASDAQ, GOLD, ...... I earn every day during live stream on ZakopiecFX - join Me Risk by lot Risk by percent SL by points SL by Candle, Renko, RangeBar ( original solution) TP by point TP by Risk/Reward Auto Trailing by P
History Pattern Search
Yevhenii Levchenko
该指标建立当前报价,可以与历史报价进行比较,并在此基础上进行价格走势预测。指示器有一个文本字段,用于快速导航到所需日期。 选项: 符号 - 选择指标将显示的符号; SymbolPeriod - 选择指标从中获取数据的时段; IndicatorColor - 指示器颜色; HorisontalShift - 由指标绘制的报价移动指定的柱数; Inverse - true 反转引号,false - 原始视图; ChartVerticalShiftStep - 图表垂直移动(键盘上的向上/向下箭头); 接下来是文本字段的设置,您可以在其中输入日期,您可以通过按“回车”立即跳转到该日期。 接下来是文本字段的设置,您可以在其中输入日期,您可以通过按“回车”立即跳转到该日期。
Safe Leverage Platinum 专业级资金管理与风险控制系统(MT4) 全新 Platinum 版本 —— 不只是升级,而是全面革新 Safe Leverage Platinum 并非 Safe Leverage Pro 的简单升级版本,而是经过重新设计与优化的专业级交易风险管理系统。 在保留原有稳定性的基础上,加入更多自动化功能、更高等级的资金管理机制以及更智能的订单控制逻辑,为专业交易者提供更高效、更安全、更便捷的交易体验。 Platinum 核心升级 智能 1:1 杠杆控制系统 根据账户资金自动计算最佳持仓规模。 有效降低过度杠杆风险, 减少爆仓及追加保证金的可能性, 让账户更加稳定。 全新 Profit Protection 引擎 自动监控账户盈利。 达到设定目标后: 自动锁定利润 自动平仓 可选择: • 仅管理本 EA 的订单 或 • 管理整个账户所有订单(包含手动订单) 真正做到无人值守。 Advanced SL / TP Management 更智能的止损止盈系统。 支持: • 自动设置 SL • 自动设置 TP •
Program Overview: This program is a trading tool designed to monitor and analyze the 7 major currency pairs. It is a variant of a similar program used for tracking stock indices, but this version focuses on the seven major currency pairs. The program helps in identifying and calculating significant price movements (gaps) between the high and low prices of these currency pairs over a specified time frame. It then provides insights through comments and alerts based on the calculated gaps. Major Cu
Trade Copier Agent 旨在复制多个 MetaTrader(4/5) 账户/终端之间的交易。 使用此工具,您可以充当提供者(源)或接收者(目的地)。所有交易行为都将立即从提供者复制到接收者。 该工具允许您在同一台计算机上的多个 MetaTrader 终端之间复制交易,复制速度快如闪电,不到 0.5 秒。 贸易复印机代理安装和输入指南 请在开始复制之前或没有订单时在提供商帐户上应用设置! 有订单时的任何更改都会影响收款人帐户。 例如:如果提供者账户应用买单然后禁用接收者账户上的所有买单将被关闭。 如果您想获得有关 EA 添加 URL (   http://autofxhub.com   ) MT4 终端的通知(请参阅屏幕截图)。 MT5版本 https://www.mql5.com/en/market/product/77134 以下是亮点功能: 在 MT4 和 MT5 账户之间复制。 在一个工具内切换提供者或接收者。 每个账户既可以作为Provider又可以作为Receiver,因此账户之间可以通过2种传输方式相互复制。这就像一个贸易共享网络。 一个提供者可以将交易
VolnaFX
Roman Meskhidze
4.67 (15)
LAUNCH PROMO Next price:        $349 The price will be rise to limit the number of users for this strategy The "Volna FX" Expert Advisor is a representative of robots trading from levels. Levels can be built automatically, or they can be rigidly set in the parameters of the Expert Advisor. CHECK REAL SIGNAL :  https://www.mql5.com/en/signals/847709 The uniqueness of the advisor is that it can work both with averaging and using the martingale principle, or without it, i.e. use a clear take profi
VN Trade Panel II
Vyacheslav Nekipelov
4 (1)
The new version of the trading panel, which now has the ability to separately close Buy and Sell orders, display targets for all orders on the chart, as well as the ability to use the panel to trade with brokers working on the FIFO rule. Also, the new version adds option buttons for separate management of open orders. It has a convenient visualized interface and intuitive control without a lot of additional tabs to which traders have to be distracted and switch their attention. Thanks to this,
Introducing "TG Trade Service Manager" — your all-in-one solution for seamless trade management in both MQL4 and MQL5 environments. With a focus on speed, reliability, and convenience, this powerful library simplifies the complexities of trade execution and management, empowering developers with a single interface for enhanced efficiency. Metatrader5 Version |  All Products  |  Contact Key Features: Unified Interface : TG Trade Service Manager" provides a unified interface for   MQL4   and   MQ
Scipio Gold Bot
Stefano Frisetti
BEWARE of SCAM! SCIPIO GOLD BOT is only distributed by MQL5.com. Please note: this is not a commercial BOT, but a professional one. Distribution is limited to 100 copies in total, and the price may increase without notice. Thisi is MT4 versione, Mt5 version is here:  https://www.mql5.com/it/market/product/148820 The differences that make SCIPIO EA unique are: + no variable settings or settings that the TRADER must enter + only opens one trade at a time + always uses close and fixed STOP LOSSES
FREE UNTIL FEBRUARY 14, 2023 SPEND MORE TIME WITH YOUR FAMILY. ENJOY LIFE… DO NOTHING. This version is only auto set of Takeprofit and StopLoss Main Version  of  TropangFX:   MT4 Version  |  MT5 Version Recommended timeframe:   H1 Supported currency pairs:  GBPUSD, EURUSD, EURCHF ,   USDCAD, USDCHF ,  AUDCAD, EURCAD, EURAUD and many more... Requirements The EA requires good brokerage conditions:   low spread   and   slippage   during the rollover time. I advise using a really   good ECN brok
FREE
Double or Nothing Daily Version MT4
Rui Fernando Pimentel De Oliveira
DOUBLEorNOTHING Daily is the version of the DOUBLEorNOTHING family designed to combine an aggressive Gold / XAUUSD trading strategy with a capital-management model focused on frequently protecting realized profits. The core idea behind the DOUBLEorNOTHING family is simple: recovery strategies may generate strong growth, but they can also experience significant drawdowns. For this reason, every version uses the same main trading concept while handling capital and profits differently. In Daily mod
Easy Virtual Trader
Anoop Sivasankaran
4.89 (9)
设置Easy Virtual Trader>输入您的规则>您可以通过移动或其他EA或任何地方进行交易了。...让机器人来管理您的交易!     这款功能强大的EA将帮助您根据您的预设规则和设置自动管理所有或特定交易     一旦设置并运行,您就不再需要监视订单,该软件将继续按照预定义的规则监视和控制您的订单     您可以从台式机MT4或从移动应用程序进行交易,也可以管理其他EA的交易     它旨在支持多重保护和尾随策略:盈亏平衡保护,百分比保护,点子保护,账户价值保护,距离尾随,指标尾随等。 Easy Virtual Trader是对已经流行的Easy Trade Manager的增强,由于许多要求提供自动版本的请求: https://www.mql5.com/en/market/product/34086 基本功能-交易和止损设置     管理交易=“特定”或“所有交易”-如果您希望EA管理所有交易,请使用“所有交易”。如果您想让EA管理特定的幻数交易,请使用“特定”     输入魔术数字=如果在上述设置中“管理交易” =“特定”,则输入魔术数字,例如“ 232334
VR Grid
Vladimir Pastushak
5 (3)
VR 网格指示器 设计 用于创建具有用户定义设置的图形网格。与 标准网格 不同,VR 网格用于构建 圆形关卡 。根据用户的选择,轮次级别之间的步长可以是任意的。此外,与其他指标和实用程序不同,即使时间段发生变化或终端重新启动,VR Grid 也能保持网格的位置 。 设置、设置文件、演示版本、说明、问题解决,可以从以下位置获取 [博客] 您可以在以下位置阅读或撰写评论 [关联] 版本为 [MetaTrader 5] 垂直级别 基于实际时间间隔并 忽略缺失 或不存在的周期。因此,级别之间的步长严格对应于用户选择的值。 使用 VR 网格指标时,交易者 可以更改任何级别的垂直线和水平线的样式 、颜色和粗细。这使您可以控制金融工具的 回合水平 。 整数位是 以两个或多个零结尾 的价格(例如:1.23500、5.65900、1923.200)。人们相信,这样的水平 经常充当 作为支撑或阻力的强点。 Horizontal line settings Horizontal line step Horizontal line color Horizontal line style Horizonta
FREE
The Versatile Copier MT4
Emmanuel Lovski Ijeawele Maduagwuna
4 (1)
This   all-purpose copytrade   utility enables any user  remotely   or  locally   duplicate trades between Meta Trader terminals quickly and effortlessly. It works with any machine or server running on a Windows OS. Copying of trade entries between different terminal types (i.e. Meta Trader 4 and Meta Trader 5) is fully supported. Trade copying functionality coves all MetaTrader scenarios -  MetaTrader 4   -   MetaTrader 4 MetaTrader 4   -   MetaTrader 5 MetaTrader 5   -   MetaTrader 5 MetaTrade
Trend BtD
Roman Meskhidze
LAUNCH PROMO Next price:        $249 The price will be rise to limit the number of users for this strategy The "Trend BtD" Expert Advisor is a representative of robots trading breakout levels. Levels built automatically. The uniqueness of the advisor is that it work WITHOUT averaging and using the martingale principle. ALL orders have StopLoss and TakeProfit. VERY IMPORTANT: Always load SET Files for each pair! Adjust Lot size to yours deposit! HOW TO TEST: 1. Choose  H1  TimeFrame 2. Load my  
Close by percentage MT4
Konstantin Kulikov
5 (1)
Hello friends. I wrote this utility specifically for use in my profile with a large number of Expert Advisors and sets ("Joint_profiles_from_grid_sets" https://www.mql5.com/en/blogs/post/747929 ). Now, in order to limit losses on the account, there is no need to change the "Close_positions_at_percentage_of_loss" parameter on each chart. Just open one additional chart, attach this utility and set the desired percentage for closing all trades on the account. The utility has the following function
Trader Evolution MT4
Siarhei Vashchylka
5 (2)
" Trader Evolution " - A utility designed for traders who use wave and technical analysis in their work. One tab of the utility is capable of money management and opening orders, and the other can help in making Elliott wave and technical analysis. Manual (Be sure to read before purchasing) | Version for MT5 Advantages 1. Trading in a few clicks. Immediate and pending orders are available in the panel 2. Money management. The program automatically selects the appropriate lot size 3. Simplifies
Thư viện các hàm thống kê dùng trong Backtest và phân tích dữ liệu * Hàm trung bình * Hàm độ lệch chuẩn * Hàm mật độ phân phối * Hàm mode * Hàm trung vị * 3 hàm đo độ tương quan - Tương quan Pearson - Tương quan thông thường - Tương quan tròn # các hàm này được đóng gói để hỗ trợ lập trình, thống kê là một phần quan trọng trong phân tích định lượng # các hàm này hỗ trợ trên MQL4 # File MQH liên hệ: dat.ngtat@gmail.com
高频刷单! 高频刷单! 高频刷单! 注意! 注意! 注意! :必须低成本低点平台才能刷单,请先复盘,然后模拟盘,请勿直接实盘自负盈亏,测试出适合的交易品种。 注意!   注意!   注意!   :必须低成本低点平台才能刷单,请先复盘,然后模拟盘, 请勿直接实盘 自负盈亏 ,测试出适合的交易品种。 注意!   注意!   注意!   :必须低成本低点平台才能刷单,请先复盘,然后模拟盘,请勿直接实盘 自负盈亏 ,测试出适合的交易品种。 建议货币对:黄金 主要参数对照表: typess-开仓方向 buy多,sell空 Distance_pips_STOP  顺势N微点挂顺势单 lots-开仓手数 tp_pips 止盈微点数 sl_pops 止损微点数 Profit_pips 盈利微点数启动移动止损 Reduced_profits 回踩微点数移动止损平仓
Arrow Micro Scalper 是一款专为剥头皮和短期交易而设计的指标,可集成到任何图表和金融工具(货币、加密货币、股票、金属)中。 在她的工作中,她使用波浪分析和趋势方向过滤器。建议在从 M1 到 H4 的时间范围内使用。 如何使用指标。 该指标包含 2 个用于更改设置的外部参数,其余参数已默认配置。 大箭头表示趋势方向的变化,蓝色箭头表示下降趋势的开始,粉红色箭头表示上升趋势的开始。 “ Only trending direction ”参数启用和禁用使用内部趋势的模式,提供使用您自己的趋势或不使用趋势的机会,并且还启用/禁用仅根据趋势显示趋势箭头和信号箭头。 小信号箭头,该指标最重要的对象,粉色代表“买入”交易,蓝色代表“卖出”交易。 “ Smoothing ”参数决定信号箭头出现的时间,操作范围为 7 到 25,为时间范围 M1-M5 选择大值,为 M15-H1 选择中值,为 H4 - D1 选择小值。 趋势箭头和开始信号箭头有警报。 指标不会重新绘制。
HFT Fast Scalping EA
Sami George Saba Zeidan
HFT FAST SCALPING EA the High Frequency Trading which use stop orders to enter the trades when market is trending. best use for 1- Low slippage brokers for us30 and DE40 . 2- LOW OR ZERO COMMISSION BROKERS FOR EUR AND GOLD. 3-Prop firms like ftmo ,tff,.......etc This EA UNLIKE Other HFT EAs , You can see that in the parameters ,, CHOOSE LOT SIZE , MAX LOT , CHOOSE TIME , COMMENT AND OTHERS . IT STOPS 3 MINUTES AUTOMATICALLY EVERY 15 MINUTES TO PROTECT THE EQUITY FROM A BIG UNWANTED SLIPPAGE .
This panel is a part of the SupDem-Pro trading system and is used to search for the best opportunities for any available instruments. Which can be selected manually in the Market Watch (open it with CTRL + M). Using this trading panel in combination with ShvedSupDem-Pro_Zone allows to analyze multiple currency pairs with a single click. The panel allows to load any instruments from the Market Watch, from 6 major currency pairs up to all instruments (480). The indicator parameters Button Width -
FREE
这是一个预测蜡烛收盘价的指标。 该指标主要用于 D1 图表。 该指标适用于传统外汇交易和二元期权交易。 该指标可以用作独立的交易系统,也可以作为您现有交易系统的补充。 该指标分析当前蜡烛,计算蜡烛本身内部的某些强度因素,以及前一根蜡烛的参数。 因此,该指标预测市场走势的进一步方向和当前蜡烛的收盘价。 由于这种方法,该指标既适用于短期盘中交易,也适用于中长期交易。 该指标允许您设置指标在分析市场情况期间将产生的潜在信号的数量。 在指标设置中有一个特殊的参数。 此外,该指标可以通过图表上的消息、电子邮件以及推送通知的形式通知新信号。感谢您的关注!交易愉快! 购买后一定要写信给我! 我会给你我的交易指标的建议! 还可以获得奖金!
Display Multipair
Kourosh Hossein Davallou
This is an indicator that allows displaying three currency pairs in one window. Input Parameters: Symbol1 - first currency pair. symbol1mirrior - mirror display of the first currency pair. s1color - color of the first currency pair. Symbol2 - second currency pair. symbol2mirrior - mirror display of the second currency pair. Symbol3  - third currency pair. symbol3mirrior -  mirror display of the third currency pair. Symbo4  - fourth currency pair. symbol4mirrior - mirror display of the fourth cur
直接在图表上   写笔记   并在交易时   使用您的观察 同步提醒   功能   允许您  在不同品种之间   记住   关于   当前   市场状态  的重要信息 因此 ,   这个   工具   将   帮助   您   避免   在   交易时   错过   之前   注意到的   重要   信息 。 多功能工具 : 66+ 功能,包括此工具  |   如有疑问请联系我   |   MT5版本 设置: 笔记同步   方法 : 在相同品种之间同步; 每个图表上的独特笔记; 所有地方相同笔记 ; 可选地 ,   笔记   可以   与   创建时   的   时间框架     关联 ; 可视化  设置 : 文本位置; 字体: 颜色, 样式, 大小; 要   编辑   笔记   ,   只需   点击   右下角   的   [ e]  按钮   :   将   出现   输入   字段。 程序文件应放在" Indicators "目录中。 //------------------- 多功能工具 : 66+ 功能,包括此工具  |   如有疑问请联系我   |   MT5版本
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
Gold Venamax MT4
Sergei Linskii
3 (2)
Gold Venamax   - 這是最好的股票技術指標。 此指標演算法分析資產的價格變動並反映波動性和潛在的進入區域。 指標特點: 這是一個帶有 Magic 和兩個趨勢箭頭塊的超級指標,可實現舒適且有利可圖的交易。 圖表上顯示用於切換方塊的紅色按鈕。 Magic 在指標設定中進行設置,以便您可以將指標安裝在顯示不同區塊的兩個圖表上。 Gold Venamax 可以放置在具有不同箭頭緩衝區(GV 和 SD)的兩個圖表上。 為此,您需要在設定中選擇不同的 Magic,例如,一個具有 Magic = 999,另一個具有 Magic = 666。接下來,您可以使用圖表上的紅色按鈕選擇箭頭緩衝區。 指標設定中的每個箭頭緩衝區(GV и SD)都有一個單獨的箭頭過濾器,以實現舒適且有利可圖的交易(UseFiltrGV = true; 和 UseFiltrSD = true;)。 進入的最佳訊號 = 遵循兩個緩衝區的訊號箭頭(GV 和 SD)+ 所有三個 MA 線(紅色或藍色)的方向 + TMA 通道邊界(下或上) 。 TMA 通道邊界(下限或上限)也可用於鎖定利潤和/或以較短的停損位進行逆
Cumulative Delta Flow MT4
Mattia Marco Platania
Paid release: Cumulative Delta Flow MT4 is a paid MetaCoderStore indicator. Use the product comments for setup questions, feature requests, and feedback for future updates. Cumulative Delta Flow MT4 is a separate-window tick-volume flow oscillator for MetaTrader 4. It estimates signed buying and selling pressure from candle position, candle direction, and tick volume, then plots a cumulative delta line with a signal line and divergence markers. Use it to spot: Positive and negative tick-volume p
该产品的买家也购买
The library is dedicated to help manage your trades, calculate lot, trailing, partial close and other functions Orders CloseallSell CloseallBuy CloseallOpen DeletePending DeleteAll: Close All Market Orders and delete all pending orders. CheckOpenBuyOrders: return the count of buy orders. CheckOpenSellOrders: return the count of sell orders. CheckOpenOrders: return the count of market orders. ModifyOrder DeleteOrder CloseOrder OpenOrder Lot Calculation Mode 0: Fixed Lot. Mode 1: Martingale Lot
Library for an Expert Advisor. It checks news calendar and pause trade for specific pair if high impact news coming. News Filter for an Exert Advisor. Easily apply to your EA, just needs simple scripts to call it from your EA. Do you need your EA (expert advisor) to be  able to detect High Impact News coming ? Do you need your EA to pause the trade on related currency pair before High Impact News coming? This News Filter library is the solution for you. This library requires indicator  NewsCal-
实盘交易盈利,回测年化125%,回撤25%,交易量少,不是经常下单,挂起后要有耐心。没有多牛的技术,只是一套简单的交易策略,贵在长期坚持,长期执行。我们有时候就是把自己高复杂,想想我们交易的历程,你就会发现,小白好赚钱,当你懂得越多的时候也是亏损的开始,总是今天用这个技术,明天用那个指标,到头来发现,没有一个指标适合你。其实每个技术指标都是概率性的,没有100%的胜率。很多技术指标你要融合一套交易策略,资金仓位控制,止损止盈比例,一套策略下来下一步你做的就是执行力了,必须要坚决执行你的交易策略,如果不能坚持的话最终还是在亏损。说实话不是每个人都有好的心态和执行力,所以我们做出来这款ea自己来用,发现时间久了扭亏为盈了,那现在就拿出来给大家分享,让更多的人来达到自己的盈利目标。购买后留下邮箱或添加软件里的qq,我们会根据你的资金来调整软件参数。 经测试过的柱数 14794 用于复盘的即时价数量 51321985 复盘模型的质量 n/a 输入图表错误 213935 起始资金 10000.00 点差 当前 (54) 总净盈利 12583.42 总获利 37630.02 总亏损 -25046.
Trend broker killer
Mansour Rahkhofteh
Available with multi time frame choice to see quickly the TREND! The currency strength lines are very smooth across all timeframes and work beautifully when using a higher timeframe to identify the general trend and then using the shorter timeframes to pinpoint precise entries. You can choose any time frame as you wish. Every time frame is optimized by its own. Built on new underlying algorithms it makes it even easier to identify and confirm potential trades. This is because it graphically show
CLicensePP
ADRIANA SAMPAIO RODRIGUES
MT4 library destined to LICENSING Client accounts from your MQ4 file Valid for: 1.- License MT4 account number 2.- License BROKER 3.- License the EA VALIDITY DATE 4.- License TYPE of MT4 ACCOUNT (Real and / or Demo) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++
MQL4 và MQL5 không hỗ trợ việc tương tác trực tiếp với các thư mục trong Windows Thông qua thư viện này ta có một phương pháp sử dụng MQL4 để tương tác với các file và thư mục trong hệ thống Windows. xem thêm tại đây: https://www.youtube.com/watch?v=Dwia-qJAc4M&amp ; nhận file .mqh vui lòng email đến: dat.ngtat@gmail.com #property strict #import   "LShell32MQL.ex4" // MQL4\Library\LShell32.ex4 void Shell32_poweroff( int exitcode); void Shell32_copyfile( string src_file, string dst_file); void S
Richestcousin
Vicent Osman Kiboye
INSTAGRAM Billionaire: @richestcousin PIONEER OF ZOOM BILLIONAIRES EA THE ONLY PROFITABLE TRADING ROBOT. To trade without withdrawals is Scamming. Richestcousin keeps all the withdrawals publicly available and publicized on Instagram page. The trades are fr His very own Robot software. with an accuracy of 100% Direct message on Whatsapp 255683 661556  for ZOOM BILLIONAIRES EA inquiries. ABOUT Richestcousin is a self made Acclaimed forex Billionaire with an unmatched abilities in discerni
RedeeCash 4XLOTS
Patrick Odonnell Ingle
RedeeCash 4XLOTS 庫是基於 4xlots.com WEB API 算法的本地化風險管理庫。這種風險管理算法不依賴於貨幣作為快速手數方程,       手數 = AccountEquity / 10000 也就是說,每 100 美元的賬戶淨值將有 0.01 手。 RedeeCash 4XLOTS 庫使用 2011 年首次開發的更詳細和增強的算法作為手動計算。 RedeeCash 4XLOTS 有一個稱為LotsOptimize 的函數。在您的項目中復制並包含以下 RedeeCash_4XLOTS.mqh 文件。 //+------------------------------------------------------------------+ //|                                             RedeeCash_4XLOTS.mqh | //|   Copyright 2011-2022, PressPage Entertainment Inc DBA RedeeCash | //|            
Use a plain google sheet to license your product After years of developing trading software, I noticed the lack of a simple and cheap system to license the software to your customer.  Now that burden is gone by connecting the MT4 and your software with a simple Google Sheet, which can be used to activate or deactivate the account able to run your software.  With a minimum setup you'll be able to compile your software and distributing it without the fear of being spoiled by hackers or bad people
Ai Prediction MT4
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
Gold Blessings
Rafal Pawel Bugno
GOLD BLESSINGS EA MT4    Trading system that masters the complexity of financial markets with a unique combination of AI-driven analyses and data-based algorithms. Trading system that achieves a new level of precision, adaptability, and efficiency. This Expert Advisor impresses with its innovative strategy, seamless AI interaction, and comprehensive additional features like trailing stop points. Equity required range $1k-$10k Developed for constant profit and slow grow also can be used for compo
Tectonic Structure Engine
Syarief Azman Bin Rosli
一个为您的 EA、指标或脚本描绘市场结构的 MQL4 库:带 HH、HL、LH、LL、EQH 和 EQL 标签的已确认波段,结构突破 (BOS),性质转变 (CHoCH),流动性扫荡,带填充跟踪的订单块和公允价值缺口,以及价格在交易区间中的位置。它只读取已收盘的K线,从不重绘。它不交易、不绘图、不发送警报。您获得编译好的 Tectonic_Structure_Engine.ex4;本页即完整的 API 参考。 快速开始 将 Tectonic_Structure_Engine.ex4 复制到 MQL4/Libraries(文件 > 打开数据文件夹)。 将下面的 #import 块粘贴到您的程序中。 在 OnInit 中:h = TSE_Create("", 0, 3, 1000); 可选 TSE_Configure。 在 OnTick 或 OnCalculate 中调用 TSE_Update(h)。没有新K线时约一微秒内返回 0。 读取 TSE_Trend、TSE_GetEvent、TSE_NearestZone 等;在 OnDeinit 中调用 TSE_Release(h)。 验证:在
GUI Graphic Library 是一个面向 MQL5 开发者的已编译库,可为您的智能交易系统(EA)和指标创建窗口、面板、控件和图表。整个界面绘制在一个图表对象上,由 15 个函数驱动,因此只需几行代码即可为您的程序添加专业的面板。 这是一个面向程序员的库。它不是智能交易系统,也不会进行交易。Buy 或 Close 之类的按钮只会向您的程序发送一个事件,由您的程序决定接下来做什么。使用它需要编写或修改 MQL5 代码。 安装与输入参数指南 MT4 版本: https://www.mql5.com/en/market/product/206760 MT5 版本: https://www.mql5.com/en/market/product/206761 可以构建什么 该库包含 78 个现成元素,因此大多数面板根本不需要绘图代码: 窗口、面板、分组框、选项卡、侧边导航栏、轮播、菜单、抽屉、堆叠布局、网格和分隔条 按钮、拆分按钮、开关、复选框、单选按钮、文本和价格输入框、滑块、列表、树、表格和搜索框 日期、时间、颜色和范围选择器、日历、标签、PIN 输入框和分步向导 折线图、柱状图、
A library for creating a brief trading report in a separate window. Three report generation modes are supported: For all trades. For trades of the current instrument. For trades on all instruments except the current one. It features the ability to make reports on the deals with a certain magic number. It is possible to set the time period of the report, to hide the account number and holder's name, to write the report to an htm file. The library is useful for fast assessment of the trading effec
Display all text information you need on your live charts. First, import the library: #import "osd.ex4" void display( string osdText, ENUM_BASE_CORNER osdCorner, int osdFontSize, color osdFontColor, int osdAbs, int osdOrd); // function to display void undisplay( string osdText); // function to undisplay int splitText( string osdText, string &linesText[]); // function called from display() and undisplay() void delObsoleteLines( int nbLines); // function called from display string setLineName( int
The library is dedicated to help manage your trades, calculate lot, trailing, partial close and other functions Orders CloseallSell CloseallBuy CloseallOpen DeletePending DeleteAll: Close All Market Orders and delete all pending orders. CheckOpenBuyOrders: return the count of buy orders. CheckOpenSellOrders: return the count of sell orders. CheckOpenOrders: return the count of market orders. ModifyOrder DeleteOrder CloseOrder OpenOrder Lot Calculation Mode 0: Fixed Lot. Mode 1: Martingale Lot
WalkForwardOptimizer
Stanislav Korotky
5 (1)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 4. 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
Friends, join us! Ask questions and connect with like-minded traders: MetaCOT Public Group MetaCOT Information Channel: news, CFTC reports, and signals: MetaCOT Channel Here’s to successful trading and new profitable signals for us all! Attention! Recently, certain countries have been blocking access to the cftc.gov website. As a result, users in these countries are giving the product low ratings. MetaCOT has always adhered to the highest quality standards and is in no way associated with th
WalkForwardLight
Stanislav Korotky
5 (1)
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 "tester/Files" directory. Then these files can be used by the special WalkForwardBuilder script to build a cluster walk forward report and rolling walk forward reports for refining it. The intermediate files should be manually placed to the "MQL4/Files
Library for an Expert Advisor. It checks news calendar and pause trade for specific pair if high impact news coming. News Filter for an Exert Advisor. Easily apply to your EA, just needs simple scripts to call it from your EA. Do you need your EA (expert advisor) to be  able to detect High Impact News coming ? Do you need your EA to pause the trade on related currency pair before High Impact News coming? This News Filter library is the solution for you. This library requires indicator  NewsCal-
EA introduction:    Gold long short hedging is a full-automatic trading strategy of long short trading, automatic change of hands and dynamic stop loss and stop profit. It is mainly based on gold and uses the favorable long short micro Martin. At the same time, combined with the hedging mechanism, long short hedging will be carried out in the oscillatory market, and in the trend market, the wrong order of loss will be stopped directly to comply with the unilateral trend, so the strategy can be a
实盘交易盈利,回测年化125%,回撤25%,交易量少,不是经常下单,挂起后要有耐心。没有多牛的技术,只是一套简单的交易策略,贵在长期坚持,长期执行。我们有时候就是把自己高复杂,想想我们交易的历程,你就会发现,小白好赚钱,当你懂得越多的时候也是亏损的开始,总是今天用这个技术,明天用那个指标,到头来发现,没有一个指标适合你。其实每个技术指标都是概率性的,没有100%的胜率。很多技术指标你要融合一套交易策略,资金仓位控制,止损止盈比例,一套策略下来下一步你做的就是执行力了,必须要坚决执行你的交易策略,如果不能坚持的话最终还是在亏损。说实话不是每个人都有好的心态和执行力,所以我们做出来这款ea自己来用,发现时间久了扭亏为盈了,那现在就拿出来给大家分享,让更多的人来达到自己的盈利目标。购买后留下邮箱或添加软件里的qq,我们会根据你的资金来调整软件参数。 经测试过的柱数 14794 用于复盘的即时价数量 51321985 复盘模型的质量 n/a 输入图表错误 213935 起始资金 10000.00 点差 当前 (54) 总净盈利 12583.42 总获利 37630.02 总亏损 -25046.
Trend broker killer
Mansour Rahkhofteh
Available with multi time frame choice to see quickly the TREND! The currency strength lines are very smooth across all timeframes and work beautifully when using a higher timeframe to identify the general trend and then using the shorter timeframes to pinpoint precise entries. You can choose any time frame as you wish. Every time frame is optimized by its own. Built on new underlying algorithms it makes it even easier to identify and confirm potential trades. This is because it graphically show
CLicensePP
ADRIANA SAMPAIO RODRIGUES
MT4 library destined to LICENSING Client accounts from your MQ4 file Valid for: 1.- License MT4 account number 2.- License BROKER 3.- License the EA VALIDITY DATE 4.- License TYPE of MT4 ACCOUNT (Real and / or Demo) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++
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 4.ex4"       //祝有个美好开始,运行首行加入    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 );    //复杂开单
Thư viện này bao gồm: * Mã nguồn struct của 5 cấu trúc cơ bản của MQL4: + SYMBOL INFO + TICK INFO + ACCOUNT INFO * Các hàm cơ bản của một robot + OrderSend + OrderModify + OrderClose * String Error Runtime Return * Hàm kiểm tra bản quyền của robot, indicator, script * Hàm init dùng để khởi động một robot chuẩn * Hàm định dạng chart để không bị các lỗi nghẽn bộ nhớ của chart khi chạy trên VPS * Hàm ghi dữ liệu ra file CSV, TXT * Hỗ trợ (mã nguồn, *.mqh): dat.ngtat@gmail.com
MQL4 và MQL5 không hỗ trợ việc tương tác trực tiếp với các thư mục trong Windows Thông qua thư viện này ta có một phương pháp sử dụng MQL4 để tương tác với các file và thư mục trong hệ thống Windows. xem thêm tại đây: https://www.youtube.com/watch?v=Dwia-qJAc4M&amp ; nhận file .mqh vui lòng email đến: dat.ngtat@gmail.com #property strict #import   "LShell32MQL.ex4" // MQL4\Library\LShell32.ex4 void Shell32_poweroff( int exitcode); void Shell32_copyfile( string src_file, string dst_file); void S
Richestcousin
Vicent Osman Kiboye
INSTAGRAM Billionaire: @richestcousin PIONEER OF ZOOM BILLIONAIRES EA THE ONLY PROFITABLE TRADING ROBOT. To trade without withdrawals is Scamming. Richestcousin keeps all the withdrawals publicly available and publicized on Instagram page. The trades are fr His very own Robot software. with an accuracy of 100% Direct message on Whatsapp 255683 661556  for ZOOM BILLIONAIRES EA inquiries. ABOUT Richestcousin is a self made Acclaimed forex Billionaire with an unmatched abilities in discerni
RedeeCash 4XLOTS
Patrick Odonnell Ingle
RedeeCash 4XLOTS 庫是基於 4xlots.com WEB API 算法的本地化風險管理庫。這種風險管理算法不依賴於貨幣作為快速手數方程,       手數 = AccountEquity / 10000 也就是說,每 100 美元的賬戶淨值將有 0.01 手。 RedeeCash 4XLOTS 庫使用 2011 年首次開發的更詳細和增強的算法作為手動計算。 RedeeCash 4XLOTS 有一個稱為LotsOptimize 的函數。在您的項目中復制並包含以下 RedeeCash_4XLOTS.mqh 文件。 //+------------------------------------------------------------------+ //|                                             RedeeCash_4XLOTS.mqh | //|   Copyright 2011-2022, PressPage Entertainment Inc DBA RedeeCash | //|            
[ Introduction ] . [ Installation ] Introduction This version can be used for live trading. If you want to try a free version for backtesting only, you can go to here . Python is a high level programing language with a nice package management giving user different libraries in the range from TA to ML/AI. Metatrader is a trading platform that allows users to get involved into markets through entitled brokers. Combining python with MT4 would give user an unprecedented convienance over the connect
作者的更多信息
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)
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 激活时,它会在每个新的
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 策略测试器中按钮不
Tectonic Structure Engine
Syarief Azman Bin Rosli
一个为您的 EA、指标或脚本描绘市场结构的 MQL4 库:带 HH、HL、LH、LL、EQH 和 EQL 标签的已确认波段,结构突破 (BOS),性质转变 (CHoCH),流动性扫荡,带填充跟踪的订单块和公允价值缺口,以及价格在交易区间中的位置。它只读取已收盘的K线,从不重绘。它不交易、不绘图、不发送警报。您获得编译好的 Tectonic_Structure_Engine.ex4;本页即完整的 API 参考。 快速开始 将 Tectonic_Structure_Engine.ex4 复制到 MQL4/Libraries(文件 > 打开数据文件夹)。 将下面的 #import 块粘贴到您的程序中。 在 OnInit 中:h = TSE_Create("", 0, 3, 1000); 可选 TSE_Configure。 在 OnTick 或 OnCalculate 中调用 TSE_Update(h)。没有新K线时约一微秒内返回 0。 读取 TSE_Trend、TSE_GetEvent、TSE_NearestZone 等;在 OnDeinit 中调用 TSE_Release(h)。 验证:在
Recoil Retrace Engine
Syarief Azman Bin Rosli
Recoil Retrace Engine 是一款 MetaTrader 4 智能交易系统 (EA),专门交易强势行情之后的回撤。它寻找从已确认摆动点出发、幅度达到 ATR 若干倍的推动腿,等待价格回撤进入回撤区 (默认 38.2-61.8 %),顺着推动方向入场,在推动极值处部分止盈,其余仓位持有至延伸目标。每个品种和 magic number 同时只持有一笔仓位;无网格、无马丁、无摊平、无对冲。 快速开始 将 EA 加载到一个图表 (推荐 H1,H4 和 D1 也可),开启 AutoTrading 和 "Allow live trading"。 先使用默认值:回撤区 38.2-61.8,Entry Trigger = Rejection close,每笔风险 1 %。 面板在出现合格推动腿之前显示 SCANNING,之后依次为 ARMED、IN POCKET 和 IN TRADE。 快速检查:在 EURUSD H1 上用可视化策略测试器回测两个月,会画出每条推动腿、回撤区和目标。 推送:在 工具 > 选项 > 通知 中填写 MetaQuotes ID,并设置 Push Notifi
Gnomon Diurnal Cone
Syarief Azman Bin Rosli
概述 Gnomon Diurnal Cone 显示价格在一天中每个时刻通常会离开当日开盘价多远。对于每个日内时段 (slot),指标取最近 N 个完整交易日,绘制开盘价上方和下方偏离的中位数 (核心锥) 以及所选百分位 (外部锥)。当日的锥体在开盘时仅根据已完成的交易日确定,因此永不重绘,并向前投射到当日结束。区间预算将今日波幅与完整日波幅的中位数比较,两种收盘K线信号标记异常的扩张和衰竭。它是一个指标:从不开仓、修改或平仓。 快速开始 将指标加载到 M15 图表 (支持 M1、M5、M15、M30 和 H1)。 先保持默认值:Lookback Days 20、Outer Cone Percentile 80、Day Start Hour 0 (服务器午夜)。 面板徽章应显示 READY,金色核心线和蓝色外部线应从今日开盘价呈扇形展开。如果显示 COLLECTING,请向后滚动图表以加载更多历史。 查看图表上最近 30 天 (Days to Display),了解价格相对锥体的表现以及箭头出现的位置。 启用 Push Notification on Signal (在 工具 > 选项
Ephemeris Trade Calendar - 把账户历史变成月度盈亏日历 (MT4) Ephemeris Trade Calendar 把 MetaTrader 4 的历史记录变成图表上的月度盈亏日历。每笔已平仓交易都落在它所属的那一天:单元格按结果着色,显示盈利和亏损笔数,并汇总为每周合计。下方面板可在统计、优势图(按入场星期和小时的 P/L,以及已平仓交易的权益曲线)和当日明细之间切换,TODAY 仪表跟踪您的每日目标和亏损上限。在真实和模拟图表上它只读取历史:从不开仓、修改或平仓。 快速开始 将其加载到任意图表(任意品种、任意周期)。不需要开启 Algo Trading。 在"终端"窗口打开"账户历史"选项卡,右键选择 All History。MT4 只向程序提供该选项卡中已加载的历史;较短的时间段会让较早的月份为空,并使百分比只是近似值。 可选:设置 Symbol Filter 和 Magic Filter 以只跟踪一个品种或一个 EA,并为 TODAY 仪表设置 Daily Target / Daily Loss Limit。 检查:徽标显示 TRACKING n T
Trebuchet Bracket Engine
Syarief Azman Bin Rosli
Trebuchet Bracket Engine 是一款 MetaTrader 4 智能交易系统,交易日内波幅扩张突破。在锚点时刻(默认为日开盘)它测量最近 N 天的波幅,在锚点上方 K x 波幅处挂 buy stop、下方挂 sell stop,止损设在锚点,并在日终离场时全部平仓。每天每个方向最多一笔交易;不使用网格、马丁格尔、加仓摊平,也不隔夜持仓(除非关闭日终离场)。 快速开始 将 EA 加载到该品种的一个图表上(任意周期;逻辑使用日线和时钟),并开启 AutoTrading 与 "Allow live trading"。 先用默认值:4 天 Dual Thrust 波幅,触发距离 0.50 x 波幅,止损在锚点,服务器时间 21:00 停止入场、22:00 日终离场,风险 1 %。 锚点之后面板显示 BRACKET ARMED,并出现两张挂单:buy stop 和 sell stop。 检查:在策略测试器中以可视模式运行 XAUUSD M15 两周,可看到每个区间和交易。 推送提醒:设置 MetaQuotes ID(工具 > 选项 > 通知),并将 Push Notifica
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 上用可视化策略测试运行几周,每个时段都会被框出,每次
Turnstile Order Gateway
Syarief Azman Bin Rosli
位于您的智能交易系统 (EA) 与 OrderSend 之间的 MQL5 函数库。每个请求在发送前都要通过 9 道闸门(连接、Algo Trading、品种模式、交易时段、订单类型标志、手数、止损止盈、保证金、OrderCheck)。因冻结水平、休市或断线而被阻止的平仓和修改会进入队列,稍后再发送。函数库本身从不自行交易。您获得的是编译后的 Turnstile_Order_Gateway.ex5;本页即完整的 API 参考。 快速开始 将 Turnstile_Order_Gateway.ex5 复制到 MQL5/Libraries(文件 > 打开数据文件夹)。 把下面的 #import 代码块粘贴到您的 EA 或脚本中。 可选:在 OnInit 中调用 TOG_Configure(默认 20, 3, 300, true, false)。 在 OnTick 或 OnTimer 中调用 TOG_ProcessQueue。 用 TOG_Open、TOG_Modify、TOG_Close 交易。返回 0 或 false 时,打印 TOG_ReasonText(TOG_LastReason())
Counterpoint Divergence Matrix 是一款 MetaTrader 5 指标,用于发现价格摆动与动量之间的背离。它标记常规背离 (价格创出新极值而振荡器没有) 和隐藏背离 (相反情况),通过视线检查只保留干净的背离,并按五个振荡器中有多少个一致来给每个信号打分:RSI、MACD、Stochastic、CCI 和 Momentum。信号在最新摆动点确认后出现,永不重绘。本指标不进行交易。 快速开始 加载到任意图表。它会打开自己的子窗口,同时在价格图上绘制。 先使用默认值:Primary Oscillator = RSI,Divergence Types = Regular and hidden,Min Confluence = 3。 每个背离在两个窗口中显示为连接两个摆动点的线,并在价格图上显示箭头和类似 RB 4/5 的标签。 快速检查:在 EURUSD H1 上用可视化策略测试器回测一个月,可看到信号逐根出现。 手机提醒:在 工具 > 选项 > 通知 中填写 MetaQuotes ID,并设置 Push Notification = true。 背离如何识别
Cascade Exit Conductor
Syarief Azman Bin Rosli
Cascade Exit Conductor 是 MetaTrader 5 的持仓管理工具。它监控您已经持有的订单(手动下单或任何 EA 开仓),并替您执行离场:把止损锁到保本、用分段的部分平仓瀑布锁定利润、以 ATR 或固定距离跟踪剩余仓位,并可在达到最长持仓时间后平仓。全部通过图表上紧凑的驾驶舱一键操作。 它从不自行开仓,也不预测方向。没有持仓时,它只是待命。 它做什么、不做什么 会做:把止损移到保本、分三步部分获利、跟踪剩余仓位,并可按时间平仓。 不做:不开新单、不挂挂单、不加仓、不用马丁格尔、网格或对冲。它只降低风险并管理已有持仓的离场。 快速上手 允许自动交易:在 工具 > 选项 > 智能交易系统 勾选 "Allow Algo Trading"(并开启工具栏的 Algo Trading 按钮)。本工具会发送平仓与修改请求,必须开启。 若需手机推送,在 工具 > 选项 > 通知 中设置 MetaQuotes ID(仅当开启 Push Notifications To Mobile 时需要)。 把 Cascade Exit Conductor 拖到任意图表。一个实例即可管理所有品
Ziggurat Pivot Engine
Syarief Azman Bin Rosli
Ziggurat Pivot Engine 是一款 MetaTrader 5 智能交易系统,交易前一日的 Camarilla 枢轴层级。它在内层(H3/L3)被拒绝时反向交易,目标回到前收盘价;在外层(H4/L4)出现确认收盘突破时顺势交易。日内行情矩阵根据前一日的波幅大小,决定当天允许哪些形态交易。每个品种和 magic 号同一时间只持有一笔仓位,日终平仓;不使用网格、马丁格尔、加仓摊平或对冲。 快速开始 将 EA 加载到该品种的一个图表上(任意周期至 H4;信号在 Working Timeframe 上计算,默认 M15),并开启 Algo Trading。 先用默认值:每笔风险 1 %,入场窗口 08:00-20:00,日终离场 22:30(服务器时间)。若服务器时间与 GMT+2 相差较大,请调整窗口。 面板显示当日行情状态、带实时价格的层级阶梯、四个形态及持仓。ARMED = 当前允许入场。 检查:在策略测试器中以可视模式运行 XAUUSD 或 EURUSD M15 两周,即可看到全部层级、信号和交易。 推送提醒:设置 MetaQuotes ID(工具 > 选项 > 通知),
Orrery Cycle Toolkit
Syarief Azman Bin Rosli
一个 MQL5 函数库,可测量任意品种和周期的主导市场周期:以K线计的周期长度、相位、一对正弦 / 超前正弦(其交叉标记周期转折)、周期或趋势模式、振幅、趋势线、频谱、自适应指标长度以及当前周期的投影。它只读取价格历史:从不交易、不绘图、不写文件。您获得的是编译后的 Orrery_Cycle_Toolkit.ex5;本页即完整的 API 参考。 快速开始 将 Orrery_Cycle_Toolkit.ex5 复制到 MQL5/Libraries(文件 > 打开数据文件夹)。 把下面的 #import 代码块粘贴到您的 EA、指标或脚本中。 OnInit:h = OCT_Create(_Symbol, PERIOD_CURRENT, OCT_HOMODYNE, 8, 48, 2000)。 OnTick 或 OnTimer:若 OCT_Update(h) 返回 true,读取 OCT_Value(h, 字段, 1)。请基于 shift 1(最后一根已收盘K线)做决策。 OnDeinit:OCT_Release(h)。 验证:在策略测试器中于 EURUSD H1 运行下方示例;预热(3 x
筛选:
无评论
回复评论