Using different timeframes to create signal.

 

Hello Guys,

Hope you are doing great!

My first topic here:

- How to use different timeframes to create a signal? 

For example, I would like to have curves in 1hour frame been plotted by 5 min measurements (prices and volumes).

Is that possible?

 
ericonunes:

Hello Guys,

Hope you are doing great!

My first topic here:

- How to use different timeframes to create a signal? 

For example, I would like to have curves in 1hour frame been plotted by 5 min measurements (prices and volumes).

Is that possible?

Yes we can take this

 
Enter your message here. See how to call a certain user, insert an image or a code

Y
Suleiman60:
Yes we can take this


Would you show me some examples how to code it? I'm novice im mql, don't know much of the syntax. I've seen in other topics that it's not possible to plot 5 min on hour chart. But what I'm asking is somehow different. I'm willing to use them (5 min measures) as inputs to calculate a measure to be plot hourly, for example.

 
Hi Guys,

You would help me by showing how to plot the following:

indicator_in_H1=mean_price_last_12_candles_in_M5.*last_12_volumes_in_M5

where .* is first mean price times first volumes summed with second mean price times second volume... and so on!

thank you!

Reason: