Japan Bank Holiday and Gotobi Library MT4

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

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 月 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 的偏移(秒)(自动:TimeCurrent() - TimeGMT(),按 15 分钟取整)。
  • JpSetServerGmtOffset(seconds) - 固定偏移,例如 GMT+2 为 7200。
  • JpSetServerTimeZone(seconds, rule) - 非夏令时期间的偏移加夏令时规则:0 无,1 美国,2 欧盟。
  • JpSetServerGmtOffsetAuto() - 恢复自动偏移(默认)。
  • JpLibraryVersion() - 版本号 "1.00"。

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

使用方法

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

#import "Market\\Japan Bank Holiday and Gotobi Library MT4.ex4"
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()。若在测试器中使用自动偏移,本库会在测试器日志中输出一次提示。
  • MT4 没有 TimeTradeServer(),因此自动偏移使用 TimeCurrent(),即最后一笔报价的时间。报价持续到来时它是正确的;终端刚启动时或休市期间可能不正确(超出 -12 至 +14 小时范围的值会被忽略)。在 MT4 中,用 JpSetServerTimeZone() 设置偏移更为稳妥。
  • 自动偏移是当前的偏移。若要跨越夏令时切换来换算历史 K 线,请用 JpSetServerTimeZone() 设置服务器的规则。
  • 设置只对调用它的程序生效:请在每个 EA 或指标的 OnInit() 中调用。
  • JpGotobiDaysOfMonth() 需要动态数组:datetime days[];
  • 结果按年缓存;同一年内重复调用一次约需 0.1 微秒。

技术支持

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

推荐产品
RedeeCash Statistics
Patrick Odonnell Ingle
1 (1)
Version History Date Version Changes 07/10/2022 1.00 Initial release Description A collection of modern statistical functions that can be integrated into your own strategy. The included functions are, Mean Median Range Skew Max Min IRange Deviations AbsoluteDeviations MAD StandardDeviation Variance GetCorrelation SamplingDistributionStandardDeviation ZScore CorrelationCoefficient CoVariance Beta Confidence SNormInv PercentOfValue ValueOfPercent MQL Header (mqh) The required header is //+--------
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. Th
FREE
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
Market Profile 3
Hussien Abdeltwab Hussien Ryad
3 (2)
Market Profile 3 MetaTrader 4 indicator  — is a classic Market Profile implementation that can show the price density over time, outlining the most important price levels, value area, and control value of a given trading session. This indicator can be attached to timeframes between M1 and D1 and will show the Market Profile for daily, weekly, monthly, or even intraday sessions. Lower timeframes offer higher precision. Higher timeframes are recommended for better visibility. It is also possible t
FREE
FVG Zone MT4
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/147694 告别手动绘制区域。隆重推出 Fair Value Gap (FVG) Free Edition 。这款轻量且高精度的指标可在图表上自动检测并绘制核心失衡区,帮助您识别机构足迹,省去繁琐的手动图标标记。让算法完成繁重的工作,以便您专注于交易执行。 免费版核心功能: 完全自动化的 FVG 检测: 以数学精度即时勾勒出看涨和看跌的公允价值缺口。 实时区域状态: 轻松区分新鲜(未触及)和已缓解(已测试)的
FREE
Trend Mate Scanner
ANGEL CALLE CRUZ
5 (1)
This product is based on the single indicator TREND MATE. Link: https://www.mql5.com/es/market/product/50082 The aim of this EA is to watch for all pairs in a single panel in order to have a quick view of changes or new uptrends/downtrends. It is possible to watch from your mobile by sending push notifications when changes appear. If you want to have all push notifications for even exit trends you may receive multiple messages.
FREE
BlueDigitsFx Open Trades
Ziggy Janssen
4.89 (27)
BlueDigitsFx 官方生态系统入口 此免费工具是 BlueDigitsFx 交易基础设施生态系统的一部分。 通过 BlueDigitsFx 官方机器人获取更新、工作流程资源、产品发布信息以及官方生态系统访问权限。 Telegram 生态系统 官方网站 MT5 版本 BlueDigitsFx Open Trades MT4 —— 用于主动交易管理的实时点数监控工具 BlueDigitsFx Open Trades 是一款免费的 MT4 工具,可直接在图表上实时显示所有未平仓交易的总点数结果。 该工具采用清晰的颜色编码显示方式,帮助交易者快速识别盈利和亏损仓位,并监控多个活跃交易及货币对的整体表现。 它专为希望获得更清晰交易视图、更快速仓位监控以及无需频繁切换多个窗口即可管理交易会话的交易者而设计。 通过在图表上持续显示未平仓交易的整体表现,交易者无需频繁打开 MetaTrader 终端窗口即可更快做出反应。 主要功能 实时点数显示 —— 直接在图表上监控所有未平仓交易的总点数结果。 颜色编码交易概览 —— 快速识别正收益和负收益交易表现。 多交易监控 —— 适用于同时
FREE
Zig Zag 123
Stephen Reynolds
Zig Zag 123 tells us when a reversal or continuation is more likely by looking at the shift in supply and demand. When this happens a signature pattern appears known as 123 (also known ABC) will often break out in direction of higher low or lower high. Stop loss and take profit levels have been added. There is a panel that shows the overall performance of your trades for if you was to use these stop loss and take profit levels.  We get alerted if a pattern 123 appears and also if the price re
FREE
Base Trading System
Che Jeib Che Said
2.5 (2)
For Multi Time Frame version, please click here. BASE TRADING SYSTEM is a useful tool to trade with simple strategy. It draws automatically base up for long trade and base down for short trade. Clear trade when base is going opposite direction. User can trade by instant market entry or by pending order entry. It depends on user best strategy. input: Base Box Color- UP base box , DOWN base box, UP base shadow, Down base shadow.
FREE
Perfect for one minutes high trading and scalping. This indicator is very effective for trading on one minutes, in the hour. A combination of moving averages and STOCHASTICS calculation to produce a very convincing signal every hour. Blue colour signals a buy opportunity. Follow the X signs for possible buy points. The Blue average line serves as possible trend direction and support. Red colour signals a sell opportunity. Follow the X signs for possible sell points. The Red average line serves a
FREE
Session High Low
Jerome Asiusin
This indicator help to mark the high and low of the session Asian,London,Newyork , with custom hour setting This indicator is set to count from minute candle so it will move with the current market and stop at the designated hour and create a accurate line for the day. below is the customization that you can adjust : Input Descriptions EnableAsian Enables or disables the display of Asian session high and low levels. EnableLondon Enables or disables the display of London session high and
FREE
Go trend I
Alberto Sassetti
L'indicatore Go Trend è un indicatore personalizzato per MetaTrader 4 (MT4) basato su una logica di ZigZag con tre livelli di periodi diversi. Questo indicatore è progettato per identificare i punti di inversione del prezzo (massimi e minimi) su diversi timeframe, aiutando i trader a individuare potenziali trend e punti di ingresso/uscita nel mercato. Funzionalità Principali Identificazione dei Punti di Inversione (ZigZag) L'indicatore utilizza una logica di ZigZag per tracciare linee che coll
FREE
======================================================== GOLD WAVE LEVELS (ELLIOTT-ALIGNED) - MQL5/MT4 MARKET DESCRIPTION (formatting: **bold** = Bold button; lines with • = bullet list; UPPERCASE = heading) ======================================================== OVERVIEW ------------------------------------------------------- **Gold Wave Levels** draws a tested wave backbone for gold and validates signals against **Elliott theory hard-rules**, with higher-timeframe context and per-timeframe
FREE
MT Supply Demand
Issara Seeboonrueang
4 (4)
We provide indicators tailored to better meet your trading requirements.       >>  MT Magical  << MT Supply Demand : It is an indicator created to find supply and demand, which will be important support and resistance levels for the price.  Supply Zone   is a zone where the price has reached, it is often resisted. In other words, when the price reaches this zone, there will be more selling power to push the price back down. Demand Zone   is a zone where the price has reached, it is ofte
FREE
High Low Open Close MT4
Alexandre Borela
4.81 (21)
如果你象这个项目一样,就有5个饥饿审查。 这项指标采用了既定价格的公开、高、低价和关闭价格 可以对特定时间区加以调整。 许多机构和专业人士都认为这些是重要的。 贸易商可以为你了解他们可能更进一步的地点, 积极。 现有期间为: 前一日。 前一星期。 曾任Month。 曾任。 前一年。 或: 目前日。 目前周。 目前 Month。 目前配额。 今年。
FREE
Vanda FX
Sayan Vandenhout
5 (2)
Vanda FX USES THE TREND WAVE INDICATOR AND IT CAN IDENTIFY THE BEGINNING AND THE END OF A NEW WAVE TREND MOVEMENT. AS AN OSCILLATOR, THE INDICATOR IDENTIFIES THE OVERBOUGHT AND OVERSOLD ZONES. IT WORKS GREAT TO CATCH THE SHORT TERM PRICE REVERSALS AND USES A MARTINGALE STRATEGY TO CLOSE ALL TRADES IN PROFIT. USE DEFAULT SETTINGS ON H1 OR HIGHER TIME FRAME ON ANY PAIR FOR MORE ACCURATE TRADES WHY THIS EA : Smart entries calculated by 4 great strategies The EA can be run on even a $20000 acc
FREE
FFx Force Index
Eric Venturi-Bloxs
5 (1)
The purpose of this new version of the MT4 standard indicator provided in your platform is to display in a sub-window multiple timeframes of the same indicator. See the example shown in the picture below. But the display isn’t like a simple MTF indicator. This is the real display of the indicator on its timeframe. Here's the options available in the FFx indicator: Select the timeframes to be displayed (M1 to Monthly) Define the width (number of bars) for each timeframe box Alert pop up/sound/ema
FREE
Enhanced Volume Profile: The Ultimate Order Flow & Liquidity Analysis Tool Overview Enhanced Volume Profile   is an indicator for MetaTrader 5 that displays the traded volume at specific price levels over a defined period. It separates the total volume into buy and sell components, presenting them as a side-by-side histogram on the chart. This allows users to observe the volume distribution and the proportion of buy and sell volumes at each price level. Graphics Rendering The indicator uses t
FREE
OVERVIEW Liquidity Sweep Hunter  identifies liquidity highs and lows across three different lookback periods and keeps them active until they are mitigated. This creates a persistent view of where resting liquidity has formed instead of only showing the latest swing points. The indicator also displays a heatmap that highlights the relative strength of active liquidity levels and generates reversal signals after price sweeps multiple visible liquidity bands before reclaiming them. Optional tr
FREE
Automated Timeframe cycling with Symbols centered.  Force every timeframe onto one clock window, so the story you see on Daily is the same story you are slicing on H4, H1, and M1.  Traders usually flip timeframes and lose the span. A Daily chart shows a few weeks, then M15 shows a few hours, and the eye treats them as different markets. TASSERACT locks the window to N bars of the highest enabled timeframe — default 10 Daily — and maps every lower timeframe to that same stretch. You stay inside o
FREE
Two Period RSI
Libertas LLC
5 (4)
Two Period RSI compares long-term and short-term RSI lines, and plots a fill between them for improved visualization. Fill is colored differently according to an uptrend (short period RSI above long period RSI) or a downtrend (short period RSI below long period RSI). Short-term RSI crossing long-term RSI adds a more robust trend confirmation signal than using single period RSI alone. This is a small tool to help visualize and confirm RSI trends. We hope you enjoy! Looking for RSI alerts? You can
FREE
The Saz_Timer indicator belongs to the Saz_Forex suite of professional indicators designed by Traders, for Traders. This indicator will show minutes and seconds of real time on the chart window. The indicator uses the OnTimer() event so it can update even while no ticks received on the chart. The text is shown toward the bottom right of the chart, encircled red in the screenshot. Inputs: Text Colour, allows selection of the colour for the text.
FREE
VR Orders History
Vladimir Pastushak
5 (4)
The VR Orders History script is designed to upload a trade report to a csv file. This format is intended for additional analysis of trading history in programs such as EXCEL, Openoffice, and Libreoffice. Thanks to the script, it is now much easier for a trader to analyze their trading history. The program facilitates the analysis of the trading history for the MetaTrader 5 terminal. The trader sees structured trading. The entire report is based on the following principle: Position > Order on the
FREE
Traditional MACD MT4
Daniel Lewis
4.59 (56)
MetaTrader 4/5 中的 MACD 指标看上去与其它许多图表软件里的 MACD 不同。这是因为 MetaTrader 4/5 版本的 MACD 显示 MACD 曲线作为直方图,而传统上显示为曲线。此外,MetaTrader 4/5 版本使用 SMA 计算信号线,而根据 MACD 的定义,它应该使用 EMA。MetaTrader 4/5 版本也不计算实际的 MACD 直方图 (即 MACD 与信号线之间的差异)。这可能对那些 MetaTrader 4/5 的新手带来困惑,因为将 MACD 线显示为直方图,而未提供实际的 MACD 直方图。 这款指标按照其创造者 (Gerald Appel) 的定义显示 MACD,如同其它图表软件里显示的那样。而 MACD 线的计算采用 "快速" EMA 和 "慢速" EMA 之间的差异。信号线是 MACD 线的 EMA。MACD 直方图是MACD 和信号线之间的差异 (MACD 直方图可自行作为可靠的用作背离信号)。 True/False 启用开关,您可以显示/隐藏 MACD/信号线,以及 MACD 直方图。
FREE
SRP (Strong Retracement/Reversal Points) is a powerful and unique support and resistance indicator. It displays the closest important levels which we expect the price retracement/reversal! If all level are broken from one side, it recalculates and draws new support and resistance levels, so the levels might be valid for several days depending on the market! Key Features You can use it in all time-frames smaller than daily! Displays closest significant support and resistance levels Update the le
FREE
YOU CAN NOW DOWNLOAD FREE VERSIONS OF OUR PAID INDICATORS . IT'S OUR WAY OF GIVING BACK TO THE COMMUNITY ! >>>    GO HERE TO DOWNLOAD Camarilla Pivots Historical plots the historical data of the camarilla pivot point levels on the chart. The Camarilla Pivot levels was originated in 1989 by Nick Scott. The levels are used as primary support and resistance levels by Intraday traders. The levels are calculated with the following formula: R4 = C + RANGE * 1.1/2 R3 = C + RANGE * 1.1/4 R2 = C + RANG
FREE
Wise Men Indicator demo
Bohdan Kasyanenko
3 (2)
The indicator displays signals according to the strategy of Bill Williams on the chart. Demo version of the indicator has the same features as the paid, except that it can work only on a demo account . Signal "First Wise Man" is formed when there is a divergent bar with angulation.  Bullish divergent bar - with lower minimum and closing price in the upper half. Bearish divergent bar - higher maximum and the closing price at the bottom half. Angulation is formed when all three lines of Alligator
FREE
FFx MACD
Eric Venturi-Bloxs
4.2 (5)
在您的平台上提供新版 MT4 标准指标的目的,是在子窗口里显示多时间帧的相同指标。参看下面例中的图片。 但是显示结果不像简单的多时间帧指标。它是指标在其时间帧的实际显示。 在 FFx 指标里提供了一些选项: 选择显示的时间帧 (M1 至 每月) 定义每个时间帧箱体的宽度 (柱线数量) 弹出提示/声音/邮件/推送 (直方图与信号线检查,且/或直方图与 0 轴交叉) 直接在图表上激活/停用提示 修改所有颜色 ... 当然还有所有标准指标的常用设置 如何设置提示: 在弹出的参数设置 : 选择您希望的提示和模式 (弹出、声音、邮件或推送通知) 之后在图表上 : 选择铃铛图标 (双击) 然后将其拖拽到任意位置。在下一个报价来临,它将恢复它的原始位置,但用不同颜色信号改变它的状态。红色变为绿色表示现在激活,而从绿色变为红色意思是停用了。
FREE
Mirror chart
Salavat Yulamanov
4.5 (2)
該指標在一張圖表上顯示兩個不同的貨幣對,旨在簡化顯示的信息,   能夠使用終端機中幾乎所有可用的工具(不僅是貨幣對,還包括金屬和原料)。 對任何貨幣對使用視覺關聯方法的特點 子符號。 貨幣對以彩色蠟燭顯示在螢幕上。 這是同一相關對。 鏡像。 輔助貨幣。 此指標反映了兩種類型的相關性。 設定 子交易品種 = "美元兌瑞郎";   BullBarColor = 橘紅;   BearBarColor = 黃色;   顏色網格顏色=白色;   鏡像=假; The indicator displays two different pairs on one chart, designed to simplify the displayed information,   Capable of working with almost all instruments available in the terminal (not only currency pairs, but also metals and raw materials). Feature of using a visual c
FREE
Trend Monitor for MT4
STE S.S.COMPANY
4.23 (39)
自定义 MT5 (Metatrader 5) 指标,用于分析趋势和波动率分析器指标。此外,它确定了适用于大多数货币对和时间框架的趋势的开始和结束。 总之,我们根据超级趋势公式对其进行了编码,以通过添加波动率分析器来更加准确。 您是否正在寻找良好且可靠的支撑和阻力指标,请尝试我们的多合一水平指标(回调区、强支撑/阻力区、市场结构筛选器等。要获得 , 点击这里。 主要特点 确定趋势的开始和结束。 轻松识别趋势的强度(最大增加和最大减少) 确定市场修正。 ( 弱趋势 ) 在 Potentiel 趋势开始时获得警报。 优势 使用所有货币对(外汇、加密货币、指数和商品) 处理所有时间范围。 (推荐时间范围:H1 和 H4 时间范围) 警报生成器。 (弹出警报,推送通知警报...等) 文件(说明) 所有趋势监视器指标、文档(说明)均可在我们 MQL5 博客的这篇文章中找到: 单击此处。 警告 我们所有的指标都只能通过官方 Metatrader 商店(MQL5 市场)获得。 通过访问我们的 MQL5 配置文件,您将找到我们所有的指标和 EA(免费和付费)。 要访问我们的 MQL5 配
FREE
该产品的买家也购买
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-
实盘交易盈利,回测年化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
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
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
AutoClose Expert
Josue Fernando Servellon Fuentes
MQT AutoClose Expert closes your orders automatically once they reach the profit target you set — in real pips (with a separate target for gold) or in account money. Open your trades as you always do; the EA watches every position on every symbol and locks the profit in for you. It never opens trades. How it works (logic summary): Every tick and every 500 ms it scans all open market orders. Pending orders are never touched. Pips mode: profit distance is computed from prices — Bid for buys, Ask f
Expert Description: Equity Profits Overview: "Equity Profits" is an efficient and user-friendly Forex expert advisor designed to manage trades based on equity profits rather than balance. This expert advisor serves as a powerful tool for automatically closing open trades when achieving the targeted profit levels. Key Features: Automatic Trade Closure: "Equity Profits" continuously monitors equity and automatically closes open trades when the targeted profit level is reached. Customizable Profit
GetFFEvents MT4 I tester capability
Hans Alexander Nolawon Djurberg
5 (2)
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 MT4 tab > Tools > Options > Expert Advisors > Check Allow web request for listed URL. Since the WebRequest() function can't be called from indicator based
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. Metatrader5 Version   | All Products | Contact Key Features: Efficient Lot Size Calculation : Harness the power of precise lot size comp
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
This trailing stop application will helping trader to set the trailing stop value for many open positions, that apply a grid or martingale strategy as a solution. So if you apply a grid or martingale strategy (either using an EA or trading manually), and you don't have an application to set a trailing stop, then this application is the solution. For EAs with a single shot strategy, just use the FREE trailing stop application which I have also shared on this forum.
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 该产品允许通过API进行交易操作,不包括图表。 用户可以使用提供加密图表的经纪商的图表并向币安发送订单 - 支持单向和对冲模式 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 脚本文档 1 小时编程教程,帮助初学者使用 MQL5 编写一个简单的 EA,将订单发送到币安 https://www.youtube.com/watch?v=d_r4j2V77mY 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 该产品允许通过API进行交易操作,不包括图表。 用户可以使用提供加密图表的经纪商的图表并向币安发送订单 - 支持单向和对冲模式 - 下限价、止损限价和止盈限价订单 - 下达市场订单、
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
Niguru Amazing Gold
Nino Guevara Ruwano
"Niguru Amazing Gold" is an EA specifically for Gold. This EA works in single shot, and does not use martingale or grid. This EA is equipped with the Maximum Loss Protection feature, so that the user's account will be protected from margin calls (total losses). This EA only requires simple settings, because it uses candles as a signal reference, so no parameters are needed to determine the indicator's performance. Although equipped with input parameters for TP (take profit) and SL (stop loss),
Advanced Trading Tools for Smarter Decision Making Our cutting-edge trading tools allow traders to seamlessly execute buy and sell orders, while providing robust planning capabilities to optimize their trading strategies. Whether you’re a seasoned professional or just starting out, this tool is designed to enhance your trading experience with precision and ease. Key Features: Real-time Buy and Sell Execution: Easily place orders instantly and take advantage of market opportunities without del
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
Niguru Bollinger Pro for MT4
Nino Guevara Ruwano
1 (1)
Introducing Your New Go-To Trading EA! Boost your trading performance with this Bollinger Bands-based Expert Advisor, specially designed for XAU (Gold) and various Forex pairs. Why this EA is a must-have: Clean, user-friendly interface – perfect for all trader levels Built-in Hidden Take Profit & Stop Loss for added strategy security Ideal for both beginners and experienced traders Ready to use out of the box – no complex setup required. Trade smarter, not harder!
Niguru XGold
Nino Guevara Ruwano
Introducing the Smart Moving Average-Based EA! Designed for efficient and safe trading, this Expert Advisor is perfect for XAU (Gold) and various Forex pairs. Key Benefits: Simple, user-friendly interface – great for beginners and experienced traders alike No need for TP or SL – each trade automatically closes based on the opposite price signal Single Shot Mode – for better control Safer strategy – no Martingale, no Grid Ready to run with no complicated setup – the ideal choi
作者的更多信息
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
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 模型、
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 月 3
FREE
筛选:
无评论
回复评论