Is it possible to create custom D2, D3, D4 Timeframe ??

 
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 ?

Forum on trading, automated trading systems and testing trading strategies

Canvas is awesome!

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



Reason: