Announcement

Collapse
No announcement yet.

macd intervals

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

  • macd intervals

    Good afternoon,

    I'm programing an EFS base on the macd on
    3 different intervals,

    How can I use external intervals on the macd?

    Have a great day,

    Jaime

  • #2
    Hello Jaime,

    You can specify external intervals with any of the built-in studies, such as macd(), that has the optional inv() parameter. You would pass the desired parameter to the inv() function. In the case of macd() you could use the following to base the macd on a 15 minute interval.

    macd() syntax:
    macd( fastLength, slowLength, smoothing [, source | sym() | inv()] [, barIndex] )

    Example:
    macd( 12, 26, 9 , inv(15));
    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

    Working...
    X