Tâche terminée

Temps d'exécution 27 jours

Spécifications

I found a code here, that allows displaying the MQL5 Calendar news in real and backtesting mode as vertical lines, with the news for one currency in one color and the news of the other currency in a different color. However, I am getting an error  ("array out of range ") that I want you to fix.

In addition, I want you to create another function that will draw a horizontal line covering some time before and after a news event.

This function will be called "DisplayNewsWindow" and will take as variables (Currency, EventName, and WindowHours). Say that for the Currency ,  "USD", the EventName "Wholesale Sales m/m" will be on January 10 at 8am, so if I use DisplayNewsWindow ("USD","Wholesale Sales m/m", 2), and horizontal line at the bottom of the chart should appear between 6am and 10 am on that day (i.e., 2hours before and after the news event). The currency name and News event name should appear as tooltip, as you mouse hover the horizontal bar.

I attach the files: "News" is a Class file that saves and updates the list of events in a local computer. "NewsEA" is the EA in which that function is used. You need to create the DisplayNewsWindow function in the News file and use it in the EA.


I think the error is in the fucntion CNews::next2


Ultimately, I want the news events drawn as vertical lines in two colors (one for each currency in a symbol), and some specific news drawn as horizontal lines in the chart, also color coded by currency.

Dossiers :

MQH
News.mqh
30.6 Kb
MQ5
NewsEA.mq5
347 b

Répondu

1
Développeur 1
Évaluation
Projets
0
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
2
Développeur 2
Évaluation
(146)
Projets
175
23%
Arbitrage
7
29% / 43%
En retard
4
2%
Occupé
3
Développeur 3
Évaluation
(140)
Projets
205
80%
Arbitrage
18
33% / 44%
En retard
10
5%
Travail
4
Développeur 4
Évaluation
(31)
Projets
41
20%
Arbitrage
9
11% / 89%
En retard
5
12%
Gratuit
5
Développeur 5
Évaluation
(17)
Projets
19
26%
Arbitrage
3
67% / 33%
En retard
2
11%
Travail
6
Développeur 6
Évaluation
(38)
Projets
40
25%
Arbitrage
23
13% / 70%
En retard
8
20%
Chargé
7
Développeur 7
Évaluation
(3)
Projets
1
0%
Arbitrage
2
0% / 100%
En retard
0
Travail
8
Développeur 8
Évaluation
(61)
Projets
187
73%
Arbitrage
4
100% / 0%
En retard
1
1%
Travail
9
Développeur 9
Évaluation
(81)
Projets
93
58%
Arbitrage
0
En retard
0
Gratuit
10
Développeur 10
Évaluation
(27)
Projets
27
26%
Arbitrage
2
0% / 50%
En retard
1
4%
Gratuit
11
Développeur 11
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
I am looking for an experienced MQL5 programmer to create a custom Expert Advisor (EA) or utility that connects my MT5 signal provider to Telegram. The primary objective is to forward signals from the MT5 platform to a designated Telegram channel. Requirements: The EA or utility should automatically send signals from MT5 to the Telegram channel/group. Support for customization, such as filtering signals based on
I need a developer who's very sound in coding a support and resistance EA. Someone already tried to do this for me, but it wasn't what I wanted, and not getting it right at all. , must have good experience in EA development and also good reviews, also must be swift and well experienced. Interested applicant should get in touch. I'd explain the parameters
Good day, I have a script with a few errors in it which needs to be corrected. I also require that the script can do the following: Once I have selected a developer, the script will be handed over in the trade menu. I will require at least 4 weeks of backtesting as a proof of concept. 1. There must be a start and stop function I can use to either start or stop the script as I please. 2. Trades that are opened are
Hello great developer i need a developer that can work on a Tradorvate trade copier i want to create tradorvate trade copier I will be available for to answer any questions Thanks Peace be unto you
Life Creator 40 - 1000 USD
the topic of this robot is ,,life creator'' becouse when you have no idea what to do, this robot can help you and teach you how you can do it. The robot gonna creat you your own tactics which can help you in future. When you gonna see that it's really work you start to be happy and you gonna want to have more of this
I need assistance with configuring an MT4 setup so that every alert generated by an indicator is sent to a Discord channel. Requirements: Discord Webhook Integration: Implement functionality to send messages to a specified Discord channel using a Webhook URL. Capture Alerts from Indicator: Ensure that every alert triggered by a specific indicator (or multiple indicators) in MT4 is forwarded to the Discord channel
I need two trading view indicators to be on Mt4 .i want them to work the same way that they do on trading view if possible.i will send the indicators
Here are the paragraphs for the robot's settings to trade on various instruments: *US30 (Dow Jones)* - Symbol: US30 - Timeframe: H1 (1-hour chart) - Lot size: 0.1 - Take profit: 200 points - Stop loss: 150 points *Gold (XAUUSD)* - Symbol: XAUUSD - Timeframe: H4 (4-hour chart) - Lot size: 0.1 - Take profit: 1000 points - Stop loss: 800 points *Nas 100 (US Tech 100)* - Symbol: NQ100 - Timeframe: H1 (1-hour chart) - Lot
hi , i am looking for a Grid EA with some basic type of EA but fully functional and final one. so anyone who can do perfect EA should contact. plan is discussed as below. start and end time, and days of active deactive button should be added in dashboard or else like if we want to close EA for any future day or days in coming week so before time we should be able to set. when EA starts. it opens one buy or sell and
The EA is in below VPS Server: 176.57.188.42 User: administrator Password: Test123! Kindly access the vps to check out the EA, the name of the EA I'm referring to is called TOPGUN 2.0 The job is to replicate the same EA in the server and code a very similar one based on the exact functionality in that existing EA. if u can do it kindly reach out

Informations sur le projet

Budget
30+ USD
Pour le développeur
27 USD
Délais
de 1 à 7 jour(s)