Hi All,

I have a question regarding EA programming. I was wondering if we can calculate higher TF values for a given function when we attached EA in lower TF? If yes, how? Is there any EA available out there that uses this practice and I can use it as an example to write my EA?

For clarification lets say that I attached my EA to M5 chart and it calculates EMA8. On the other hand, I want it to calculate EMA8 values on M15 and M30 TFs and make decision based on any method that uses the values of EMA8 on three different TFs. So, the key is how your EA can calculate upper TFs values for any function while it is attached to lower TF?

The method that I explained here is not intended to be real trading method, I use it just to simplify problem.

Your help is highly appreciated.

Regards,

I have a question regarding EA programming. I was wondering if we can calculate higher TF values for a given function when we attached EA in lower TF? If yes, how? Is there any EA available out there that uses this practice and I can use it as an example to write my EA?

For clarification lets say that I attached my EA to M5 chart and it calculates EMA8. On the other hand, I want it to calculate EMA8 values on M15 and M30 TFs and make decision based on any method that uses the values of EMA8 on three different TFs. So, the key is how your EA can calculate upper TFs values for any function while it is attached to lower TF?

The method that I explained here is not intended to be real trading method, I use it just to simplify problem.

Your help is highly appreciated.

Regards,