Announcement

Collapse
No announcement yet.

ema with different time

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

  • ema with different time

    Hi,
    I'm trying to implement:
    var nEMA = new ema(40, sym("ES #F=2","30"));
    and get an error message "The symbol Limit (7) for a formula has been exceeded".

    Please help,
    Baruch

  • #2
    Baruch
    The error message indicates that you are trying to access more symbols and/or intervals than the maximum allowed for an efs (which is 7).
    Also the syntax used in your code example is not correct and should be
    var nEMA = ema(40, sym("ES #F=2,30"));
    Note that the new constructor is not required with the efs2 functions. For the complete description and syntax of the moving averages functions [incluiding examples of their use] see this article in the EFS KnowledgeBase
    Alex

    Originally posted by baruchs
    Hi,
    I'm trying to implement:
    var nEMA = new ema(40, sym("ES #F=2","30"));
    and get an error message "The symbol Limit (7) for a formula has been exceeded".

    Please help,
    Baruch

    Comment

    Working...
    X