Custom timeframe for charts

 

Hi,


I was wondering if it was possible to determine custom timeframes. For instance, can we have a 7-minute chart?

And actually, I am also looking to use 10-tick charts, 50 or 133-tick charts. Is there any way to do that?


I saw some users created some sort of EAs on Metatrader 4 to have tick charts (http://www.marketcalls.in/metatrader/how-to-setup-tick-charts-in-metatrader-4.html). Is there something similar for MT5?


Many thanks in adance.

Aarnii

Documentation on MQL5: Standard Constants, Enumerations and Structures / Chart Constants / Types of Chart Events
  • www.mql5.com
Standard Constants, Enumerations and Structures / Chart Constants / Types of Chart Events - Documentation on MQL5
 
Aarnii:

Hi,

I was wondering if it was possible to determine custom timeframes. For instance, can we have a 7-minute chart?

And actually, I am also looking to use 10-tick charts, 50 or 133-tick charts. Is there any way to do that?

I saw some users created some sort of EAs on Metatrader 4 to have tick charts (http://www.marketcalls.in/metatrader/how-to-setup-tick-charts-in-metatrader-4.html). Is there something similar for MT5?

Many thanks in adance.

Aarnii

Hi Aarnii,

Even though 7 minute chart is strange, however, yes you can build any timeframe you want by using 1 minute chart. You can draw the chart using principle similar (I said "principle similar") but not exactly like this https://www.mql5.com/8rx. I know it's paid one, and it's using .hst data, but you can build the same using 1 minute data.

 I don't know what is it in 10, 50, and 133 tick - why 133 ? - however, this is tick chart https://www.mql5.com/en/articles/60 and https://www.mql5.com/en/code/89.

:D 

Technical Indicator Custom Chart Demo
  • Konstantin Gruzdev
  • www.mql5.com
iCustomChartDemo indicator is a demo version of iCustomChart . iCustomChart indicator allows to create custom charts based on custom history files. Open history file format is used. The demo version creates a copy of the chart it...
 
onewithzachy:

Hi Aarnii,

Even though 7 minute chart is strange, however, yes you can build any timeframe you want by using 1 minute chart. You can draw the chart using principle similar (I said "principle similar") but not exactly like this https://www.mql5.com/8rx. I know it's paid one, and it's using .hst data, but you can build the same using 1 minute data.

 I don't know what is it in 10, 50, and 133 tick - why 133 ? - however, this is tick chart https://www.mql5.com/en/articles/60 and https://www.mql5.com/en/code/89.

:D 

Hi !

thank you for your response onewithzachy!

Yes, 7-min chart is totally strange :D it was just an example actually, I'm not using it :)


xxx-tick chart is a chart where you have a new bar (or candle) every x tick. In a 1-min chart, you have a new bar every minute...but with a 50-tick charts, there is a new one every 50 ticks.

I'm really looking into finding a way to have these x-tick charts. This is sad Metatrader can't do it while a lot of other trading softwares (Ninjatrader, Prorealtime, ...) do it perfectly.

I will look at your links in more details, they look very interesting!

Aarnii

Reason: