Announcement

Collapse
No announcement yet.

sellShortStopLimit is not defined

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

  • sellShortStopLimit is not defined

    using the instruction:

    if(getCurrentBarIndex() == 0) sellShortStopLimit(vTicker,vPosition,nStopLevel,nS topLevel-2);

    gets the error message:

    Reference Error: sellShortStopLimit is not defined

    ???

  • #2
    Hello ratherBgolfing,

    This function may not be compatible with all brokers. Which broker are you attempting to use it with?
    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
      sorry, should have said

      just using with eSignal Paper Broker

      Comment


      • #4
        using:

        sellShortMarket
        sellMarket
        buyMarket
        buyStopLimit
        sellStopLimit
        closePosition
        cancelOrder


        they all work fine in eSignal Paper Broker...

        still can not get sellShortStopLimit to work

        ideas??? it is an eSignal command so one would assume it should work within eSignal?

        Comment


        • #5
          Hello ratherBgolfing,

          I'm receiving the same error. This must have gotten broken in one of the 7.9 releases. It's not working in 7.9 build 719 either. I'm pretty sure it worked prior to that. At any rate, I've submitted a report to our development team. It is EDL #21982 for future reference. Thank you for reporting the error.
          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


          • #6
            Any updates on this subject?

            I just encountered the same error, so I searched this forum for an answer, and I found this thread.

            This thread is from 2006, talking about eSignal 7.9

            Its 2008 now, and we're on eSignal 10

            Is this ever going to fixed...?

            Comment


            • #7
              Hello Axiom,

              Yes, this will be fixed in one of the up coming versions this year. Hopefully for 10.2 or 10.3.
              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


              • #8
                Thank you

                Thank you for your reply Jason. I’m looking forward to it.

                I have a hunch that I might be able to get it working in the mean time. This is a long shot - but in the case that the function is only mislabeled within the interpreter; would it be possible for you to tell me which string the interpreter is actually comparing for when it parses the script?

                Comment

                Working...
                X