expand time scale
Author: karla2010
Creation Date: 9/3/2010 6:17 PM
profile picture

karla2010

#1
I would like to take an indicator in a 2 minute time frame and plot it onto a 10 minute chart. Anyway to do this?

I have seen the reverse (e.g. 10 minute plotted on a 2 minute chart using SetScaleCompressed)

This is not the same as computing the same indicator over an equivalent window on the 10 minute chart.
profile picture

Eugene

#2
As you may understand, 10-minute bars do not contain information to build a 2-minute indicator. If this is not the same, then how exactly should it look?
profile picture

karla2010

#3
Eugene, thanks for the reply.

Maybe I have not made myself clear.

I am not trying to build a 2 minute indicator from a 10 minute indicator. I understand the concepts of information frequency sampling (i.e. the Nyquist Limit and aliasing).

I am trying to do something very simple, take 2 minute data and plot it on a 10 minute chart by subsampling.

For example, the sequence of numbers on a two minute scale

1,2,3,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20 (data sequence)
2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40 (time marks for data sequence)

On a 10 minute scale this sequence would map to

5,10,15,20 (sub sampled data sequence)
10,20,30,40 (sub sampled time marks for data sequence)

Hopefully this example helps.
profile picture

Cone

#4
You can read the 2-min data from a data file into an array or list, OR, you could load the data as a symbol using GetExternalSymbol, Wealth-Lab Synchronization = false. Then you synchronize it yourself in the 10-minute chart by putting the samples into a new DataSeries in the base time frame.

That's just how Wealth-Lab would do it if it were a supported feature.
profile picture

karla2010

#5
Cone,

Thanks very much for the suggestion. I'll try it.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).