Announcement

Collapse
No announcement yet.

Referencing a custom indicator's previous bar using the "call" command

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

  • Referencing a custom indicator's previous bar using the "call" command

    I'm using a custom indicator called "Force" and I thought by using the call command to make it a variable I could then reference it somehow. I can't find any information on this in EFS central or the forums.


    var Force = call("/library/Force.efs")

    I tried this, but doesn't work:

    if (Force > 50 && Force(-1) < Force(0);

    Help appreciated.

    Jamie

  • #2
    Hello Jamie,

    You can find some reference material in our EFS Help Center & Library. Click on the link at the bottom of this post. You may also want to consider using callFunction(), which is a more efficient method.

    In the Help Center, go to EFS Function Reference \ Utility Functions.
    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