Japan Bank Holiday and Gotobi Library

Japan Bank Holiday and Gotobi Library responde às perguntas de calendário do mercado do iene dentro do seu próprio Expert Advisor, indicador ou script: se hoje é feriado bancário no Japão, se é um dia gotobi, quando é o próximo fixing de Tóquio e que horas são no Japão segundo o servidor da sua corretora.

Todas as regras são calculadas, portanto não há tabela de feriados para atualizar. De 1980 a 2027 os resultados coincidem, dia a dia, com a lista de feriados nacionais do Gabinete do Japão. Sem DLL, sem requisições web, sem arquivos e sem funções de negociação.

O que ela responde

  • Os feriados nacionais do Japão, incluindo feriados substitutos e «feriados dos cidadãos», com o nome em inglês de cada feriado.
  • Os feriados bancários do Japão: sábados, domingos, feriados nacionais e de 31 de dezembro a 3 de janeiro. Todos os outros dias são dias úteis.
  • Os dias gotobi: os dias 5, 10, 15, 20, 25 e o último dia do mês. Quando esse dia é feriado bancário, o gotobi passa para o dia útil anterior.
  • O horário do fixing de Tóquio: 09:55, horário do Japão.
  • Horário do servidor da corretora para o horário do Japão e vice-versa. O Japão não tem horário de verão (JST = UTC+9).

Funções

  • JpIsBankHoliday(date) - true aos sábados, domingos, feriados nacionais e de 31 de dezembro a 3 de janeiro.
  • JpIsBusinessDay(date) - true nos dias úteis dos bancos de Tóquio.
  • JpIsNationalHoliday(date) - true nos feriados nacionais, incluindo os substitutos e os dos cidadãos.
  • JpHolidayName(date) - o nome em inglês, por exemplo "Marine Day", "Substitute Holiday" ou "Bank Holiday"; uma string vazia nos demais dias.
  • JpIsGotobi(date) - true nos dias gotobi.
  • JpGotobiDaysOfMonth(year, month, days[]) - todos os dias gotobi de um mês; retorna a quantidade.
  • JpNextGotobi(date) / JpPrevGotobi(date) - o primeiro gotobi na data ou depois / o último gotobi na data ou antes.
  • JpTokyoFixing(date) - 09:55, horário do Japão, daquele dia.
  • JpNowJst() - o horário atual do Japão.
  • JpServerToJst(time) / JpJstToServer(time) - converte entre o horário do servidor e o horário do Japão.
  • JpServerGmtOffsetSeconds() - o deslocamento do servidor em relação ao GMT, em segundos (automático: TimeTradeServer() - TimeGMT(), arredondado a 15 minutos).
  • JpSetServerGmtOffset(seconds) - um deslocamento fixo, por exemplo 7200 para GMT+2.
  • JpSetServerTimeZone(seconds, rule) - o deslocamento fora do horário de verão e uma regra de horário de verão: 0 nenhuma, 1 EUA, 2 UE.
  • JpSetServerGmtOffsetAuto() - volta ao deslocamento automático (padrão).
  • JpLibraryVersion() - a versão, "1.00".

Os argumentos de data estão no horário do Japão; qualquer hora do dia pode ser passada. As datas de feriados e de gotobi são retornadas como 00:00, horário do Japão.

Como usar

O Market instala a biblioteca como MQL5\Libraries\Market\Japan Bank Holiday and Gotobi Library.ex5. Cole este bloco de importação no início do seu programa (ou salve-o como MQL5\Include\JpMarketCalendar.mqh e inclua esse arquivo):

#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

Exemplo para um 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));
  }

Regras utilizadas

  • Lei dos Feriados Nacionais do Japão, com as alterações: datas fixas, feriados às segundas-feiras (Dia da Maioridade e Dia da Saúde e do Esporte desde 2000, Dia do Mar e Dia do Respeito aos Idosos desde 2003), Dia da Montanha desde 2016, o Aniversário do Imperador conforme a era e os dias transferidos de 2020 e 2021.
  • Feriado substituto: quando um feriado nacional cai num domingo, é feriado o próximo dia que não seja feriado nacional (desde 2007; antes, apenas o dia seguinte).
  • Feriado dos cidadãos: um dia entre dois feriados nacionais (desde 1986), por exemplo 22 de setembro de 2026.
  • Feriados únicos: 1989-02-24, 1990-11-12, 1993-06-09, 2019-05-01 e 2019-10-22.
  • Dias de equinócio: a fórmula de aproximação padrão, válida para 1980-2099. Ela dá a data oficial em todos os anos até 2027 e concorda com um cálculo astronômico em todos os anos até 2099. O governo anuncia cada dia de equinócio em fevereiro do ano anterior.
  • Feriados bancários: sábados, domingos, feriados nacionais e de 31 de dezembro a 3 de janeiro (Lei Bancária; a regra atual é aplicada a todos os anos).
  • Gotobi: se o dia for feriado bancário, passa para o dia útil anterior do mesmo mês. Se o dia 5 tivesse de passar para o mês anterior (por exemplo, em maio de 2027), esse dia útil já é o gotobi de fim do mês anterior e aparece apenas lá.

O que é bom saber

  • Anos válidos: 1980-2099. Fora desse intervalo as funções retornam false, 0, uma string vazia ou -1.
  • Testador de estratégias: nele TimeGMT() retorna o horário do servidor, então o deslocamento automático é 0. Chame JpSetServerGmtOffset() ou JpSetServerTimeZone() em OnInit(), como no exemplo. Se o deslocamento automático for usado no testador, a biblioteca escreve um aviso uma vez no diário dele.
  • O deslocamento automático precisa de um terminal sincronizado com o servidor de negociação. Logo após o terminal iniciar, ele pode valer 0 por alguns segundos; é lido novamente a cada chamada.
  • O deslocamento automático é o deslocamento atual. Para converter barras passadas através de uma mudança de horário de verão, defina a regra do servidor com JpSetServerTimeZone().
  • As configurações valem para o programa que as chama: chame-as em OnInit() de cada Expert Advisor ou indicador.
  • JpGotobiDaysOfMonth() precisa de um array dinâmico: datetime days[];
  • Os resultados ficam em cache por ano; uma chamada repetida dentro do mesmo ano leva cerca de 0,01 microssegundo.

Suporte

Se algo não estiver claro, envie-me uma mensagem privada no MQL5.

Produtos recomendados
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 Overview Deviation Trend Profile is a MetaTrader 5 chart indicator that combines three visual layers in a single chart window: a moving average with momentum-based coloring, deviation bands calculated from volatility, and a horizontal distribution profile drawn to the right of the current price. The indicator is an analytical tool. It does not open, modify or close trades, and it is not a complete trading system. It is designed to help the user observe trend direction, mo
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
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 Zonas de retração de Fibonacci do último movimento FibRetrace Zones é o complemento visual gratuito do Expert Advisor FibRetrace. Ele desenha os níveis de retração de Fibonacci e destaca a zona de recuo do último movimento, para que você veja onde as entradas se alinham antes de operar. A zona é colorida pela direção: verde para configurações de alta, vermelho para configurações de baixa. Funciona em qualquer símbolo e qualquer tempo gráfico. PRINCIPAIS RECURSOS Detecção automát
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
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 - Pegadas Automáticas de Smart Money Na metodologia ICT (Inner Circle Trader) e Smart Money Concepts (SMC), um Fair Value Gap (FVG) — também conhecido como Imbalance (Desequilíbrio) — ocorre quando o preço se move com momentum extremo, deixando para trás um vazio de liquidez. Essas lacunas não preenchidas atuam como ímãs para a ação futura do preço, tornando-as as zonas de retração e entrada de maior probabilidade para traders profissionais. Link da Versão Pro:
FREE
A professional tool for trading - the divergence indicator between the RSI and the price, which allows you to receive a signal about a trend reversal in a timely manner or catch price pullback movements (depending on the settings). The indicator settings allow you to adjust the strength of the divergence due to the angle of the RSI peaks and the percentage change in price, which makes it possible to fine-tune the signal strength. The indicator code is optimized and is tested very quickly as par
FREE
Descrição Geral O Indicador Fair Gap Value identifica e destaca “fair value gaps” no gráfico do MetaTrader 5. Um fair gap ocorre quando há um vazio de preço entre a mínima de uma vela e a máxima de outra, separadas por uma vela intermediária. O indicador desenha retângulos coloridos (de viés altista e baixista) para ressaltar essas áreas, oferecendo suporte visual claro para estratégias de price action. Principais Funcionalidades Detecção de gap altista : realça gaps entre a mínima da vela atual
FREE
Ferramenta Gratuita BlueDigitsFx + Acesso ao Ecossistema Esta ferramenta gratuita faz parte do ecossistema de infraestrutura de trading BlueDigitsFx. Receba atualizações, recursos de workflow, lançamentos de produtos e acesso oficial ao ecossistema através do bot BlueDigitsFx. Ecossistema Telegram Website Versão MT4 BlueDigitsFx Open Trades MT5 — Monitor de Pips em Tempo Real para Gestão Ativa de Operações BlueDigitsFx Open Trades é uma ferramenta gratuita para MT5 que exibe o resultado tota
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 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)
O Canal Donchian Os canais são uma das ferramentas de análise técnica mais populares porque transmitem intuitivamente aos analistas as restrições que tendem a ocorrer na maioria das mudanças de preço. Os usuários do canal sabem que informações valiosas podem ser obtidas a qualquer momento, independentemente de o preço estar no centro de uma faixa ou próximo a uma das fronteiras. Uma das técnicas mais famosas para explorar esses conceitos são as bandas de Bollinger. No entanto, John Bollinger não
FREE
Os compradores deste produto também adquirem
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
Biblioteca ModernUI para MetaTrader 5 ModernUI é uma biblioteca de interface de usuário hospedada no gráfico para MetaTrader 5. Ela ajuda desenvolvedores MQL5 a criar painéis de EA mais limpos, dashboards, janelas de configuração, formulários, tabelas, diálogos, drawers e interfaces compactas de estilo trading dentro do ambiente gráfico do MT5. Ela foi criada para desenvolvedores que desejam uma camada de interface mais profissional do que objetos gráficos espalhados, mantendo ao mesmo tempo con
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.
Biblioteca EX5 Signal Copier — Motor de Eventos de Negociação Profissional para MT Transforme qualquer Expert Advisor em um poderoso copiador de negociações, processador de sinais ou motor de automação — sem precisar escrever lógica complexa de rastreamento de negociações. A Biblioteca EX5 Signal Copier é um sistema de alto desempenho, orientado a eventos, que captura todas as atividades de negociação no MetaTrader 5 e as converte em sinais estruturados que você pode usar para criar: Copiador
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
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
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. What is this The MT5 system comes with very few optimization results. Sometimes we need to study more results. This library allows you to output more results during backtest optimization. It also supports printing more strategy results in a single backtest. 2. Product Features The results of the optimized output are quite numerous. CustomMax can be customized. The output is in the Common folder. It is automatically named according to the name of the EA, and the name of the same EA will be au
T5l Library é necessaria para o uso dos robos da TSU Investimentos, nele você tera todo o framework de funções para o funcionamento correto dos nossos Expert Advisors para MetaTrader 5  ツ . -   O Robos  Expert Advisors da TSU Invesitmentos não funcionarão sem esta biblioteca de funções, o T5L library podera receber atualizações e melhorias ao longo do tempo. - Na biblioteca que voçê encontrará f uncionalidades diversas como envio de ordens, compra e venda, verificação de gatilhos de entradas, an
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 
Esta biblioteca permitirá que você gerencie negociações usando qualquer um de seus EA e é muito fácil de integrar em qualquer EA que você mesmo pode fazer com o código de script mencionado na descrição e também exemplos de demonstração em vídeo que mostram o processo completo. - Pedidos Place Limit, SL Limit e Take Profit Limit - Ordens Place Market, SL-Market, TP-Market - Modificar ordem de limite - Cancelar pedido - Consulta de pedidos - Mudança de alavancagem, margem - Obter informaçõe
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
The following library is proposed as a means of being able to use the OpenAI API directly on the metatrader, in the simplest way possible. For more on the library's capabilities, read the following article: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual IMPORTANT: To use the EA you must add the following URL to allow you to access the OpenAI API as shown in the attached images In order to use the library, you must include the following Hea
Mais do autor
Smart Data Export Indicator grava dados de mercado limpos do MetaTrader 5 em CSV ou JSON Lines - com exatamente as colunas que você escolher, uma ficha de dados (data card) que explica cada coluna e um snapshot pronto para colar no ChatGPT, no Claude ou em qualquer outro assistente de IA. Ele substitui o meu SmartDataExportEa gratuito e foi reconstruído como indicador: roda no mesmo gráfico do seu Expert Advisor (EA) e nunca opera. Sem DLL, sem requisições web. O que ele grava Arquivo de dados (
FREE
Gotobi Day and Tokyo Fixing Marker é um indicador gratuito que marca no seu gráfico do MetaTrader 5 os dias gotobi japoneses, o horário do fixing de Tóquio e os feriados bancários do Japão, e mostra os próximos dias gotobi em um pequeno painel. Os dias gotobi são os dias 5, 10, 15, 20 e 25 de cada mês e o último dia do mês. Quando um desses dias cai em fim de semana ou em feriado bancário japonês, ele passa para o dia útil anterior em Tóquio. Muitas empresas japonesas liquidam pagamentos nesses
FREE
Smart Data Export Indicator MT4 grava dados de mercado limpos do MetaTrader 4 em CSV ou JSON Lines - com exatamente as colunas que você escolher e uma ficha de dados (data card) que explica cada coluna. Os dados ficam prontos para Python, Excel ou um assistente de IA como o ChatGPT ou o Claude. Ele substitui o meu SmartDataExportEa gratuito para MetaTrader 4 e foi reconstruído como indicador: roda no mesmo gráfico do seu Expert Advisor (EA) e nunca opera. Sem DLL, sem requisições web. Uma versão
FREE
Gotobi Day and Tokyo Fixing Marker MT4 é um indicador gratuito que marca no seu gráfico do MetaTrader 4 os dias gotobi japoneses, o horário do fixing de Tóquio e os feriados bancários do Japão, e mostra os próximos dias gotobi em um pequeno painel. Os dias gotobi são os dias 5, 10, 15, 20 e 25 de cada mês e o último dia do mês. Quando um desses dias cai em fim de semana ou em feriado bancário japonês, ele passa para o dia útil anterior em Tóquio. Muitas empresas japonesas liquidam pagamentos nes
FREE
Japan Bank Holiday and Gotobi Library MT4 responde às perguntas de calendário do mercado do iene dentro do seu próprio Expert Advisor, indicador ou script: se hoje é feriado bancário no Japão, se é um dia gotobi, quando é o próximo fixing de Tóquio e que horas são no Japão segundo o servidor da sua corretora. Todas as regras são calculadas, portanto não há tabela de feriados para atualizar. De 1980 a 2027 os resultados coincidem, dia a dia, com a lista de feriados nacionais do Gabinete do Japão.
FREE
Nakane USDJPY Gotobi opera um padrão bem conhecido do mercado de Tóquio. Nos dias gotobi (dias de liquidação japoneses: dias 5, 10, 15, 20, 25 e o último dia útil do mês), o USDJPY tem tido a tendência de subir até o fixing de Tóquio às 9:55 JST e de devolver parte dessa alta depois. O EA compra às 07:30 JST, fecha no fixing e depois vende até as 10:30 JST. Ele opera somente nessas manhãs. Sem grid, sem martingale, sem preço médio. Uma posição por vez, e toda operação tem stop loss. Sem serviços
Ikioi Bitcoin Momentum segue o momentum de várias semanas no BTCUSD. Uma vez por dia, ele verifica dois fatos simples: o preço está mais alto do que há duas semanas e mais alto do que há oito semanas? Quando ambos são verdadeiros, ele compra e mantém a posição. Quando divergem, ele fecha e fica fora do mercado. Não usa níveis de preço, nem indicadores para otimizar, nem previsões, apenas a direção dos movimentos de 2 semanas e de 8 semanas. Sem grid, sem martingale, sem preço médio. Uma posição
Expert Advisor Live Audit responde à pergunta que todo usuário de Expert Advisor (EA) faz mais cedo ou mais tarde: meu EA está quebrado, só está com azar ou está sendo consumido pelos custos? O indicador lê o histórico de operações desta conta, agrupa por Magic Number e mostra, para cada EA, a sua vantagem real (edge), como ele se compara ao seu backtest e quanto a execução realmente custou. É um indicador: nunca abre, modifica nem fecha uma operação. Sem DLL, sem requisições web, sem serviços e
Seasonality and Session Lab mostra como este símbolo se comporta por hora, dia da semana, dia do mês, mês e dias especiais (gotobi, fim do mês, primeira sexta-feira) - e quais desses padrões sobrevivem a um teste estatístico honesto. A maioria dos "edges" sazonais é ruído: se você comparar 168 células de dia da semana e hora, cerca de oito delas parecerão significativas por puro acaso. Este indicador corrige isso, verifica as duas metades do período e subtrai o custo. O que ele mostra com segura
News Impact Statistics mede o quanto o mercado realmente se move a cada divulgação econômica - neste símbolo, com os preços da sua corretora - e mostra o movimento habitual das próximas divulgações antes que elas aconteçam. Usa o calendário econômico integrado ao MetaTrader 5 e o histórico de preços do seu terminal. Sem requisições web, sem DLL, sem feed de calendário externo. Somente indicador: nunca opera. O que você vê Ranking (Classificação): todas as divulgações de alta importância para as
Time ZeroShot EA
Mikoto Hamazono
Uma IA de verdade roda dentro deste EA. O Time ZeroShot EA opera o fixing de Tóquio do USDJPY nos dias gotobi em cerca de 6 manhãs por mês (até 2 operações em cada) e mantém uma posição comprada em BTCUSD por dias a semanas quando o momentum de várias semanas confirma. O painel sempre mostra a data e o horário da próxima operação. A IA é o Granite TTM-R2, um modelo de séries temporais disponibilizado em código aberto pela IBM Research (de um artigo aceito no NeurIPS 2024, pré-treinado com cerca
O Namiyomi Zero Shot Range prevê até onde o preço pode ir nas próximas 1, 4 e 24 horas — a amplitude esperada entre a máxima e a mínima — com uma IA de séries temporais zero-shot que roda dentro do MetaTrader 5. Ele não prevê a direção. O que você vê Now (agora) — a amplitude esperada entre a máxima e a mínima para as próximas 1, 4 e 24 horas (em pips nas cotações de 5 e 3 casas decimais; em preço para o BTCUSD) e como a previsão de 4 horas de hoje se compara com a mediana das previsões de 4 hor
Filtro:
Sem comentários
Responder ao comentário