Announcement

Collapse
No announcement yet.

Two EFSs Communicating

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

  • Two EFSs Communicating

    Hi

    I'm a newbie, and have recently started coding in Esignal.

    I would like to run two of Jurik's indicators in one EFS. How could I take signals from both the JMA and the VEL into one EFS (to create entry and exit signals based upon levels of each) ?

    Has anyone done this ?

    Help on this would be really appreciated.

    Thanks.

    Deax.

  • #2
    Hello Deax,

    Here's some links to our EFS Reference material for the JurikJMAStudy() and JurikVELStudy(). You can use these builtin studies to access the indicator values in a single EFS to develope your trading conditions. Replace the parameters names, Smooth, Length, Phase, Offset and PriceSource with your desired values.

    PHP Code:
    var JMA JurikJMAStudy(SmoothPhaseOffsetPriceSource);
    var 
    VEL JurikVELStudy(LengthPriceSource); 

    function 
    main() {
        var 
    nJMA JMA.getValue(JurikJMAStudy.JMA);
        if (
    nJMA == null) return;

        var 
    nVEL VEL.getValue(JurikVELStudy.VEL);
        if (
    nVEL == null) return;

        
    //  create conditions here using nJMA and nVEL


    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 - very simple and easy - great !

      Deax.

      Comment

      Working...
      X