Custom Symbol - script to modify custom symbol and reset existing history

MQL5 Komut dosyaları Diğer

İş tamamlandı

Tamamlanma süresi: 2 saat
Müşteri tarafından geri bildirim
Raymond completed the job quickly and tested perfectly on first demo. Great code very well commented. Will be my go to guy from now on....
Geliştirici tarafından geri bildirim
Clear specifications and straight on point. Thanks for the collaboration, Ian.

Şartname

The attached simple script (sTestComb.mq5) reads a txt file and uses this as a basis to update the "SYMBOL_FORMULA" for a custom symbol.  The problem I have is the existing history is NOT updated.

The job is to create a script that will:

1. Read the attached GComb.txt file from the files directory and update the "SYMBOL_FORMULA" based on it. 

            Custom Symbol should be called "CombG", based on a FOREX major pair.  

            Custom Symbol should only be updated, not created from new.

2. Delete the old history and build a new history for the custom symbol based on the updated formula from the GComb.txt file. 

Note1: Please ensure that event handling is covered in the script.

Note2: The same script will be run multiple times per day updating the same Custom symbol (CombG). 

 

References: 

https://www.mql5.com/en/articles/8226 (CUSTOM SYMBOLS: PRACTICAL BASICS)

https://www.mql5.com/en/code/18855 (Symbol - library for MetaTrader 5)


Dosyalar:

TXT
GComb.txt
99 b

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(40)
Projeler
55
35%
Arabuluculuk
2
0% / 50%
Süresi dolmuş
0
Serbest
2
Geliştirici 2
Derecelendirme
(94)
Projeler
190
66%
Arabuluculuk
8
25% / 50%
Süresi dolmuş
2
1%
Serbest
3
Geliştirici 3
Derecelendirme
(57)
Projeler
72
22%
Arabuluculuk
13
46% / 15%
Süresi dolmuş
5
7%
Serbest
4
Geliştirici 4
Derecelendirme
(144)
Projeler
199
42%
Arabuluculuk
20
25% / 55%
Süresi dolmuş
10
5%
Serbest

Proje bilgisi

Bütçe
30 - 60 USD
Son teslim tarihi
to 3 gün