Announcement

Collapse
No announcement yet.

Library Functions - Feeding other Inputs

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

  • Library Functions - Feeding other Inputs

    Is it possible to feed other than "close" data series into MA and EMA functions provided in the Library?

    If yes, how should be done?
    If not, is there a work around it?
    Note: I tried to feed a study and did not work.

    2. Second (related) Question:
    If one of my studies is not a builtin study but a function from the Library (ex. use EnhancedRSI), is it possible to use the builtin MA study?
    If yes, what is the syntax?

    Thank you.

    Thinking out loud: I don't know what advantages are from running all studies upfront, unrelated to each other, but I know that this creates so many other problems that I wonder if it was a wise decision!
    Last edited by mbuta; 10-04-2003, 10:24 PM.
    Mihai Buta

  • #2
    Yes, definitly possible

    Add the ma.efs to the advanced chart

    Right click on the chart, select Edit Studies, select ma.efs, choose the source you want.

    Comment


    • #3
      What you suggest does not work for ANY study!
      How do you "select" my RSI series I have in an other efs file??

      So, thanks but ....

      Anybody else can help?
      Mihai Buta

      Comment


      • #4
        mbuta,

        What you suggest does not work for ANY study!
        What David suggests does indeed work, though it may not be answering the question you ask.

        Is it possible to feed other than "close" data series into MA and EMA functions provided in the Library?
        This isn't clear what exactly you mean. David answered it assuming you were refering to the Basic Studies Built into eSignal. If you were asking if the builtins that are used in EFS coding can have a different source, the answer is yes:

        PHP Code:

        The format is
        :
        nStudy = new MAStudy(LengthOffsetSourceMA TYPE);

        so:

        nStudy = new MASTudy(100"High"MAStudy.SIMPLE); 
        would produce an 10 period simple MA of the highs with an offset of 0.

        Does this answer the question?

        Garth
        Garth

        Comment


        • #5
          Further reply:

          Note: I tried to feed a study and did not work.
          This makes me think you may be trying to feed the builtin MA study your own data serries. If so, this is not supported at this time. You can however feed it a data stream from another builtin study.

          If one of my studies is not a builtin study but a function from the Library (ex. use EnhancedRSI), is it possible to use the builtin MA study?
          It's not clear what you are trying to do here. If you are trying to pipe (my unix background is showing) the output from an EFS into the builtin study (such as the MAStudy) this is NOT currently supported (as stated above).

          If you want to convert an existing EFS to use builtins for some of its fundemental data, this is possible as long as the source data is either OHLC data from the chart or serries data from another builtin.

          If you want to use the output of an EFS in another EFS this is possible with callFunction().

          Garth
          Garth

          Comment


          • #6
            I do use the builtin MA and I know it works, ONLY IF THE DATA SERIES IS AN OTHER STUDY.

            What I am trying to do is to feed to MA (buitin or library function) a series of data which I calculate (say sum of two other studies, or a value I store in an array or so) and this is what does not work.

            Is there a solution?
            Thank you.
            Mihai Buta

            Comment


            • #7
              No, that is not currently supported. In the future this may be.

              Garth
              Garth

              Comment

              Working...
              X