Japan Bank Holiday and Gotobi Library MT4

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. 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: TimeCurrent() - 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 MQL4\Libraries\Market\Japan Bank Holiday and Gotobi Library MT4.ex4. Cole este bloco de importação no início do seu programa (ou salve-o como MQL4\Include\JpMarketCalendar.mqh e inclua esse arquivo):

#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

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 MT4 não tem TimeTradeServer(), por isso o deslocamento automático usa TimeCurrent(), o horário da última cotação. Ele está certo enquanto chegam cotações; logo após o terminal iniciar ou com o mercado fechado pode estar errado (valores fora de -12 a +14 horas são ignorados). No MT4, o mais seguro é definir o deslocamento com JpSetServerTimeZone().
  • 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,1 microssegundo.

Suporte

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

Produtos recomendados
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 - 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
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)
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 MT5 BlueDigitsFx Open Trades MT4 — Monitor de Pips em Tempo Real para Gestão Ativa de Operações BlueDigitsFx Open Trades é uma ferramenta gratuita para MT4 que exibe o resultado tota
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)
Se você gosta deste projeto, deixe uma revisão de 5 estrelas. Este indicador desenha os preços abertos, altos, baixos e finais para o especificado período e pode ser ajustado para um fuso horário específico. Estes são níveis importantes olhados por muitos institucional e profissional comerciantes e pode ser útil para você saber os lugares onde eles podem ser mais activa. Os períodos disponíveis são: Dia anterior. Semana anterior. Mês anterior. Quarto anterior. Ano anterior. Ou: Dia atual. Seman
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)
Indicador MACD em MetaTrader 4/5 parece diferente do que o MACD faz na maioria dos outros softwares gráficos. Isso é porque a versão MetaTrader 4/5 de MACD mostra a linha MACD como um histograma quando é tradicionalmente apresentado como uma linha. Além disso, a versão MetaTrader 4/5 calcula a linha de sinal usando uma SMA, no entanto de acordo com a definição, o indicador MACD supostamente é calculado com uma EMA. A versão MetaTrader 4/5 também não computa um verdadeiro Histograma MACD (a difer
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)
O objetivo desta nova versão do indicador-padrão em MT4 fornecida em sua plataforma é exibir em uma sub-janela vários períodos do mesmo indicador. Veja o exemplo mostrado na imagem abaixo. Mas a exibição não é como um indicador MTF simples. Esta é a exposição real do indicador no seu intervalo de tempo. Eis as opções disponíveis no indicador FFX: Selecione os prazos a serem exibidos (M1 para Mensal) Defina a largura (número de barras) para cada caixa de tempo Alerta pop up / som / e-mail / push
FREE
Mirror chart
Salavat Yulamanov
4.5 (2)
O indicador exibe dois pares diferentes em um gráfico, projetado para simplificar as informações exibidas,   Capaz de trabalhar com quase todos os instrumentos disponíveis no terminal (não apenas pares de moedas, mas também metais e matérias-primas). Recurso de usar um método de correlação visual para qualquer par de moedas Subsímbolo. O par de moedas é exibido na tela com velas coloridas. Este é o mesmo par correlacionado. Espelhamento. Moeda auxiliar. O indicador reflete dois tipos de correl
FREE
Trend Monitor for MT4
STE S.S.COMPANY
4.23 (39)
Um indicador MT5 (Metatrader 5) personalizado que analisa o indicador do analisador de tendência e volatilidade. Além disso, identifica o início e o fim da tendência que funciona para a maioria dos pares de moedas e prazos. Em conclusão, nós o codificamos com base na Fórmula Super Trend para ser mais preciso, adicionando um analisador de volatilidade. Você está procurando um bom e confiável indicador de suporte e resistência, experimente nosso indicador de nível All in One ( zonas de pullback
FREE
Os compradores deste produto também adquirem
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.
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
Biblioteca MT4 destinada a LICENCIAR contas de clientes de seu arquivo MQ4 Valido para: 1.- Número da conta da licença MT4 2.- Licença BROKER 3.- Licenciar a DATA DE VALIDADE EA 4.- Licença TIPO DE CONTA MT4 (Real e / ou 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
A biblioteca RedeeCash 4XLOTS é uma biblioteca de gerenciamento de risco localizada baseada no algoritmo 4xlots.com WEB API. Este algoritmo de gerenciamento de risco não depende da moeda como a equação do tamanho do lote rápido de,       lotes = AccountEquity / 10.000 que é para cada $ 100 de patrimônio da conta terá 0,01 lote. A biblioteca RedeeCash 4XLOTS usa um algoritmo mais detalhado e aprimorado desenvolvido pela primeira vez em 2011 como cálculo manual. RedeeCash 4XLOTS tem uma única
[ 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.
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. Este produto permite operações de negociação via API e não inclui gráficos. Os usuários podem usar gráficos de corretoras que fornecem gráficos de criptografia e enviar pedidos para Binance - Suporta modo unidirecional e
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" 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
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
Mais do autor
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 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 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 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
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
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