Announcement

Collapse
No announcement yet.

Merging charts of differnet time frames

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Merging charts of differnet time frames

    I have two existing efs studies of different time frames; 5 and 10 minutes. In a spread sheet, I place an empty cell between the 2 consecutive 10 minute data points and create an intermediate point by adding the 2 together and dividing by 2. This produces a sudo 5 minute chart that I can plot on top of the true 5 minute chart for later evaluation.

    Is there an efs example or two of how to do this ?

    Thank you for your help.

    Best Regards,

    Alan

  • #2
    Alan2004

    If you have a 10 min chart and you want to plot the average of the last two indicator values, just save the prior value at the start of a new bar, then add it to the current value and divide by 2,

    TO plot the average, just insert the sum/2 to the return statement.

    Did that help?

    Comment


    • #3
      David,

      Thank you for the reply. I understand the concepts of your proposal, however I am not a very good programmer. Are there any examples of code which show how to accomplish the steps you indicated? It may be that I need to cut and past from several differnet sources to learn and create what I need. Thanks again for your help.

      Best Regards,

      Alan

      Comment

      Working...
      X