Announcement

Collapse
No announcement yet.

Increasing Length Indicator

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

  • Increasing Length Indicator

    Hi Everyone,

    I want to know how I can calculate something like a moving average that will constantly increase in length, beginning at a certain time of day.

    For instance, let's say that I want to begin a new calculation starting at 08:30 each day and with each subsequent bar, add another period to the MA length. So, on a 5 minute chart, at 10:30, it would be a length of 24 periods, at 11:30 it would be 36 and so on.

    I can do it in Excel just fine (screenshot of Excel sample attached), but I haven't a clue as to how to do it in Esignal.

    I'm really new to programming in esignal, so could you please give me a sample code that I can work with?

    Many thanks,

    K. Streeter
    Attached Files
Working...
X