Announcement

Collapse
No announcement yet.

dynamic indicator

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

  • dynamic indicator

    Could somebody please explain how esignal dynamically calculates the values created by indicators that are running in a specific interval. ie. For DMI running on a 1 min interval, dmi produces a value for every tick. How does eSignal calculate this value?

    thnx,

    Ian

  • #2
    Ian,

    The studies are designed to recalculate the formula based on each new trade that comes in. It is written to reflect as if the current bar's close is equal to the last trade, so if the bar was to close at that exact time, then that would be the study's value for that bar.
    Regards,
    Jay F.
    Product Manager
    _____________________________________
    Have a suggestion to improve our products?
    Click Support --> Request a Feature in eSignal 11

    Comment


    • #3
      Jay,

      Do you mean that, by default, DMI is programmed to calculate based on the closing bar's price? ...and therefore continues to calculate per tick until the end of the bar?
      If DMI was programmed to calculate based upon an average of say H+L+close+open/4. How would eSignal calculate intra-bar in that case?

      Comment


      • #4
        Ian
        Unless otherwise instructed - by means for example of the setComputeOnClose() command or by the getBarState() function - an efs computes the data on every incoming tick.
        So, if an efs were written to base its calculations on OHLC/4 it would use the existing intrabar values of OHL and for the Close it would use the Last Trade price thereby updating on every tick.
        Alex

        Comment

        Working...
        X