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

MQL5 脚本 其它

工作已完成

执行时间2 小时
客户反馈
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....
员工反馈
Clear specifications and straight on point. Thanks for the collaboration, Ian.

指定

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)


附加的文件:

TXT
GComb.txt
99 b

反馈

1
开发者 1
等级
(40)
项目
55
35%
仲裁
2
0% / 50%
逾期
0
空闲
2
开发者 2
等级
(94)
项目
190
66%
仲裁
8
25% / 50%
逾期
2
1%
空闲
3
开发者 3
等级
(57)
项目
72
22%
仲裁
13
46% / 15%
逾期
5
7%
空闲
4
开发者 4
等级
(144)
项目
199
42%
仲裁
20
25% / 55%
逾期
10
5%
空闲
相似订单
Hello, I’m a profitable MT4/MT5 trader specializing in Prop Firm accounts. What makes me different: I actually trade with 3% Daily DD / 5% Overall DD rules, so I know what blows accounts and what passes. Services I offer: 1. EA Backtesting + Detailed Reports - Winrate, Profit Factor, Max DD, Best Pairs/Timeframes 2. Strategy Documentation - I’ll write clear rules for your EA so any coder can build it 3. Prop Firm
Hi MQL5 Community, With over 10 years of live market experience as a Quantitative & Trading System Developer, I specialize in building robust, highly scalable Expert Advisors (EAs), custom indicators, and automated architectures. I’ve recently put together a comprehensive showcase demonstrating my flagship Modular Multi-Engine Architecture , designed to bring institutional-grade logic and real-time telemetry into
Looking for A verifiable, disciplined XAUUSD analyst with controlled drawdown, consistent stop-loss use, clear communication and the capacity to service a live community. To send daily London and New York signals exclusively in my channel on Telegram
I am looking for an experienced MQL5 or MQL4 developer with a strong background in low-latency algorithmic trading, market data integration, arbitrage and execution optimization. The project involves developing a high-performance HFT Expert Advisor (EA) for XAUUSD or US30 on IC Markets that is designed for robust execution in both demo and live environments. The EA may use market data feeds (such as lmax,one zero or

项目信息

预算
30 - 60 USD
截止日期
 3 天