Pause before or after news code using inbuilt MT5 calendar

MQL5 Indicadores Experts

Trabalho concluído

Tempo de execução 21 minutos
Comentário do cliente
Excellent programmer!!
Comentário do desenvolvedor
Thank you for your order! Great customer! Hope for further cooperation!

Termos de Referência

Got an EA.Need help to code my EA to include an algorithm  that pauses xx mins  before and after a news event, for example if my EA is attached to GBP/USD, it should not  trade when GBP or USD  RED news ( high importance) comes up on the MT5 calender. The programme should refer to the MT5 calendar for reference.


Example of inputs:

input  int AfterNewsStop=5; // Pause after News (minutes)

input int BeforeNewsStop=5; // Pause before News (minutes)

----- 

On tick to allow trade

Cantrade()... allows to trade....

Respondido

1
Desenvolvedor 1
Classificação
(75)
Projetos
111
50%
Arbitragem
26
31% / 50%
Expirado
9
8%
Livre
Publicou: 1 artigo
2
Desenvolvedor 2
Classificação
(19)
Projetos
23
48%
Arbitragem
10
0% / 100%
Expirado
2
9%
Livre
3
Desenvolvedor 3
Classificação
(279)
Projetos
341
37%
Arbitragem
6
50% / 17%
Expirado
7
2%
Livre
Publicou: 5 códigos
4
Desenvolvedor 4
Classificação
(281)
Projetos
352
29%
Arbitragem
37
27% / 65%
Expirado
10
3%
Carregado
5
Desenvolvedor 5
Classificação
(2675)
Projetos
3414
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
6
Desenvolvedor 6
Classificação
(104)
Projetos
134
43%
Arbitragem
0
Expirado
3
2%
Trabalhando
7
Desenvolvedor 7
Classificação
(78)
Projetos
246
74%
Arbitragem
7
100% / 0%
Expirado
1
0%
Livre
Publicou: 1 artigo
8
Desenvolvedor 8
Classificação
(322)
Projetos
499
67%
Arbitragem
5
40% / 0%
Expirado
4
1%
Livre
Publicou: 8 códigos
9
Desenvolvedor 9
Classificação
(72)
Projetos
80
10%
Arbitragem
38
8% / 58%
Expirado
6
8%
Livre
10
Desenvolvedor 10
Classificação
(51)
Projetos
71
37%
Arbitragem
4
25% / 75%
Expirado
1
1%
Livre
Publicou: 1 código
11
Desenvolvedor 11
Classificação
(367)
Projetos
449
55%
Arbitragem
24
54% / 17%
Expirado
30
7%
Ocupado
12
Desenvolvedor 12
Classificação
(87)
Projetos
121
68%
Arbitragem
5
80% / 0%
Expirado
12
10%
Trabalhando
13
Desenvolvedor 13
Classificação
(69)
Projetos
146
34%
Arbitragem
13
8% / 62%
Expirado
26
18%
Livre
Publicou: 6 códigos
Pedidos semelhantes
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I'm looking for an experienced developer to create an automated gold trading bot. The bot should be compatible with MetaTrader 4/5 and TradingView. Key Requirements: - Automated trading bot - Compatible with MetaTrader 4/5 and TradingView - Implement scalping and swing trading strategies Ideal Skills and Experience: - Proficiency in trading algorithms - Experience with gold trading - Familiarity with MetaTrader and
I need a robust optimization of my MT5 EA, mainly for XAUUSD (Gold). Please optimize the existing adjustable parameters such as entry/exit settings, SL/TP, trailing/break-even settings, and any other strategy parameters that are appropriate. I want the optimization focused on stable profitability, low/moderate drawdown, and robustness rather than simply the highest possible profit. Please use out-of-sample testing
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
Hello, I need a custom NON-REPAINT MT5 indicator that gives sell/buy arrow signals 1–2 candlesticks before a spike on Crash and boom indices respectively occurs. Requirements: Works perfectly on MT5 Shows arrows before the spike (1–2 candles earlier). Non-repaint – once the arrow appears, it must stay. Should be accurate, not quantity — only quality signals. Must work on both demo and live accounts. I want the
Hello, I saw an indicator on TradingView and would like to know if you will be able to convert it for use on Thinkorswim platform? Thanks. if anyone can help me with it kindly do well to bid it urgent thanks looking forward too see you
calcVolume( void ) { //--- MqlRates rates[]; if ( CopyRates ( _Symbol , PERIOD_CURRENT , startTime, endTime, rates) > 0 ) { double rangeHigh = rates[ 0 ].high, rangeLow = rates[ 0 ].low; int count = MathAbs ( iBarShift ( _Symbol , PERIOD_CURRENT , startTime) - iBarShift ( _Symbol , PERIOD_CURRENT , endTime)) + 1 ; //---VERTICAL PRICE RANGE for ( int b = 0
Create an MT5 Expert Advisor (EA) for trading Gold (XAUUSD). The EA should provide BUY and SELL signals based on trend direction, market momentum, and price action. It should automatically place trades only when the entry conditions are met. Risk management: Use a small adjustable lot size. Include Stop Loss (SL) and Take Profit (TP). Include a maximum daily loss limit. Include a maximum number of open trades. Do not

Informações sobre o projeto

Orçamento
35+ USD