Announcement

Collapse
No announcement yet.

EFS pattern recognition eSig v10.6

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

  • EFS pattern recognition eSig v10.6

    hello...
    using an .efs program to identify entry patterns in Point & Figure charts. program works great identifying opportunities. i can search 100 stocks in less than 5 mins.

    problem is i only need the first 20 bars to locate current pattern. i'm not interested in patterns from the past. searching the past takes a lot of computer resources.

    can anyone direct me to an example that will help solve my problem? any ideas?
    thanks,
    peter.

  • #2
    Re: EFS pattern recognition eSig v10.6

    peter
    At the top of your main function add a conditional statement that interrupts the execution of the script if the current bar index is less than or equal to -20 eg
    if(getCurrentBarIndex()<=-20) return;
    Alex


    Originally posted by peterjerome
    hello...
    using an .efs program to identify entry patterns in Point & Figure charts. program works great identifying opportunities. i can search 100 stocks in less than 5 mins.

    problem is i only need the first 20 bars to locate current pattern. i'm not interested in patterns from the past. searching the past takes a lot of computer resources.

    can anyone direct me to an example that will help solve my problem? any ideas?
    thanks,
    peter.

    Comment


    • #3
      alex,

      that is exactly what i was lookiing for.
      thanks alex, you are a big help on this foru.m.

      peter.

      Comment


      • #4
        peter
        You are welcome
        Alex


        Originally posted by peterjerome
        alex,

        that is exactly what i was lookiing for.
        thanks alex, you are a big help on this foru.m.

        peter.

        Comment


        • #5
          alex,

          the getCurrentBarIndex solution you gave to me works great.

          .i.e. i only 'paint' patterns in the first (current) 20 bars. however
          the complete history is still scanned. this could go back 10 yrs or more and takes some time.

          question. is there a way to eliminate the unneeded history?

          thanks,
          peter.

          Comment


          • #6
            peter
            Use a Time Template to load less data
            Alex


            Originally posted by peterjerome
            alex,

            the getCurrentBarIndex solution you gave to me works great.

            .i.e. i only 'paint' patterns in the first (current) 20 bars. however
            the complete history is still scanned. this could go back 10 yrs or more and takes some time.

            question. is there a way to eliminate the unneeded history?

            thanks,
            peter.

            Comment


            • #7
              alex,
              that's it...loads MUCH faster now...amazing
              you came through again amigo.
              thanks,
              peter.

              Comment


              • #8
                peter
                My pleasure
                Alex


                Originally posted by peterjerome
                alex,
                that's it...loads MUCH faster now...amazing
                you came through again amigo.
                thanks,
                peter.

                Comment

                Working...
                X