Japan Bank Holiday and Gotobi Library MT4

Japan Bank Holiday and Gotobi Library MT4 answers the calendar questions of the yen market inside your own Expert Advisor, indicator or script: is today a Japanese bank holiday, is it a gotobi day, when is the next Tokyo fixing, and what time is it in Japan on your broker's server.

All rules are calculated, so there is no holiday table to update. For 1980-2027 the results match the Cabinet Office list of Japanese national holidays day by day. No DLL, no web requests, no files, no trading functions.

What it answers

  • Japanese national holidays, including substitute holidays and citizens' holidays, with the English name of each holiday.
  • Japanese bank holidays: Saturdays, Sundays, national holidays and December 31 - January 3. All other days are business days.
  • Gotobi days: the 5th, 10th, 15th, 20th, 25th and the last day of the month. When that day is a bank holiday, the gotobi moves to the previous business day.
  • The Tokyo fixing time: 09:55 Japan time.
  • Broker server time to Japan time and back. Japan has no summer time (JST = UTC+9).

Functions

  • JpIsBankHoliday(date) - true on Saturdays, Sundays, national holidays and December 31 - January 3.
  • JpIsBusinessDay(date) - true on Tokyo bank business days.
  • JpIsNationalHoliday(date) - true on national holidays, including substitute and citizens' holidays.
  • JpHolidayName(date) - the English name, for example "Marine Day", "Substitute Holiday" or "Bank Holiday"; an empty string on other days.
  • JpIsGotobi(date) - true on gotobi days.
  • JpGotobiDaysOfMonth(year, month, days[]) - all gotobi days of a month; returns the count.
  • JpNextGotobi(date) / JpPrevGotobi(date) - the first gotobi on or after the date / the last gotobi on or before the date.
  • JpTokyoFixing(date) - 09:55 Japan time of that day.
  • JpNowJst() - the current Japan time.
  • JpServerToJst(time) / JpJstToServer(time) - converts between server time and Japan time.
  • JpServerGmtOffsetSeconds() - the server's GMT offset in seconds (automatic: TimeCurrent() - TimeGMT(), rounded to 15 minutes).
  • JpSetServerGmtOffset(seconds) - a fixed offset, for example 7200 for GMT+2.
  • JpSetServerTimeZone(seconds, rule) - the offset outside summer time and a summer time rule: 0 none, 1 US, 2 EU.
  • JpSetServerGmtOffsetAuto() - back to the automatic offset (default).
  • JpLibraryVersion() - the version, "1.00".

Date arguments are Japan time; any time of the day can be passed. Holiday and gotobi dates are returned as 00:00 Japan time.

How to use it

The Market installs the library as MQL4\Libraries\Market\Japan Bank Holiday and Gotobi Library MT4.ex4. Paste this import block at the top of your program (or save it as MQL4\Include\JpMarketCalendar.mqh and include that file):

#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

Example for an Expert Advisor:

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));
  }

Rules used

  • Act on National Holidays as amended: fixed dates, Monday holidays (Coming of Age Day and Health and Sports Day from 2000, Marine Day and Respect for the Aged Day from 2003), Mountain Day from 2016, the Emperor's Birthday by era, and the moved days of 2020 and 2021.
  • Substitute holiday: when a national holiday falls on a Sunday, the next day that is not a national holiday is a holiday (from 2007; before that, only the next day).
  • Citizens' holiday: a day between two national holidays (from 1986), for example September 22, 2026.
  • One-off holidays: 1989-02-24, 1990-11-12, 1993-06-09, 2019-05-01 and 2019-10-22.
  • Equinox days: the standard approximation formula, valid for 1980-2099. It gives the official date in every year up to 2027 and agrees with an astronomical calculation in every year to 2099. The government announces each equinox day in February of the previous year.
  • Bank holidays: Saturdays, Sundays, national holidays and December 31 - January 3 (Banking Act; today's rule is applied to every year).
  • Gotobi: on a bank holiday the day moves to the previous business day of the same month. If the 5th would move into the previous month (for example in May 2027), that business day is already the previous month's month-end gotobi, so it is listed only there.

Things to know

  • Valid years: 1980-2099. Outside this range the functions return false, 0, an empty string or -1.
  • Strategy Tester: there TimeGMT() returns the server time, so the automatic offset is 0. Call JpSetServerGmtOffset() or JpSetServerTimeZone() in OnInit(), as in the example. When the automatic offset is used in the tester, the library writes one reminder to the tester journal.
  • MT4 has no TimeTradeServer(), so the automatic offset uses TimeCurrent(), the time of the last quote. It is right while quotes are coming in; right after the terminal starts or while the market is closed it can be wrong (a value outside -12 to +14 hours is ignored). In MT4, setting the offset with JpSetServerTimeZone() is the safe choice.
  • The automatic offset is the current offset. To convert past bars across a summer time change, set the server's rule with JpSetServerTimeZone().
  • Settings apply to the program that calls them: call them in OnInit() of each Expert Advisor or indicator.
  • JpGotobiDaysOfMonth() needs a dynamic array: datetime days[];
  • Results are cached per year; a repeated call within the same year takes about 0.1 microseconds.

Support

If anything is unclear, please send me a private message on MQL5.

Recommended products
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 - Automated Smart Money Footprints In the ICT (Inner Circle Trader) and Smart Money Concepts (SMC) methodology, a Fair Value Gap (FVG)—also known as an Imbalance—occurs when the price moves with extreme momentum, leaving behind a void of liquidity. These unfilled gaps act as magnets for future price action, making them the most high-probability retracement and entry zones for professional traders. Pro Version Link: https://www.mql5.com/en/market/product/147694 S
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)
Free BlueDigitsFx Utility + Ecosystem Access This free tool is part of the BlueDigitsFx trading infrastructure ecosystem. Get updates, workflow resources, product releases, and official ecosystem access through the BlueDigitsFx bot. Telegram Ecosystem Website MT5 Version BlueDigitsFx Open Trades MT4 — Real-Time Pip Monitor for Active Trade Management BlueDigitsFx Open Trades is a free MT4 utility that displays the total pip result from all open trades directly on your chart in real time. The
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
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)
If you like this project, leave a 5 star review. This indicator draws the open, high, low and closing prices for the specified period and it can be adjusted for a specific timezone. These are important levels looked by many institutional and professional traders and can be useful for you to know the places where they might be more active. The available periods are: Previous Day. Previous Week. Previous Month. Previous Quarter. Previous year. Or: Current Day. Current Week. Current Month. Current
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)
MACD indicator in MetaTrader 4/5 looks different than MACD does in most other charting software. That is because the MetaTrader 4/5 version of MACD displays the MACD line as a histogram when it is traditionally displayed as a line. Additionally, the MetaTrader 4/5 version computes the Signal line using an SMA, while according to MACD definition it is supposed to be an EMA. The MetaTrader 4/5 version also does not compute a true MACD Histogram (the difference between the MACD/Signal lines). This
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)
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
Mirror chart
Salavat Yulamanov
4.5 (2)
The indicator, which displays two different pairs on one chart, is designed to simplify the displayed information,   Able to work with almost all instruments available in the terminal (not only currency pairs, but also metals, raw materials). Feature of using the visual correlation method for any currency pairs subsymbol. The currency pair is displayed on the screen with colored candles. This is the same correlated pair. mirroring. auxiliary currency. The indicator reflects two types of correl
FREE
Trend Monitor for MT4
STE S.S.COMPANY
4.23 (39)
Introducing our latest offering in the world of trading indicators: the Moving Average Angle Histogram Indicator, now available for free download on the MQL5 market! Designed to revolutionize the way you identify trend direction, this powerful tool employs a unique histogram visualization coupled with moving average angles to provide you with unparalleled insights into market dynamics. LIMITED TIME OFFER: All our premium indicators are available for only 50$, by accessing our MQL5 blog you will
FREE
Buyers of this product also purchase
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
DATE VERSION DESCRIPTION OF CHANGES 2011-09-11 Manual Algorithm first created as manual equation 2011-09-16  WEB API Web API launched on 4xlots.com 2022-09-02  1.00  standalone library released  RedeeCash 4XLOTS library is a localized risk management library based on the 4xlots.com WEB API algorithm. This risk management algorithm is not dependent on currency as the quick lot size equation of,       lots = AccountEquity / 10000 which is for every $100 of account equity will have 0.01 lot. The R
[ 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.
This library will allow you to manage trades using any of your EA and its very easy to integrate on any EA which you can do yourself with the script code which is mentioned in description and also demo examples on video which shows the complete process. This product allows trading operations via API and does not include charts. Users may use charts from brokers who provides Crypto and send orders to binance - Supports One way and Hedge Mode - Place Limit, SL Limit and Take Profit Limit Orders -
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
More from author
Smart Data Export Indicator writes clean market data from MetaTrader 5 to CSV or JSON Lines - with exactly the columns you choose, a data card that explains every column, and a paste-ready snapshot for ChatGPT, Claude or any other AI assistant. It replaces my free SmartDataExportEa and is rebuilt as an indicator: it runs on the same chart as your Expert Advisor, and it never trades. No DLL, no web requests. What it writes Data file (CSV with comma or semicolon, or JSON Lines): one row per closed
FREE
Gotobi Day and Tokyo Fixing Marker is a free indicator that marks the Japanese gotobi days, the Tokyo fixing time and Japanese bank holidays on your MetaTrader 5 chart, and shows the next gotobi days in a small panel. Gotobi days are the 5th, 10th, 15th, 20th and 25th of each month and the last day of the month. When one of these days falls on a weekend or a Japanese bank holiday, it moves to the previous Tokyo business day. Many Japanese companies settle payments on these days, and the Tokyo fi
FREE
Smart Data Export Indicator MT4 writes clean market data from MetaTrader 4 to CSV or JSON Lines - with exactly the columns you choose and a data card that explains every column, ready for Python, Excel or an AI assistant such as ChatGPT or Claude. It replaces my free SmartDataExportEa for MetaTrader 4 and is rebuilt as an indicator: it runs on the same chart as your Expert Advisor, and it never trades. No DLL, no web requests. A MetaTrader 5 version is available separately. What it writes Data f
FREE
Gotobi Day and Tokyo Fixing Marker MT4 is a free indicator that marks the Japanese gotobi days, the Tokyo fixing time and Japanese bank holidays on your MetaTrader 4 chart, and shows the next gotobi days in a small panel. Gotobi days are the 5th, 10th, 15th, 20th and 25th of each month and the last day of the month. When one of these days falls on a weekend or a Japanese bank holiday, it moves to the previous Tokyo business day. Many Japanese companies settle payments on these days, and the Toky
FREE
Nakane USDJPY Gotobi trades one well-known pattern of the Tokyo market. On gotobi days (Japanese settlement days: the 5th, 10th, 15th, 20th, 25th and the last business day of the month), USDJPY has tended to rise into the Tokyo fixing at 9:55 JST and to give part of it back afterwards. The EA buys at 07:30 JST, closes at the fixing, then sells until 10:30 JST. It trades only on those mornings. No grid, no martingale, no averaging. One position at a time, and every trade has a stop-loss. No exter
Ikioi Bitcoin Momentum follows multi-week momentum on BTCUSD. Once a day it checks two simple facts: is the price higher than two weeks ago, and higher than eight weeks ago? When both are true, it buys and holds. When they disagree, it closes and stays out. It uses no price levels, no indicators to optimise and no predictions, only the direction of the 2-week and 8-week moves. No grid, no martingale, no averaging. One position at a time, an initial stop-loss on every trade and a trailing stop. N
Expert Advisor Live Audit answers the question every EA user asks sooner or later: is my Expert Advisor broken, just unlucky, or eaten by costs? It reads the trade history of this account, groups it by magic number and shows, for each EA, its real edge, how it compares with its backtest, and what execution really cost. It is an indicator: it never opens, modifies or closes a trade. No DLL, no web requests, no external services. What you see Overview : every EA on the account with trades, win rat
Seasonality and Session Lab shows how this symbol behaves by hour, weekday, day of month, month and special days (gotobi, month end, first Friday) - and which of those patterns survive an honest statistical test. Most seasonal "edges" are noise: compare 168 weekday-hour cells and about eight of them will look significant by pure chance. This indicator corrects for that, checks both halves of the period and subtracts the cost. What it shows with confidence is the volatility and spread profile of
News Impact Statistics measures how much the market really moves on each economic release - on this symbol, with your broker's prices - and shows the usual move of the next releases before they happen. It uses the economic calendar built into MetaTrader 5 and the price history in your terminal. No web requests, no DLL, no external calendar feed. Indicator only: it never trades. What you see Ranking : every high-importance release for the symbol's currencies over the last years, sorted by the med
Time ZeroShot EA
Mikoto Hamazono
A real AI runs inside this EA. Time ZeroShot EA trades the USDJPY gotobi Tokyo fixing on about 6 mornings a month (up to 2 trades each) and holds a BTCUSD long for days to weeks when its multi-week momentum agrees. The panel always shows the date and time of the next trade. The AI is Granite TTM-R2, a time-series model open-sourced by IBM Research (from a NeurIPS 2024 paper, pre-trained on about 700 million samples), built into the EA. At every gotobi trade it re-reads the last 512 hourly bars a
Namiyomi Zero Shot Range forecasts how far price may move in the next 1, 4 and 24 hours — the expected high-low range — with a zero-shot time-series AI that runs inside MetaTrader 5. It does not forecast the direction. What you see Now — the expected high-low range for the next 1, 4 and 24 hours (in pips on 5- and 3-digit quotes; in price for BTCUSD), and how today's 4-hour forecast compares with the median of the 4-hour forecasts made at this hour on the last 20 days: Calm, Normal or Wild. Lot
Japan Bank Holiday and Gotobi Library answers the calendar questions of the yen market inside your own Expert Advisor, indicator or script: is today a Japanese bank holiday, is it a gotobi day, when is the next Tokyo fixing, and what time is it in Japan on your broker's server. All rules are calculated, so there is no holiday table to update. For 1980-2027 the results match the Cabinet Office list of Japanese national holidays day by day. No DLL, no web requests, no files, no trading functions.
FREE
Filter:
No reviews
Reply to review