Hi, I am looking for a way to create custom timeframe like D2, D3, D4. is it even possible in MQL5 ?
tantran201094: Hi, I am looking for a way to create custom timeframe like D2, D3, D4. is it even possible in MQL5 ?
Yes, either with a custom Indicator that display the data as such, or by using Custom Symbols. Each has its advantages and disadvantages.
tantran201094:
Hi, I am looking for a way to create custom timeframe like D2, D3, D4. is it even possible in MQL5 ?
Hi, I am looking for a way to create custom timeframe like D2, D3, D4. is it even possible in MQL5 ?
Forum on trading, automated trading systems and testing trading strategies
Nikolai Semko , 2019.09.18 22:23
Yes, of course it is possible. This even suggests itself, and moreover, other usefulness suggests itself, like ticks. I'll do it somehow.
Again, it’s just a matter of time, which doesn’t exist.
The main work there is to create a very correct index array so that it is fast and does not consume very much memory.
In the meantime, you can play around with this very rough sketch
It is better to make the number of bars unlimited
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register