Pause before or after news code using inbuilt MT5 calendar

MQL5 Indicators Experts

Job finished

Execution time 21 minutes
Feedback from customer
Excellent programmer!!
Feedback from employee
Thank you for your order! Great customer! Hope for further cooperation!

Specification

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....

Responded

1
Developer 1
Rating
(75)
Projects
111
50%
Arbitration
26
31% / 50%
Overdue
9
8%
Free
Published: 1 article
2
Developer 2
Rating
(19)
Projects
23
48%
Arbitration
10
0% / 100%
Overdue
2
9%
Free
3
Developer 3
Rating
(279)
Projects
341
37%
Arbitration
6
50% / 17%
Overdue
7
2%
Free
Published: 5 codes
4
Developer 4
Rating
(281)
Projects
352
29%
Arbitration
37
27% / 65%
Overdue
10
3%
Loaded
5
Developer 5
Rating
(2675)
Projects
3414
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
6
Developer 6
Rating
(104)
Projects
134
43%
Arbitration
0
Overdue
3
2%
Working
7
Developer 7
Rating
(78)
Projects
246
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
8
Developer 8
Rating
(322)
Projects
499
67%
Arbitration
5
40% / 0%
Overdue
4
1%
Free
Published: 8 codes
9
Developer 9
Rating
(72)
Projects
80
10%
Arbitration
38
8% / 58%
Overdue
6
8%
Free
10
Developer 10
Rating
(51)
Projects
71
37%
Arbitration
4
25% / 75%
Overdue
1
1%
Free
Published: 1 code
11
Developer 11
Rating
(367)
Projects
449
55%
Arbitration
24
54% / 17%
Overdue
30
7%
Busy
12
Developer 12
Rating
(87)
Projects
121
68%
Arbitration
5
80% / 0%
Overdue
12
10%
Working
13
Developer 13
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
Similar orders
Code the indicator to MT5 EA, include all the inputs variables and values Allow live trading Allow demo trading Allow strategy tester Bar shift 0 adjustable Allow indicator to show on strategy tester Lot size adjustable Max spread in points (0=disable) Use stop loss circle true or false Stop loss circle in points adjustable Use stop loss true or false Stop loss in points (adjustable) Take profit true or false Use
Hi All, Looking for a ready to TEST and USE EA which makes $20 per day with initial deposit of $100 only with controlled drawdown and no trades during news time. Please note: Budget is fixed and no trial and hit error for testing and developing EA as I do not have time. I will select the developer only after the TEST is successful only, do not force to select and make the payment and payment will be done once I am
Create a bot that can trade and read indicators easy to read for first time users. Bot that can be used on a phone and connect to MT5. It should be easy to install or use on any device especially phone and laptop, preferably the bot that can run over night and controllable when needed
Need Grid + Martingale Type Averaging EA ( Directional Buy or Sell entry then uses grid/martingale for Recovery if need ) * Must Work Buy + Sell Both Side ( Do not Open Buy or Sell at Once Let the Previous Order Close ) * Min Lot size 0.01 * Max Lot Size 1 ( Can be Edited to maximum ) * Auto TP Shift * Auto Averaging Position also Auto Shift TP as per Averaging * After Averaging Close the Trade in Maximum Profit (
C'est un Expert Advisor (EA) MQL5 pour MetaTrader 5, conçu pour l' XAUUSD , combinant un filtre de tendance et une grille adaptative avec gestion de panier ("basket") et protections contre le drawdown. Version 1.00. Logique de trading Filtre de tendance (H4 par défaut) • EMA rapide (50) vs EMA lente (200) pour déterminer la direction (UP/DOWN) • Filtre ADX (période 14, seuil 18) pour éviter de trader en
I have 2 trading view indicators by GainzAlgo that I want code to mt5 , could u advise? I need you to give me response if you can convert This
Looking for an MT4/MT5 independent risk-management service or system that can monitor and automatically close trades opened and managed by another trader’s EA. The existing EA continuously removes/overrides manually added Stop Losses and may also override SLs placed by another EA. I need a solution that does not rely on modifying the existing trade or placing a Stop Loss. Instead, it should independently monitor each
I currently sell a white-label XAUUSD EA, but the existing supplier owns the source code. I now need a new, independently developed EA and licensing system that my company fully owns and controls. I am not requesting decompilation or copying of proprietary code. Existing settings, presets and trading examples will be provided as reference. The developer must first identify any missing strategy rules before
I am looking for an experienced trader, preferably a manual trader, with a minimum 12-month verifiable live trading track record. Requirements: - Target: Up to 10% monthly return - Maximum risk/drawdown tolerance: 20% - Maximum trade duration: 5 hours - No Martingale - No Hedging - No grid or other high-risk strategies - Minimum 12 months continuous track record - Track record must be independently verifiable through
Hello! I'm looking for an experienced programmer to help me fix bugs in NEOLOGICA, PROFIT. The code is written, without errors or warnings, but not everything works correctly. Please help me. I'm looking for a programmer for a long-term collaboration, so that this project can open doors to other interesting projects. :) You need to have access to this platform, but I think that's obvious

Project information

Budget
35+ USD