Announcement

Collapse
No announcement yet.

How do I make this EFS auto update ?

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

  • How do I make this EFS auto update ?

    How do I add efs code ?
    Last edited by larrydudash; 09-03-2009, 12:25 PM.
    Larry Dudash
    HAL at
    http://share.esignal.com/groupconten...r=&groupid=549

  • #2
    How do I make this EFS auto update ?

    delete
    Last edited by larrydudash; 09-04-2009, 11:51 AM.
    Larry Dudash
    HAL at
    http://share.esignal.com/groupconten...r=&groupid=549

    Comment


    • #3
      How do I make CustomEnvelope auto update ?

      How do I make "CustumEnvelope.efs" auto Update on the 30 Minute Chart ?
      This is my 3rd and final try.
      Attached Files
      Larry Dudash
      HAL at
      http://share.esignal.com/groupconten...r=&groupid=549

      Comment


      • #4
        Re: How do I make CustomEnvelope auto update ?

        larrydudash
        What do you mean with auto update?
        Alex


        Originally posted by larrydudash
        How do I make "CustumEnvelope.efs" auto Update on the 30 Minute Chart ?
        This is my 3rd and final try.

        Comment


        • #5
          Re: Re: How do I make CustomEnvelope auto update ?

          Alexis
          I have two CustomEnvelpes on my study.
          (1) The one with a 3 MA Env with -1 Offset updated fine on
          my 30 minute chart.
          (2) But the second with a 10 MA Env -5 Offset does NOT update
          on my 30 minute chart unless I use the "refresh"
          (3) See chart below.
          Originally posted by Alexis C. Montenegro
          larrydudash
          What do you mean with auto update?
          Alex
          http://share.esignal.com/ContentRoot/HAL/SPX_30.png
          Last edited by larrydudash; 09-09-2009, 01:30 PM.
          Larry Dudash
          HAL at
          http://share.esignal.com/groupconten...r=&groupid=549

          Comment


          • #6
            Re: Re: Re: How do I make CustomEnvelope auto update ?

            larrydudash
            Replace the following three lines of code
            PHP Code:
             xUpEnv =  offsetSeries(upperEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))),Offset);
                    
            xMidEnv =  offsetSeries(middleEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))),Offset);
                    
            xLoEnv =  offsetSeries(lowerEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))),Offset); 
            with the following
            PHP Code:
            xUpEnv =  upperEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol)));
                    
            xMidEnv =  middleEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol)));
                    
            xLoEnv =  lowerEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))); 
            and replace the return statement
            PHP Code:
            return new Array (getSeries(xUpEnv), getSeries(xMidEnv), getSeries(xLoEnv)); 
            with the following
            PHP Code:
             return new Array (offsetSeries(xUpEnv,Offset), offsetSeries(xMidEnv,Offset), offsetSeries(xLoEnv,Offset)); 
            Once you implement these changes the script should update also when using negative offsets
            Alex


            Originally posted by larrydudash
            Alexis
            I have two CustomEnvelpes on my study.
            (1) The one with a 3 MA Env with -1 Offset updated fine on
            my 30 minute chart.
            (2) But the second with a 10 MA Env -5 Offset does NOT update
            on my 30 minute chart unless I use the "refresh"
            (3) See chart below.
            http://share.esignal.com/ContentRoot/HAL/SPX_30.png

            Comment


            • #7
              Re: Re: Re: Re: How do I make CustomEnvelope auto update ?

              Alexis
              (1) I made the 2 changes, but will not know until after the market opens
              (2) For your info....The neg Offsets are required for study of the
              HURST Method. Many books have been written on HURST METHOD.
              .
              Originally posted by Alexis C. Montenegro
              larrydudash
              Replace the following three lines of code
              PHP Code:
               xUpEnv =  offsetSeries(upperEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))),Offset);
                      
              xMidEnv =  offsetSeries(middleEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))),Offset);
                      
              xLoEnv =  offsetSeries(lowerEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))),Offset); 
              with the following
              PHP Code:
              xUpEnv =  upperEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol)));
                      
              xMidEnv =  middleEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol)));
                      
              xLoEnv =  lowerEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))); 
              and replace the return statement
              PHP Code:
              return new Array (getSeries(xUpEnv), getSeries(xMidEnv), getSeries(xLoEnv)); 
              with the following
              PHP Code:
               return new Array (offsetSeries(xUpEnv,Offset), offsetSeries(xMidEnv,Offset), offsetSeries(xLoEnv,Offset)); 
              Once you implement these changes the script should update also when using negative offsets
              Alex
              Larry Dudash
              HAL at
              http://share.esignal.com/groupconten...r=&groupid=549

              Comment


              • #8
                Re: Re: Re: Re: How do I make CustomEnvelope auto update ?

                Alexis
                It worked in real time
                Thank you again.

                Originally posted by Alexis C. Montenegro
                larrydudash
                Replace the following three lines of code
                PHP Code:
                 xUpEnv =  offsetSeries(upperEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))),Offset);
                        
                xMidEnv =  offsetSeries(middleEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))),Offset);
                        
                xLoEnv =  offsetSeries(lowerEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))),Offset); 
                with the following
                PHP Code:
                xUpEnv =  upperEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol)));
                        
                xMidEnv =  middleEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol)));
                        
                xLoEnv =  lowerEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))); 
                and replace the return statement
                PHP Code:
                return new Array (getSeries(xUpEnv), getSeries(xMidEnv), getSeries(xLoEnv)); 
                with the following
                PHP Code:
                 return new Array (offsetSeries(xUpEnv,Offset), offsetSeries(xMidEnv,Offset), offsetSeries(xLoEnv,Offset)); 
                Once you implement these changes the script should update also when using negative offsets
                Alex
                Larry Dudash
                HAL at
                http://share.esignal.com/groupconten...r=&groupid=549

                Comment


                • #9
                  Larry
                  You are welcome
                  Alex


                  Originally posted by larrydudash
                  Alexis
                  It worked in real time
                  Thank you again.

                  Comment

                  Working...
                  X