Quick question on how to approach something using the new multi-time frame capability.
I am wanting to access 2 additional time frames from within a single chart. A time frame higher and a time frame lower.
I need to be able to obtain hi/lo values for bars on each of these time frames, but not necessarily the current bar being created and coorelate those bars to bars on the current chart.
My current efs perform advanced pattern recoginition without using indicators--on the actual bars themselves. What I'd like to do is conduct from a single chart pattern recognition in 3 time frames and be able to coorelate the 3 together for even more powerful pattern recognition in the form of fractal patterns within patterns. My problem is, I can't see with the new efs2 capability how to approach this. It appears as if the multi-time frame capability is really strictly for indicators, where as you create a data series based on another time frame's indicator.
But what I need to do is be able to run my pattern routine on 3 times frames, and using the middle time frame be able to look at the other time frames and check the current pattern.
I am a bit foggy on how to approach this using efs2.
One thought was to change my routine to be a function that you call with a series, but this series would not be a single data item series like series of highs or MA, but rather a series of bar data(OHLC) and let the pattern recognition perform it's task and return it's current information as an object that I would then use to make my decisions.
Question is can I do this. I see you can pass a different interval to your function using INV(), so I would have to pass my routine the INV() for all 3 time frames and then have to manually look for bar index values on each time frame that share the same hi/lo? Or is there an easier way of doing this?
if someone has an example of how they identify shared lo/hi on multiple time frames and could post that code that would be great!
thx
I am wanting to access 2 additional time frames from within a single chart. A time frame higher and a time frame lower.
I need to be able to obtain hi/lo values for bars on each of these time frames, but not necessarily the current bar being created and coorelate those bars to bars on the current chart.
My current efs perform advanced pattern recoginition without using indicators--on the actual bars themselves. What I'd like to do is conduct from a single chart pattern recognition in 3 time frames and be able to coorelate the 3 together for even more powerful pattern recognition in the form of fractal patterns within patterns. My problem is, I can't see with the new efs2 capability how to approach this. It appears as if the multi-time frame capability is really strictly for indicators, where as you create a data series based on another time frame's indicator.
But what I need to do is be able to run my pattern routine on 3 times frames, and using the middle time frame be able to look at the other time frames and check the current pattern.
I am a bit foggy on how to approach this using efs2.
One thought was to change my routine to be a function that you call with a series, but this series would not be a single data item series like series of highs or MA, but rather a series of bar data(OHLC) and let the pattern recognition perform it's task and return it's current information as an object that I would then use to make my decisions.
Question is can I do this. I see you can pass a different interval to your function using INV(), so I would have to pass my routine the INV() for all 3 time frames and then have to manually look for bar index values on each time frame that share the same hi/lo? Or is there an easier way of doing this?
if someone has an example of how they identify shared lo/hi on multiple time frames and could post that code that would be great!
thx
Comment