Announcement

Collapse
No announcement yet.

Overlaying symbols

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

  • Overlaying symbols

    Is there a way to overlay another symbol in the same chart either same window or another subwindow.

    I wanted to overlay the $tick on to ES.

    And if we can overlay in the same window can it be done on independant axis?

    Kiri

  • #2
    Akiri,

    I'm not sure if this is what you are after but awhile back I put in a request to the powers that be at esignal and they were kind enough to write an efs for me that displays the $tick, $add, and $addq.

    If it's not what you are after perhaps you can modify parts of it.

    Brian



    function preMain()
    {
    setStudyTitle("ADVDEC");
    setCursorLabelName("ADNY", 0);
    setDefaultBarFgColor(Color.red,0);
    setCursorLabelName("ADNAZ", 1);
    setDefaultBarFgColor(Color.blue,1);
    setCursorLabelName("Tick", 2);
    setDefaultBarFgColor(Color.green,2);
    setCursorLabelName("ZERO", 3);
    setDefaultBarFgColor(Color.white,3);
    setCursorLabelName(" ", 4);
    setDefaultBarFgColor(Color.purple,4);
    setCursorLabelName(" ", 5);
    setDefaultBarFgColor(Color.purple,5);
    setPlotType(PLOTTYPE_LINE);

    }
    function main()
    {
    var vA;
    var vD;
    var vT;
    var vZ;
    var vU;
    var vL;


    vA = getValue("Close",0,1,"$ADD");
    vD = getValue("Close",0,1,"$ADDQ");
    vT = getValue("Close",0,1,"$tick");
    vZ = 0;
    vU = 600;
    vL = -600;

    return new Array(vA[0], vD[0], vT[0],vZ, vU, vL);
    }
    Attached Files

    Comment


    • #3
      Thank you, this helped.

      Kiri

      Comment


      • #4
        Hello Kiri,

        We now have a new group in File Share where we are building a library of EFS formulas. There are three different types of symbol overlay formulas you can experiment with.

        The "SymbolCompareAsNPS.efs" is probably the one you would be most interested in for comparing ES to $Tick.

        EFS Database
        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