Japan Bank Holiday and Gotobi Library

  • 程序库
  • Mikoto Hamazono
    Mikoto Hamazono
    AI Trader Kyo | MQL 开发者 & 外汇创新者
    作为一名 MQL 开发者和热衷于外汇创新的人,我致力于打造充分发挥人工智能力量的前沿交易解决方案。
    结合我在金融工程和编程方面的经验,我开发将先进 AI 与经过验证的算法策略相结合的自动交易工具。
    我还曾参与在超级计算机“京”(K computer)上进行的金融开发项目,因此能够从多学科的角度进行系统设计。
    我的主要成果:
    - 开发初学者和专业人士都能轻松使用的 AI 驱动型 EA。
    - 打造由 AI 驱动、融合技术分析与基本面分析的独特交易风格。
  • 版本: 1.0

Japan Bank Holiday and Gotobi Library 在您自己的 EA、指标或脚本中回答日元市场的日历问题:今天是否为日本银行休息日、是否为五十日(gotobi)、下一次东京定盘价(仲值)在何时,以及按您经纪商的服务器时间,日本现在是几点。

所有规则均通过计算得出,无需更新节假日表。1980-2027 年的结果与日本内阁府公布的国民节假日列表逐日一致。不使用 DLL、不发送网络请求、不读写文件、不含任何交易函数。

可以回答的问题

  • 日本国民节假日,包括调休假日(振替休日)和国民休息日(国民の休日),并给出每个节日的英文名称。
  • 日本银行休息日:周六、周日、国民节假日以及 12 月 31 日至 1 月 3 日。其余日期为营业日。
  • 五十日(gotobi):每月 5、10、15、20、25 日和月末最后一天。若该日为银行休息日,则提前到前一个营业日。
  • 东京定盘价(仲值)的时间:日本时间 09:55。
  • 经纪商服务器时间与日本时间的相互换算。日本不实行夏令时(JST = UTC+9)。

函数

  • JpIsBankHoliday(date) - 周六、周日、国民节假日及 12 月 31 日至 1 月 3 日返回 true。
  • JpIsBusinessDay(date) - 东京银行营业日返回 true。
  • JpIsNationalHoliday(date) - 国民节假日(含调休假日和国民休息日)返回 true。
  • JpHolidayName(date) - 英文名称,例如 "Marine Day"、"Substitute Holiday" 或 "Bank Holiday";其他日期返回空字符串。
  • JpIsGotobi(date) - 五十日返回 true。
  • JpGotobiDaysOfMonth(year, month, days[]) - 某个月的全部五十日;返回个数。
  • JpNextGotobi(date) / JpPrevGotobi(date) - 该日期当天或之后的第一个五十日 / 当天或之前的最后一个五十日。
  • JpTokyoFixing(date) - 当天日本时间 09:55。
  • JpNowJst() - 当前日本时间。
  • JpServerToJst(time) / JpJstToServer(time) - 服务器时间与日本时间的相互换算。
  • JpServerGmtOffsetSeconds() - 服务器相对 GMT 的偏移(秒)(自动:TimeTradeServer() - TimeGMT(),按 15 分钟取整)。
  • JpSetServerGmtOffset(seconds) - 固定偏移,例如 GMT+2 为 7200。
  • JpSetServerTimeZone(seconds, rule) - 非夏令时期间的偏移加夏令时规则:0 无,1 美国,2 欧盟。
  • JpSetServerGmtOffsetAuto() - 恢复自动偏移(默认)。
  • JpLibraryVersion() - 版本号 "1.00"。

日期参数使用日本时间,可以传入当天的任意时刻。节假日和五十日的日期以日本时间 00:00 返回。

使用方法

Market 会将本库安装为 MQL5\Libraries\Market\Japan Bank Holiday and Gotobi Library.ex5。请把下面的导入块粘贴到您程序的开头(或保存为 MQL5\Include\JpMarketCalendar.mqh 后包含该文件):

#import "Market\\Japan Bank Holiday and Gotobi Library.ex5"
string   JpLibraryVersion();
bool     JpIsNationalHoliday(datetime date_jst);
bool     JpIsBankHoliday(datetime date_jst);
bool     JpIsBusinessDay(datetime date_jst);
string   JpHolidayName(datetime date_jst);
bool     JpIsGotobi(datetime date_jst);
int      JpGotobiDaysOfMonth(int year, int month, datetime &out[]);
datetime JpNextGotobi(datetime from_jst);
datetime JpPrevGotobi(datetime from_jst);
datetime JpTokyoFixing(datetime date_jst);
int      JpServerGmtOffsetSeconds();
bool     JpSetServerGmtOffset(int seconds);
bool     JpSetServerTimeZone(int standard_offset_seconds, int dst_rule);
void     JpSetServerGmtOffsetAuto();
datetime JpServerToJst(datetime server_time);
datetime JpJstToServer(datetime jst);
datetime JpNowJst();
#import

EA 示例:

int OnInit()
  {
   // In the Strategy Tester TimeGMT() returns server time: set the offset yourself
   if(MQLInfoInteger(MQL_TESTER))
      JpSetServerTimeZone(2 * 3600, 1);        // GMT+2, +1 hour in US summer time
   return(INIT_SUCCEEDED);
  }

void OnTick()
  {
   datetime jst = JpNowJst();                  // Japan time now
   if(JpIsGotobi(jst))
      Comment("Gotobi - Tokyo fixing at ",
              TimeToString(JpJstToServer(JpTokyoFixing(jst))), " server time");
   else if(JpIsBankHoliday(jst))
      Comment("Japanese bank holiday ", JpHolidayName(jst));
   else
      Comment("Next gotobi: ", TimeToString(JpNextGotobi(jst), TIME_DATE));
  }

所用规则

  • 日本《国民节假日法》及其修订:固定日期的节日、周一节日(成人节和体育节自 2000 年起,海之日和敬老日自 2003 年起)、自 2016 年起的山之日、按年号划分的天皇诞辰,以及 2020 年和 2021 年调整的日期。
  • 调休假日:国民节日恰逢周日时,其后第一个不是国民节日的日子放假(2007 年起;此前仅限次日)。
  • 国民休息日:夹在两个国民节日之间的日子(1986 年起),例如 2026 年 9 月 22 日。
  • 一次性节日:1989-02-24、1990-11-12、1993-06-09、2019-05-01 和 2019-10-22。
  • 春分日和秋分日:使用适用于 1980-2099 年的标准近似公式。截至 2027 年的每一年都与官方日期一致,直到 2099 年的每一年都与天文计算结果一致。日本政府在前一年 2 月公布春分日和秋分日。
  • 银行休息日:周六、周日、国民节假日以及 12 月 31 日至 1 月 3 日(《银行法》;所有年份都采用现行规则)。
  • 五十日:若当天为银行休息日,则提前到同月的前一个营业日。若 5 日需要提前到上个月(例如 2027 年 5 月),该营业日本身已是上个月的月末五十日,因此只在上个月列出。

须知

  • 适用年份:1980-2099 年。超出此范围时,函数返回 false、0、空字符串或 -1。
  • 策略测试器:在测试器中 TimeGMT() 返回服务器时间,因此自动偏移为 0。请像示例那样在 OnInit() 中调用 JpSetServerGmtOffset() 或 JpSetServerTimeZone()。若在测试器中使用自动偏移,本库会在测试器日志中输出一次提示。
  • 自动偏移需要终端已与交易服务器同步。终端刚启动的几秒内可能读到 0;每次调用都会重新读取。
  • 自动偏移是当前的偏移。若要跨越夏令时切换来换算历史 K 线,请用 JpSetServerTimeZone() 设置服务器的规则。
  • 设置只对调用它的程序生效:请在每个 EA 或指标的 OnInit() 中调用。
  • JpGotobiDaysOfMonth() 需要动态数组:datetime days[];
  • 结果按年缓存;同一年内重复调用一次约需 0.01 微秒。

技术支持

如有任何不清楚之处,请在 MQL5 上给我发私信。

推荐产品
Swiss VWAPsimple
Terence Gronowski
4.8 (5)
Swiss VWAPsimple Motivation Did not find free VWAP that works, the one that I found craseh. So I created a VWAP which calculates values only for the actual day. So computer resouces are not over stressed. What is VWAP, how is it used?  VWAP stands for Volume Weighed Average Price, it calculates the running sum of tick volume and the runnung sum of price times tickvolume. The division of these sums result in a weighed price (Sum P*V/Sum V). The calculation starts normally at midnight. The values
FREE
Simple Market Sessions Indicator The Simple Market Sessions Indicator helps traders visualise the current status of major forex market sessions: Asian, London, New York, and Sydney . It shows whether each market is Open , Active (High Volume) , or Closed directly on the chart. With customizable session times and a volume threshold, this tool helps traders monitor market session activity and volume strength, making it easier to identify periods of increased market activity and potential trading
FREE
Session Profiles
Basharat Umar Khan
Short Description Draws rolling Time-Price-Opportunity (TPO) and footprint volume profiles for the Asia, London, and New York sessions with POC/VAH/VAL levels, delta volume bias, order flow overlays, liquidity heatmaps, developing rolling lines, Naked POC (NPOC) tracking, Initial Balance breakouts, multi-session confluence zones, and automatic broker GMT-offset detection. Full Description Plots separate market-profile and volume-profile style histograms for the three major trading sessions (Asi
FREE
Smart FVG Stats
- Md Rashidul Hasan
5 (1)
The  Smart FVG Statistics Indicator  is a powerful MetaTrader 5 tool designed to automatically identify, track, and analyze Fair Value Gaps (FVGs) on your charts. Love it? Hate it? Let me know in a review! Feature requests and ideas for new tools are highly appreciated. :) Try "The AUDCAD Trader": https://www.mql5.com/en/market/product/151841 Key Features Advanced  Fair Value Gap  Detection Automatic Identification : Automatically scans for both bullish and bearish FVGs across specified histo
FREE
Basic Vwap
james mugendi
4 (1)
Simple Vwap with the daily, weekly and monthly VWAP is the abbreviation for   volume-weighted average price , which is a technical analysis tool that shows the ratio of an asset's price to its total trade volume. It provides traders and investors with a measure of the average price at which a stock is traded over a given period of time. How it's used Identify entry and exit points:   Traders can use VWAP to determine when to buy or sell an asset.   Understand price trends :  Traders can use V
FREE
Deviation Trend Profile(偏离趋势分布) 概述 Deviation Trend Profile 是一款 MetaTrader 5 图表指标,在同一个主图窗口中提供三层可视化信息:带动量渐变的移动平均线、基于波动率计算的偏离带,以及绘制在当前价格右侧的横向分布剖面。 本指标是分析工具。它不执行开仓、平仓或仓位管理操作,也不是完整的交易系统。它的作用是帮助用户观察趋势方向、动量强弱以及价格在波动区间内的分布情况。 指标显示的内容 1. 渐变色移动平均线 主图中绘制一条简单移动平均线。线条颜色会根据该均线的归一化动量,在用户设定的两种颜色之间连续变化。均线向上加速时,颜色向正向色过渡;向下加速时,向负向色过渡。过渡是平滑的,因此无需读取数值即可判断当前走势的强弱。 2. 偏离带 在最后一根 K 线右侧,以移动平均线加减一、二、三倍波动率为单位,绘制六条短线。第七条线标出移动平均线本身,并使用当前的动量颜色。每条线都带有标签,因此可以直接以波动率为单位读出价格与均线之间的距离。线条向右延伸数根 K 线,便于查看。 3. 方向变化标记 当归一化动量由下向上穿越内部正向阈值时
FREE
INTRODUCING MML Data Bridge The demand for bridging external data and machine learning with trading platforms is higher than ever. MetaTrader 5 is a powerful environment for trading and back testing, but without a data bridge, MT5 is largely isolated from using any external data. MML Bridge is a developer tool that allows users to bridge external data into MT5 for back testing, live trading, and optimization. It's built for ease of use, providing users with a simple function API that drip-feeds
FREE
Turn your manual trades into fully automated profit machines! This powerful MT5 EA takes over the moment you open a position — no delays, no stress. It instantly places Stop Loss and Take Profit, activates customizable trailing, and locks in profits while protecting your capital Perfect for scalpers: Every trade is immediately secured, giving you the freedom to focus on sniping the best entries while the EA handles all the management work in the background. Auto SL/TP Full trailin
FREE
Easy Correlations Indicator The Easy Correlations Indicator is designed to help traders analyze the relationship between two correlated instruments. By monitoring the distance between their Relative Strength Index (RSI) values, the indicator highlights situations where one instrument has moved significantly further than the other. This creates potential trading opportunities: Sell the stronger instrument (overstretched RSI) Buy the weaker instrument (lagging RSI) Because the positions are opened
FREE
Quick Scale Trading Panel FREE Quick Scale Trading Panel FREE is a manual trading utility for MetaTrader 5 designed to simplify order execution and position sizing directly from the chart. The panel allows traders to open and manage trades using predefined lot multipliers, reducing the need for manual calculations during fast market conditions. Users can define a base lot size and execute trades using multiplier buttons (1x, 2x, 4x, 8x). This helps maintain consistent position sizing and improv
FREE
VWAP Indicator
LUC JACOBUS A VERHEECKE
4.11 (27)
Volume Weighted Average Price (VWAP) The volume weighted average price (VWAP) is a  trading   benchmark  used by traders that gives the average price a security has traded at throughout the day, based on both volume and price. It is important because it provides traders with insight into both the trend and value of a security. This indicator VWAP V2 is free and is the manual version of the extended Easy VWAP indicator (30 Euro), where the date and time properties are automatically entered. With
FREE
VWAP Daily Clean
Bambang Nugroho
English VWAP Daily (Clean) is a simple and lightweight indicator that plots the classic Daily VWAP (Volume Weighted Average Price) directly on your MT5 chart. Features: Classic Daily VWAP calculation Supports real volume (if available) or tick volume Timezone offset option to match your broker’s server time Weekend merge option (merge Saturday/Sunday data into Friday) Clean version → no arrows, no alerts, only VWAP line VWAP is widely used by institutional traders to identify fair value, su
FREE
FibRetrace Zones 最新波段的斐波那契回撤区域 FibRetrace Zones 是 FibRetrace EA 的免费可视化配套指标。它绘制斐波那契回撤水平并标出最新波段的回调区域,让您在交易前就能看到回撤入场位置。 区域按方向着色:看涨为绿色,看跌为红色。适用于任何品种和任何周期。 主要功能 自动波段识别,回看周期可调 经典斐波那契水平(23.6%、38.2%、50%、61.8%、78.6%),每条可单独开关 高亮回调区域,颜色可配置 方向着色:绿色 = 看涨,红色 = 看跌 K线收盘确认;可选对当前K线实时更新 使用方法 加载到任意图表。当价格回调进入着色区域时,FibRetrace 就在那里寻找入场。可利用斐波那契线手动挂单。 自动化交易 FibRetrace EA 自动交易同样的区域:每个品种一个仓位,每笔交易都有止损,每日交易次数限制,交易时段结束自动平仓。回测结果(含样本外数据)见其产品页面。在本页"作者的其他产品"中查看,或在市场中搜索 FibRetrace。 兼容性 MetaTrader 5,任何经纪商、任何品种、任何周期。 免责声明 本工具仅用于可视化
FREE
Market Profile 3 ForexArby com
Hussien Abdeltwab Hussien Ryad
4 (15)
Market Profile 3 MetaTrader 5 indicator  version 4.70— is a classic Market Profile implementation that can show the price density over time, outlining the most important price levels, value area, and control value of a given trading session. This indicator can be attached to timeframes between M1 and D1 and will show the Market Profile for daily, weekly, monthly, or even intraday sessions. Lower timeframes offer higher precision. Higher timeframes are recommended for better visibility. It is als
FREE
The Volume Weighted ATR indicator is a helpful tool for measuring market activity. It is based on the idea of the Volume-Weighted ATR. Combining these two elements helps identify potential turning points or breakout opportunities. The indicator for the classification of the activity of the market uses the moving average and its multiples. Accordingly, where the VWATR bar is located (relative to the moving average), it is labelled as ultra-low, low, average, high, very high or ultra high. The Vo
FREE
GOM Trade Manager
Wannapach Chinnaprapa
GOM Trade Manager helps you execute trades the way you want it. Works on all instruments Forex, Commodities, & Crypto. It helps you with lot calculations, spread addition and balance calculations so you can just focus on actual trading. For full automatic planned management, stackable triggers and spread widening protection >> check out GOM Trade Manager Pro . ------------------------------------------NOTABLE FEATURES------------------------------------------ You set everything based on bid
FREE
Countdown Candle Close
Sid Ali Temkit
3 (1)
The Candle Countdown Timer for MetaTrader 4 (also available for MT5) is a vital indicator designed to help you manage your trading time effectively. It keeps you updated about market open and close times by displaying the remaining time before the current candle closes and a new one forms. This powerful tool enables you to make well-informed trading decisions. Key Features: Asia Range: Comes with an option to extend the range. Broker Time, New York, London Time: Displays the current broker time
FREE
Sweep Hunter Basic
Timo Mario Hoffmann
Sweep Hunter Basic is the simplified entry version of Sweep Hunter Pro for MetaTrader 5. It detects basic Buy-Side and Sell-Side Liquidity zones directly on the chart and marks simple sweep events. The Basic version is limited to 3 new zones per broker day and uses a reduced visual style. For the full version with dashboard, alerts, extended history, tooltips, advanced settings and unlimited zone workflow, visit Sweep Hunter Pro: https://www.mql5.com/de/market/product/177937?source=Site
FREE
MarketPro toolkit
Johannes Hermanus Cilliers
Start earning profits by copying All trades are sent by our successful Forex trader & are extremely profitable. You can earn profits by copying trades daily Trial Period included You'll also get access to extremely powerful trading education which is designed in a simple way for you to become a profitable trader, even if you have no trading experience. https://ec137gsj1wp5tp7dbjkdkxfr4x.hop.clickbank.net/?cbpage=vip
FREE
FVG Zone
Robby Suhendrawan
Fair Value Gap (FVG) Free Edition – 自动化聪明钱足迹(Smart Money Footprints) 在 ICT(Inner Circle Trader)和 SMC(Smart Money Concepts)方法论中,公允价值缺口(Fair Value Gap,简称 FVG,也称为失衡区/Imbalance)发生在价格以极具动能的方式移动时,留下了一片流动性空白。这些未填补的缺口就像未来价格行为的磁铁,使其成为专业交易者最高概率的回撤和入场区域。 Pro 版本链接: https://www.mql5.com/en/market/product/147695 告别手动绘制区域。隆重推出 Fair Value Gap (FVG) Free Edition 。这款轻量且高精度的指标可在图表上自动检测并绘制核心失衡区,帮助您识别机构足迹,省去繁琐的手动图标标记。让算法完成繁重的工作,以便您专注于交易执行。 免费版核心功能: 完全自动化的 FVG 检测: 以数学精度即时勾勒出看涨和看跌的公允价值缺口。 实时区域状态: 轻松区分新鲜(未触及)和已缓解(已测试)的
FREE
RSI Divergence F
Andrey Dik
5 (3)
一个专业的交易工具是RSI和价格之间的背离指标,它允许您及时收到关于趋势反转的信号或捕捉价格回调走势(取决于设置)。 指标设置允许您根据RSI峰值的角度和价格的百分比变化来调整发散的强度,这使得微调信号强度成为可能。 指标代码经过优化,并作为Ea交易的一部分进行了非常快速的测试。  指标不重绘,交易方向的箭头正好位于信号出现的位置--在柱的开口处。 Fractal True . PeriodRSI_P     = 14 ;           //Period IndentFrom50_P  = 10.0 ;         //Indent +- from 50 [0...50] LeftBars_P      = 1 ;           //LeftBars RightBars_P     = 1 ;           //RightBars IndDivForce_P   = 15.0 ;         //Divergences force of indicator (not for the Lite version) PriceDivForce_P = 0.01
FREE
Fair Value Gap Zone
Mattia Impicciatore
总体描述 Fair Gap Value 指标在 MetaTrader 5 图表上识别并突出显示“公平价值缺口”(fair value gaps)。当一根 K 线的最低价与隔一根中间 K 线后的另一根 K 线的最高价之间形成价格空白时,就产生了公平价值缺口。该指标使用彩色矩形(多头和空头)标注这些区域,为基于价格行为的交易策略提供直观支持。 主要功能 多头缺口检测 :用绿色矩形高亮当前 K 线最低价与两根前序 K 线最高价之间的缺口。 空头缺口检测 :用红色矩形高亮当前 K 线最高价与两根前序 K 线最低价之间的反向缺口。 动态延展 :可将矩形向右延伸指定数量的 K 线。 透明度控制 :可配置矩形的不透明度,以免遮挡底部图表。 显示开关 :支持单独开启或关闭多头/空头缺口的绘制。 历史扫描限制 :可选设置扫描的最大 K 线数量,以提升大数据量图表的性能。 自动清理 :切换周期或首次加载时,会自动删除并重绘所有已有缺口。 输入参数 LookbackBars :用于计算缺口的回溯 K 线数量(默认 3)。 MaxBars :最大扫描 K 线数量(0 = 不限;默认 0)。 ShowBullG
FREE
BlueDigitsFx Open Trades MT5
Ziggy Janssen
4.25 (8)
BlueDigitsFx 官方生态系统入口 此免费工具是 BlueDigitsFx 交易基础设施生态系统的一部分。 通过 BlueDigitsFx 官方机器人获取更新、工作流程资源、产品发布信息以及官方生态系统访问权限。 Telegram 生态系统 官方网站 MT4 版本 BlueDigitsFx Open Trades MT5 —— 用于主动交易管理的实时点数监控工具 BlueDigitsFx Open Trades 是一款免费的 MT5 工具,可直接在图表上实时显示所有未平仓交易的总点数结果。 该工具采用清晰的颜色编码显示方式,帮助交易者快速识别盈利和亏损仓位,并监控多个活跃交易及货币对的整体表现。 它专为希望获得更清晰交易视图、更快速仓位监控以及无需频繁切换多个窗口即可管理交易会话的交易者而设计。 通过在图表上持续显示未平仓交易的整体表现,交易者无需频繁打开 MetaTrader 终端窗口即可更快做出反应。 主要功能 实时点数显示 —— 直接在图表上监控所有未平仓交易的总点数结果。 颜色编码交易概览 —— 快速识别正收益和负收益交易表现。 多交易监控 —— 适用于同时管
FREE
Time Candle with Sound Alert This indicator will be display the time left candle Features : 1. Multi Time Frames, Multi Pairs 2. Time Left 2. Position dynamic with Bid Price or Edge of Chart Screen 3. Font Size and Color 4. Display Current Spread, Maximum Spread and Minimum Spread Note: Maximum and Minimum Spread will be reset when you change TF Tested On MT5 Version 5 Build 5200 If you want the source code, just PM me
FREE
Violet Indicator  by Quant Atlas Creator:  https://www.quant-atlas.com/ Violet Indicator is a clean reversal focused trading tool designed to identify moments where price may be shifting away from an extended directional condition. The indicator uses a price derived trend framework to detect moments where market structure may be changing. When conditions align, it plots violet triangle signals directly on the chart. Both bullish and bearish signals use the same violet visual identity, giving the
FREE
Orange Indicator by Quant Atlas Creator:  https://www.quant-atlas.com/ Orange Indicator is a clean reversal focused indicator for MetaTrader 5, designed to highlight potential turning points directly on the chart using simple orange buy and sell markers. The indicator focuses on moments where price may be transitioning out of short term exhaustion and into a possible reaction phase. When a bullish setup appears, an orange upward triangle is displayed below the candle. When a bearish setup appear
FREE
Smart Trendline Detector
Ramandeep Singh
5 (1)
Smart Trendline Detector Smart Trendline Detector is an automatic multi-timeframe trendline analysis indicator for MetaTrader 5 that detects and ranks rising support and falling resistance structures using market swing points. Instead of filling the chart with every possible trendline, the indicator evaluates qualifying structures and displays only a controlled number of the strongest candidates according to configurable ranking criteria. The result is a cleaner chart with relevant trendline str
FREE
Simple Trend Direction MT5
Khalaf Hamza Mohammad Yousef
This is a FREE Trend Direction Indicator for MetaTrader 5. Features: Identifies market trend direction Uses EMA 50 and EMA 200 Non-repainting logic Clear visual display Suitable for manual trading Free version includes: - Single timeframe - Trend direction only - No alerts If you need: Alerts Multi-timeframe version EA automation Custom modifications My Name is Khalaf Hamza , You can contact me for freelance work --> khalaf.hamza.hi@gmail.com
FREE
Volatility Distance Indicator  The Volatility Distance Indicator measures in real time the distance between current price and the moving averages you choose, expressed in points . Its purpose is to provide a clear, objective, and quantitative view of the market’s expansion relative to its equilibrium zones , allowing you to instantly assess whether price is in a phase of overextension, compression, or neutrality . Key Features: Point-based measurement: displays the exact distance between current
FREE
Donchian Pro
Paulo Henrique Faquineli Garcia
5 (3)
The Donchian Channel Channels are among the most popular tools of technical analysis, as they visually convey to the analyst the limits within which most price movement tends to occur. Channel users know that valuable information can be obtained at any time, whether prices are in the central region of a band or close to one of the border lines. One of the best known techniques to explore these concepts is Bollinger Bands. However, John Bollinger was not the only one to research the application
FREE
该产品的买家也购买
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 
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
WalkForwardOptimizer MT5
Stanislav Korotky
3.63 (8)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 5. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a CSV file and some special global variables.
EX5 Signal Copier
Rajesh Kumar Nait
EX5 信号复制库 — 适用于 MT 的专业交易事件引擎 无需编写复杂的交易跟踪逻辑,即可将任何智能交易系统 (EA) 转换为强大的交易复制器、信号处理器或自动化引擎。 EX5 信号复制库是一个高性能的事件驱动系统,能够捕获 MetaTrader 5 中的所有交易活动,并将其转换为结构化信号,您可以利用这些信号构建: 交易复制器(MT5 → MT5 / MT5 → 外部) 风险管理引擎 分析仪表盘 自定义执行桥接(币安、API 等) 为什么选择此库? 实时交易检测 结构化信号队列 事件分类(开仓、平仓、修改、部分平仓) 内置复制引擎(可选) 通过自定义逻辑实现完全控制 主要特性 实时交易捕获 使用 OnTradeTransaction 即时检测每一笔交易 备份轮询系统确保不遗漏任何信号 完整的交易生命周期支持 捕获所有操作: 买入/卖出 限价/止损单 止损/止盈修改 部分平仓 持仓平仓 反向交易 成交量增加 信号队列系统 线程安全的内部队列 按顺序处理信号 即使在高负载下也不会遗漏任何事件 内置复制引擎
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
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
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
This is a simplified and effective version of the library for walk forward analysis of trading experts. It collects data about the expert's trade during the optimization process in the MetaTrader tester and stores them in intermediate files in the "MQL5\Files" directory. Then it uses these files to automatically build a cluster walk forward report and rolling walk forward reports that refine it (all of them in one HTML file). Using the WalkForwardBuilder MT5 auxiliary script allows building othe
OrderBook History Library
Stanislav Korotky
3 (2)
Order Book, known also as Market Book, market depth, Level 2, - is a dynamically updated table with current volumes of orders to buy and to sell specific financial instument at price levels near Bid and Ask. MetaTrader 5 provides the means for receiving market book from your broker, but in real time only, without access to its history. The library OrderBook History Library reads market book state in the past from archive files, created by OrderBook Recorder . The library can be embedded into you
BitMEX Trading API
Romeu Bertho
5 (1)
Cryptocurrency analysis has never been easier with Crypto Charts for MetaTrader 5. Now, trading on BitMEX has never been easier with BitMEX Trading API for MetaTrader 5. BitMEX Trading API library was built to be as easy to use as possible. Just include the library into your Expert Advisor or Script, call the corresponding methods and start trading! Features Trade on BitMEX and BitMEX Testnet. Build and automate your strategies. Concern more with the trading strategy logic and less with the co
Teclado trader, é uma BIBLIOTECA que você pode chamar no OnChartEvent para abrir posição de compra/venda/zerar, os botões padrões são: V = venda C = compra Z = zerar posições a mercado S = zerar posições opostas e depois a mercado X = zerar posições opostas Além da função de teclado, é possível mostrar os estados do ExpertAdvisor usando o MagicId, com informação de: lucro mensal, semanal, diario, e posição aberta, para isto use o OnTick, ou qualquer outro evento (OnTimer / OnTrade / OnBookEven
Goliath Mt5
Nicolokondwani Biscaldi
Goliath MT5 - scalper fully automated Expert Advisor for medium-volatile forex markets P roperties: The Library trades 10 currency pairs (USDCHF, EURCHF, EURGBP, AUDUSD, USDCAD, GBPUSD, EURUSD, NZDUSD, CADCHF, EURAUD, EURCAD, AUDJPY) The Library does not use martingale The Library sets a fixed stop loss and take profit for all orders The Library only trades a user input volume The Library can be installed on any currency pair and any timeframe Recommendations: Before using on a real account, t
Binance Library
Hadil Mutaqin SE
5 (1)
The library is used to develop automatic trading on Binance Spot Market from MT5 platform. Support all order types: Limit, Market, StopLimit and StopMarket Support Testnet mode Automatically display the chart on the screen Usage: 1. Open MQL5 demo account 2. Download Header   file and EA sample   https://drive.google.com/uc?export=download&id=1kjUX7Hyy02EiwTLgVi8qdaCNvNzazjln Copy Binance.mqh to folder \MQL5\Include Copy  BinanceEA-Sample.mq5 to folder \MQL5\Experts 3. Allow WebRequest from MT5
Gold plucking machine   Gold plucking machine   is an Expert Advisor designed specifically for trading gold. The operation is based on opening orders using the Fast and Slow lines indicator, thus the EA works according to the "Trend Follow" strategy, which means following the trend. Use grid strategy to place orders without stop loss operation, so please make sure the account has sufficient funds. magic number        -  is a special number that the EA assigns to its orders. Lot Multiplier     
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
MT4/5通用交易库(  一份代码通用4和5 ) #ifdef __MQL5__      #define KOD_TICKET ulong      #define KOD_MAGIC   long #else        #define KOD_TICKET long      #define KOD_MAGIC   int #endif class ODLIST; #import "K Trade Lib Pro 5.ex5"       //祝有个美好开始,运行首行加入    void StartGood() ;    //简单开单    long OrderOpen( int type, double volume, int magic, string symbol= "" , string comment= "" , double opprice= 0 , double sl= 0 , double tp= 0 , int expiration= 0 , bool slsetmode= false , bool tpsetmode= false );    //复杂开单
Binance Library MetaTrader 5 connects your Expert Advisors, indicators, and scripts to Binance.com and Binance.US directly from MetaTrader 5. It is a developer library for building custom Binance integrations inside MT5, not a standalone trading robot or copier. The library helps you add Binance instruments to Market Watch, read symbol specifications, load current and historical market data, check wallet balances, manage orders, and track open positions. It supports Spot, USD-M futures, and COI
1. 这是什么 MT5系统自带的优化结果非常少,有时候我们需要研究更多的结果,这个库可以让你在回测优化时可以输出更多的结果。也支持在单次回测时打印更多的策略结果。 2. 产品特色 优化的输出的结果非常多。 可以自定义CustomMax。 输出结果在Common文件夹。 根据EA名称自动命名,且同一个EA多次回测会自动更新名称,不会覆盖上一次的结果。 函数非常简单,你一眼就可以看懂。 #import "More BackTest Results.ex5" // Libraries Folder, Download from the market. //---Set CustomMax void iSetCustomMax( string mode); //---Display multiple strategy results when backtesting alone (not opt). void iOnDeinit(); //--- void iOnTesterInit(); double iOnTester(); void iOnTesterPass( string lang
T5L Library is necessary to use the EAs from TSU Investimentos, IAtrader and others. It contains all the functions framework needed to Expert Advisors working properly.  ツ - The Expert Advisors from  TSU Investimentos does not work without this library,  the T5L library can have updates during the year - At this Library you will find several funcionalities like order sends, buy and sell, trigger entry points check, candlestick analyses, supply and demmand marking and lines, and much more. 
AO Core
Andrey Dik
3.67 (3)
AO Core is the core of the optimization algorithm, it is a library built on the author's HMA (hybrid metaheuristic algorithm) algorithm. Pay attention to the MT5 Optimization Booster product , which makes it very easy to manage the regular MT5 optimizer . An example of using AO Core is described in the article: https://www.mql5.com/ru/articles/14183 https://www.mql5.com/en/blogs/post/756510 This hybrid algorithm is based on a genetic algorithm and contains the best qualities and properties of p
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
GetFFEvents MT5 I tester capability
Hans Alexander Nolawon Djurberg
Want to get all events like Previous/Forecast/Actual values for each news to analyze/predict it? By this simple library you can do it easily,Just import/integrate the library into your system,then get all possible values for each news   Even In Strategy Tester   . Note: Please add the address " https://www.forexfactory.com/ " of news feed at your MT5 tab > Tools > Options > Expert Advisors > Check Allow web request for listed URL. Since the WebRequest() function can't be called from indicator ba
A Simple Moving Average (SMA) is a statistical indicator used in time series analysis. This indicator represents the arithmetic mean of a sequence of values over a specific period of time. SMA is used to smooth short-term fluctuations in data, helping to highlight the overall trend or direction of changes. This aids analysts and traders in better understanding the general dynamics of the time series and identifying potential trends or changes in direction.  More information you can find in Wiki 
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示:单击此处 如果您想与交易面板进行交易,您可能对此产品感兴趣 该产品是加密图表的插件 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示: 单击此处 如果您想与交易面板进行交易, 您可能对
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
Introducing "TG Risk Service Manager" — your comprehensive toolkit for swift and precise risk management and lot size calculations in the dynamic world of trading. Designed to streamline development processes and enhance trading strategies, this indispensable library equips developers with essential tools for optimizing risk assessment and trade profitability. Metatrader4 Version |  All Products  |  Contact   Key Features: Efficient Lot Size Calculation : Harness the power of precise lot size c
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. Metatrader4 Version   |   All Products   |   Contact   Key Features: Unified Interface : TG Trade Service Manager" provides a unified interface for   MQL4   an
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
作者的更多信息
Smart Data Export Indicator 将 MetaTrader 5 中干净的行情数据写入 CSV 或 JSON Lines,列完全由您自行选择,并附带解释每一列含义的数据说明卡(data card),以及可直接粘贴到 ChatGPT、Claude 或任何其他 AI 助手中的快照。 它取代了我的免费 SmartDataExportEa,并重新构建为指标:它与您的智能交易系统(EA)运行在同一张图表上,并且从不交易。不使用 DLL,不发出网络请求。 写出的内容 数据文件 (以逗号或分号分隔的 CSV,或 JSON Lines):每根已收盘的 K 线一行,由旧到新,UTF-8 编码。新 K 线在收盘时追加写入;文件从不重写,因此 Python、Excel 或 Power BI 可以在文件增长的同时读取它。如果其他程序锁定了文件,这些行会等待,稍后再写入。 Data card (数据说明卡,.md):品种规格、服务器时区、列字典(每一列的单位和预热行数),以及质量报告(周末和每日休市间隔、真实的数据缺口、重复的时间戳、波幅尖峰、点差跳变)。 AI snapshot (AI 快
FREE
Gotobi Day and Tokyo Fixing Marker 是一款免费指标,在 MetaTrader 5 图表上标出日本的五十日(Gotobi)、东京定盘时间和日本银行休息日,并在小面板中显示接下来的五十日。 五十日是每月的 5 日、10 日、15 日、20 日、25 日以及月末最后一天。如果这些日子遇上周末或日本银行休息日,则提前到之前最近的东京营业日。许多日本企业在这些日子进行结算,而东京定盘价(日本的银行在日本时间 9:55 确定的参考汇率)尤其在 USDJPY 上备受关注。本指标为 USDJPY 设计,但适用于任何品种和时间周期。如果您在五十日的东京定盘前后交易或测试相关思路,或者只是想知道下一个五十日是哪天,它都能派上用场。 显示内容 五十日 :覆盖东京当天的阴影带(或一条竖线),并带有 "Gotobi 15" 或 "Gotobi 20 (moved)" 等标签。工具提示会说明它对应哪一天,以及定盘的服务器时间。 东京定盘 :日本时间 9:55 的虚线,可选择仅在五十日显示或在每个东京营业日显示。 日本银行休息日 (周一至周五):蓝色带,节日名称显示在工具提示中。这
FREE
Smart Data Export Indicator MT4 将 MetaTrader 4 中干净的行情数据写入 CSV 或 JSON Lines,列完全由您自行选择,并附带解释每一列含义的数据说明卡(data card),可直接用于 Python、Excel 或 ChatGPT、Claude 等 AI 助手。 它取代了我面向 MetaTrader 4 的免费 SmartDataExportEa,并重新构建为指标:它与您的智能交易系统(EA)运行在同一张图表上,并且从不交易。不使用 DLL,不发出网络请求。MetaTrader 5 版本另行提供。 写出的内容 数据文件 (以逗号或分号分隔的 CSV,或 JSON Lines):每根已收盘的 K 线一行,由旧到新,UTF-8 编码。新 K 线在收盘时追加写入;文件从不重写,因此 Python、Excel 或 Power BI 可以在文件增长的同时读取它。如果其他程序锁定了文件,这些行会等待,稍后再写入。 Data card (数据说明卡,.md):品种规格、服务器时区、列字典(每一列的单位和预热行数)、警告、质量报告(周末和每日休市间隔
FREE
Gotobi Day and Tokyo Fixing Marker MT4 是一款免费指标,在 MetaTrader 4 图表上标出日本的五十日(Gotobi)、东京定盘时间和日本银行休息日,并在小面板中显示接下来的五十日。 五十日是每月的 5 日、10 日、15 日、20 日、25 日以及月末最后一天。如果这些日子遇上周末或日本银行休息日,则提前到之前最近的东京营业日。许多日本企业在这些日子进行结算,而东京定盘价(日本的银行在日本时间 9:55 确定的参考汇率)尤其在 USDJPY 上备受关注。本指标为 USDJPY 设计,但适用于任何品种和时间周期。如果您在五十日的东京定盘前后交易或测试相关思路,或者只是想知道下一个五十日是哪天,它都能派上用场。 显示内容 五十日 :覆盖东京当天的阴影带(或一条竖线),并带有 "Gotobi 15" 或 "Gotobi 20 (moved)" 等标签。工具提示会说明它对应哪一天,以及定盘的服务器时间。 东京定盘 :日本时间 9:55 的虚线,可选择仅在五十日显示或在每个东京营业日显示。 日本银行休息日 (周一至周五):蓝色带,节日名称显示在工具提
FREE
Japan Bank Holiday and Gotobi Library MT4 在您自己的 EA、指标或脚本中回答日元市场的日历问题:今天是否为日本银行休息日、是否为五十日(gotobi)、下一次东京定盘价(仲值)在何时,以及按您经纪商的服务器时间,日本现在是几点。 所有规则均通过计算得出,无需更新节假日表。1980-2027 年的结果与日本内阁府公布的国民节假日列表逐日一致。不使用 DLL、不发送网络请求、不读写文件、不含任何交易函数。 可以回答的问题 日本国民节假日,包括调休假日(振替休日)和国民休息日(国民の休日),并给出每个节日的英文名称。 日本银行休息日:周六、周日、国民节假日以及 12 月 31 日至 1 月 3 日。其余日期为营业日。 五十日(gotobi):每月 5、10、15、20、25 日和月末最后一天。若该日为银行休息日,则提前到前一个营业日。 东京定盘价(仲值)的时间:日本时间 09:55。 经纪商服务器时间与日本时间的相互换算。日本不实行夏令时(JST = UTC+9)。 函数 JpIsBankHoliday(date) - 周六、周日、国民节假日及 12
FREE
Nakane USDJPY Gotobi 交易东京市场一个广为人知的规律。在 gotobi 日(日本的结算日:每月 5 日、10 日、15 日、20 日、25 日以及最后一个营业日),USDJPY 往往在 9:55 JST 的东京定盘价之前上涨,之后回吐部分涨幅。EA 在 07:30 JST 买入,在定盘时平仓,随后卖出至 10:30 JST。它只在这些日子的早盘交易。 不使用网格、马丁格尔或摊平加仓。同一时间只持有一个仓位,每笔交易都设有止损。不依赖外部服务,不使用 DLL:Strategy Tester 运行的逻辑与实盘交易完全相同。 工作原理 gotobi 日由 EA 内部计算,考虑周末、日本法定节假日(含补休日)以及年末银行休息日。如果结算日恰逢假日,则使用前一个营业日。 07:30 JST:买入。09:55 JST(东京定盘价):平掉买单并卖出。10:30 JST:平掉卖单。所有时间均自动换算为您的经纪商服务器时间。 每笔交易的止损:2.5 x ATR(H1)。不设止盈;按时间平仓。 如果入场前一小时波动异常(例如汇率干预)或点差过大,则跳过该笔交易。 保护 每笔交易的风险按
Ikioi Bitcoin Momentum 跟随 BTCUSD 数周级别的动量。它每天检查一次两个简单的事实:价格是否高于两周前?是否高于八周前?两者都成立时,买入并持有。两者不一致时,平仓并离场观望。它不使用价格水平,不使用需要优化的指标,也不做预测,只看 2 周和 8 周涨跌的方向。 无网格,无马丁格尔,无摊平加仓。同一时间只持有一个仓位,每笔交易都设有初始止损,并使用追踪止损。不使用外部服务,也不使用 DLL:Strategy Tester 中运行的逻辑与实盘交易完全相同。 工作原理 每天根据已收盘的日线K线做一次判断:2 周涨跌(14 根日线)和 8 周涨跌(56 根日线)。 两者均为正:买入。任一转为负:平仓并等待。默认只做多(AllowShort 可启用卖出)。 初始止损:3 x ATR(D1)。之后,止损以 4 x ATR(D1) 的距离追踪日线最高收盘价。 止损出场后,EA 需等待 3 天才能再次入场。 保护机制 每笔交易的风险按净值的百分比设定,按触及初始止损时的亏损计算(也可使用固定手数)。 基于净值的每日亏损限额。 每次下单前检查:交易时段、止损水平、冻结水平、
Expert Advisor Live Audit 回答每位 EA 用户迟早都会问的问题:我的智能交易系统(EA)是已经失效、只是运气不好,还是被成本吞噬了?该指标会读取此账户的交易历史,按魔术数字(magic number)分组,并为每个 EA 显示它的真实优势、与其回测的对比,以及执行实际付出了多少成本。 这是一个指标:它绝不会开仓、修改或平仓。不使用 DLL,不发出网络请求,也不依赖外部服务。 您将看到的内容 Overview (概览):账户上的每个 EA,包含交易笔数、胜率、盈利因子、净结果、最大回撤、平均每笔交易的 90% 区间,以及状态:OK、WATCH、ALERT 或 EARLY(少于 20 笔交易)。 EA detail (EA 详情):按已平仓交易绘制的净值曲线。输入回测的胜率和盈利因子后,蓝色带会显示回测预期的范围(90%)。您还可以看到有多少条模拟路径比您的实盘结果更差,以及您的回撤和最长连续亏损有多么不寻常。 Trades to be sure (确信所需的交易数):在该 EA 当前的波动率下,平均每笔交易要在统计上显著异于零,需要多少笔交易。EA 常常在 20
Seasonality and Session Lab 展示该交易品种在各个小时、星期几、每月各日、各个月份以及特殊日期(gotobi、月末、每月第一个周五)上的表现,并指出其中哪些规律能够通过诚实的统计检验。 大多数季节性“优势”其实只是噪声:比较 168 个“星期几 × 小时”的格子,仅凭纯粹的偶然,就会有大约八个看起来显著。本指标会对此进行校正,检查样本期的前后两半,并扣除成本。它能够有把握地展示的,是每个小时的波动率和点差特征,您可以将其用于设置止损、目标位和交易时段。 仅为指标:不交易,不使用 DLL,不发出网络请求。适用于任何交易品种和周期。 标签页 Hours (小时):每小时的平均波幅(柱形)、点差(线)和方向(方块),并附有波动最大的小时、交易成本最低的小时(点差占波幅的比例),以及方向通过检验的小时的列表。 Week map (周热力图):“星期几 × 小时”的热力图,显示方向(t 统计量)或波动率(平均波幅)。 Calendar (日历):按每月日期和按月份统计的平均日收益率,以及针对您所选时间窗口的日类型对比(例如用于 gotobi 定盘的东京时间 07:30-
News Impact Statistics 衡量市场在每次经济数据发布时的真实波动幅度——针对该交易品种,使用您的经纪商的价格——并在后续数据发布之前显示其通常的波动幅度。 它使用 MetaTrader 5 内置的经济日历和终端中的价格历史。不发出网络请求,不使用 DLL,也不依赖外部日历数据源。仅为指标:从不交易。 您将看到的内容 Ranking (排行):近几年内与该品种货币相关的所有高重要性数据发布,按发布后 15 分钟的中位数波动排序。同时给出 5 分钟和 60 分钟后的波动、15 分钟振幅、价格顺着数据“意外”(surprise)方向运动的频率、点差扩大幅度,以及距下一次发布的时间。在同一时刻发布的数据(例如非农就业数据和失业率)会被标注出来,以免同一次波动被算作两个信号。 Event detail (事件详情):第一个小时内的典型走势(中位数和中间 50%)、前 25% 的波动,以及最近几次发布的实际值、预测值和日历的判定。 Upcoming (即将发布):未来 7 天内的数据发布及其通常的 15 分钟波动,并在图表上用虚线标出未来 72 小时内的发布(将鼠标悬停在线上可
Time ZeroShot EA
Mikoto Hamazono
真正的 AI 在这个 EA 内部运行。 Time ZeroShot EA 交易 USDJPY gotobi 日东京定盘价 ,大约 每月 6 个早盘 (每个早盘最多 2 笔),并在 数周动量 一致时持有 BTCUSD 多单数天至数周。面板始终显示下一笔交易的日期和时间。 这个 AI 是 IBM Research 开源的时间序列模型 Granite TTM-R2 (出自被 NeurIPS 2024 接收的论文,在约 7 亿个样本上预训练),已嵌入 EA。每次 gotobi 交易时,它都会重新读取最近 512 根 H1 K线,预测未来 4 小时价格可能波动多远, 止损会随着这个预测放宽或收紧 。当它预计早盘波动异常剧烈时,EA 就不交易。无需 API 密钥、无需服务器、没有月费——它在 Strategy Tester 中同样运行,您可以亲眼看到它的工作方式。 两套规则决定“何时”和“哪个方向” USDJPY — gotobi 日东京定盘价。 在日本的结算日(每月 5 日、10 日、15 日、20 日、25 日以及月末,如遇非营业日则提前到前一个营业日),EA 在 07:30 JST 买入,在
Namiyomi Zero Shot Range 使用在 MetaTrader 5 内部运行的零样本时间序列 AI,预测价格在接下来 1、4 和 24 小时内可能波动多远,也就是预期的高低价区间(最高价与最低价之差)。它不预测方向。 您会看到的内容 Now (当前)— 接下来 1、4 和 24 小时的预期高低价区间(5 位和 3 位小数报价以 pips 为单位;BTCUSD 以价格表示),以及今天的 4 小时预测与过去 20 天同一时刻所做 4 小时预测的中位数相比如何:Calm(平静)、Normal(正常)或 Wild(剧烈)。 Lot helper (手数计算,位于 Now 选项卡中)— 把止损设在 4 小时区间的某个倍数处(在输入参数中设置),即可看到与您的风险百分比相符的手数。本指标从不进行交易。 Track record (预测回顾)— 指标会在您的图表上重现它自己的预测:线是在每个 4 小时时段开始前做出的预测,点是实际发生的情况,预测与实际区间的相关系数与 ATR(14) x 2 的相关系数并列显示。您可以用自己经纪商的数据亲自核对。 About (关于)— AI 模型、
筛选:
无评论
回复评论