Announcement

Collapse
No announcement yet.

Retrieve OHLC/4 prices

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

  • Retrieve OHLC/4 prices

    Dear Sir,

    2 Questions:
    #1 - Has anyone written and posted a regression fit to a cubic equation? I can't find one. If one exists somewhere in "EFS Studies" - please point it out to me.

    #2
    I'm writing the cubic fit, mentioned above , and would like to use OHLC/4 data. I realize that I can explicitly calculate it by retrieving open(), high() . . . , BUT I notice that in your MAStudy you can specify OHLC/4 as a data source.

    Can I retrieve this average already computed?? Something like

    vAvg = OHLC/4(); ( or whatever) ????

    Thanking You in Advance,

    Ed Hoopes
    [email protected]

  • #2
    Hello Ed,

    Not familiar with #1.

    For #2, try,

    var vAvg = (open() + high() + low() + close()) / 4;
    Jason K.
    Project Manager
    eSignal - an Interactive Data company

    EFS KnowledgeBase
    JavaScript for EFS Video Series
    EFS Beginner Tutorial Series
    EFS Glossary
    Custom EFS Development Policy

    New User Orientation

    Comment


    • #3
      Thanks Jason for your quick reply.

      I'll calculate it as you suggest.

      Thanks,

      ReefBreak

      Comment

      Working...
      X