Announcement

Collapse
No announcement yet.

Indicator of an existing formula

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

  • Indicator of an existing formula

    dear sirs,

    i want to create a moving average of an indicator already created in my library...how to call my indicator?
    And make a moving average of it?

    thanks for your help

    kind regards,

    pb

  • #2
    Any answers or too difficult question? LOL

    Comment


    • #3
      pbereau
      On the contrary it is actually very easy to do using the efsExternal() function. For the required syntax run a search in the EFS KnowledgeBase for efsExternal()
      You may also want to search the forums for efsExternal* as this function has been covered in detail in several threads which also contain various examples of studies on studies
      Alex

      P.S. Please review the eSignal Central Forum Etiquette and Guidelines with regards to "bumping" threads

      Comment


      • #4
        Thanks Alex!

        My objective was not to bump my thread!
        I was just surprised that i have no answers to my question...i'm not an esignal expert for the moment!
        And what should appear trivial for you is new for me!

        Thanks again for your answer !

        Comment


        • #5
          Can you tell me what's wrong with my formula below:

          function preMain() {



          setStudyTitle("XTX MA");

          setCursorLabelName("XTX", 0);

          setCursorLabelName("EMA", 1);

          setPlotType(PLOTTYPE_LINE, 0);

          setDefaultBarFgColor(Color.blue, 0);

          setDefaultBarFgColor(Color.red, 1);



          var PPR

          var Plot1


          }



          function main() {
          {
          PPR = efsExternal("/Library/XTX.efs");
          Plot1 = getSeries(PPR, 0);
          ema(10, Plot1, 1)

          }

          }

          Comment


          • #6
            I find my error - in ema declaration!
            Hope that in the future i don't need any help!
            i'm understanding better esignal language now.
            I can program easily in Metastock and Tradestation...but esignal takes more time to understand!

            Comment


            • #7
              The formula works but the only problem i have now is I need to reload the efs to update it in Real Time!

              I've made a search in KB Base but for example the reloadEFS() function don't work on the EFS!

              Anyone have a valid answer?
              Last edited by pbereau; 03-03-2006, 01:17 PM.

              Comment


              • #8
                Hé guys...how to solve that?


                I tried the "bCompleteRefreshNeeded" function as specified in the Knowledge Base...but the software returned the message:
                " bCompleteRefreshNeeded is not defined"...
                Last edited by pbereau; 03-03-2006, 01:21 PM.

                Comment


                • #9
                  pbereau
                  That error message indicates that you did not declare the bCompleteRefreshNeeded variable. See the example shown for the reloadEFS() function in the EFS KnowledgeBase
                  Regardless, the fact that you need to reload your script to get it to work would suggest that it is coded incorrectly.
                  You may want to read through this thread which will provide you with detailed explanations and examples on how to use the efsExternal() function and this thread which contains several examples on how to create studies on studies in EFS2.
                  Alex

                  Comment


                  • #10
                    Hi Alex

                    Thanks for the threads!
                    i've solved my problem (just a small error in the ema) and it works real time now!
                    But better...in your threads i've find a way to simplify my formula and erased up to 10 lines of program!

                    thanks a lot

                    Comment


                    • #11
                      pberau
                      You are most welcome
                      Alex

                      Comment

                      Working...
                      X