İş tamamlandı

Tamamlanma süresi: 27 gün

İş Gereklilikleri

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.

Dosyalar:

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

Yanıtlandı

1
Geliştirici 1
Derecelendirme
Projeler
0
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Ücretsiz
2
Geliştirici 2
Derecelendirme
(125)
Projeler
146
23%
Arabuluculuk
5
0% / 60%
Süresi dolmuş
4
3%
Yüklendi
3
Geliştirici 3
Derecelendirme
(138)
Projeler
199
80%
Arabuluculuk
17
29% / 47%
Süresi dolmuş
10
5%
Çalışıyor
4
Geliştirici 4
Derecelendirme
(31)
Projeler
41
20%
Arabuluculuk
9
11% / 89%
Süresi dolmuş
5
12%
Ücretsiz
5
Geliştirici 5
Derecelendirme
(16)
Projeler
17
29%
Arabuluculuk
3
67% / 33%
Süresi dolmuş
0
Yüklendi
6
Geliştirici 6
Derecelendirme
(37)
Projeler
40
25%
Arabuluculuk
20
15% / 75%
Süresi dolmuş
8
20%
Yüklendi
7
Geliştirici 7
Derecelendirme
(3)
Projeler
1
0%
Arabuluculuk
2
0% / 100%
Süresi dolmuş
0
Çalışıyor
8
Geliştirici 8
Derecelendirme
(55)
Projeler
163
69%
Arabuluculuk
4
100% / 0%
Süresi dolmuş
1
1%
Ücretsiz
9
Geliştirici 9
Derecelendirme
(64)
Projeler
76
55%
Arabuluculuk
0
Süresi dolmuş
0
Ücretsiz
10
Geliştirici 10
Derecelendirme
(27)
Projeler
27
26%
Arabuluculuk
2
0% / 50%
Süresi dolmuş
1
4%
Ücretsiz
11
Geliştirici 11
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Ücretsiz
Benzer siparişler
Witam Szanownych Freelancerów, Mam problem z konwersją strategii EA z MQL4 do MQL5. W zasadzie konwertuje za pomocą skryptu: mq4to5rewrite_sample_v4_2 kończy się sukcesem, ale daje wynik w pliku mq5, który nie daje się skompilować. System występowania o błędach, których ja z braku dostępu do języka MQL nie jest możliwy do zastosowania. W związku z tym mam prośbę o: a) konwersję i przygotowanie pliku żródłowego MQL5
PLEASE NOT THAT MY BUDGET IS 60usd FOR BOTH MT4 AND MT4 PLATFORMS The EA should have 1. An option that I can change it parameters, that's the period, method and application 2. The EA should sell when on every bullish candle that closes under the MA 3. The EA should buy on every bearish candle that forms Above the EA. It's should close trades on reverse cross. I mean when it's in a buy trade and crosses the MA for a
MT4 to Telegram 30 - 50 USD
Hello, I want to add a system send messages to Telegram Send a message with a specific picture and details of the new signal When closing with a profit, send the details of the closing and profit with a specific picture And close with a loss and send a specific picture, in addition to the details of the closure and the amount of the loss
Hi Dear developpers, I've an EA that was working very well with the previous versions of MT4. But since, they have updated their platforms, my EA it's not working anymore. I've tried to use those old MT4 versions but there are just temporary. So i've decided to updated this EA so i can use it on the newest version of MT4 (1420) and those who will come after it. I also want to implement new inputs in it. I also want
GOOD DAY DEVELOPERS I NEED A GOOD DEVELOPER WHO HAS AN INDICATOR FOR BOOM AND CRASH UP / DOWN TRENDS FOR ATLEAST 10 CANDLESTICK WITHOUT BEING SPIKED ... TO DEVELOP AN EA BASED ON THAT INDICATOR YOU HAVE, IF YOU HAVE IT PLEASE I AM IN NEED OF IT
Hey greetings My pleasure to met you all .I would like to convert a public tradingview pinescript indicator to MT5 Expert Advisor based on my. Requirements/specification.Kindly bid and let discuss about the project
A robot 30 - 65 USD
Hi I am looking for developer who can make me Mt4 Ea i have 2types of analysis methods i want to add and also want to attach image with Ea like when i attach my to any currency pair the chart changes to my picture Of robot which i attached to my Ea and for proper all settings i want add i will tell u message me
I have multiple mt4 / Mt5 accounts on several VPS. My initial thought is using Google Sheets or Excel and have the data pushed VIA an EA (1 instance installed on each MT4 / Mt5 account and pushed to the same Sheet) using api. One sheet would display the general data and the subsequent sheets would display more detailed data for every account loaded up. I’d probably be working with a programmer who can provide a
hi.. i have a pin script (TV) but some lines in the code needs to be fixed,,, i will attach the file thanks very much in advance, Also there will be more project in front, so I need a very dedicated developer
I need an Expert Advisor that can read trade signals from a Telegram Channel and then execute those trades. My telegram bot has admin access to the Telegram Channel The EA needs the following functionality: Position Size: Auto: + Have fixed lot size set in settings. + Have lot size by % of account (set in settings) Manual: + From lot size set in trade signals message. + From lot size by % of account from trade

Proje bilgisi

Bütçe
30+ USD
Geliştirici için
27 USD
Son teslim tarihi
from 1 to 7 gün