Announcement

Collapse
No announcement yet.

Any idea of modifying PivotPointAll.efs?

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

  • Any idea of modifying PivotPointAll.efs?

    Hello,

    I would like to modify PivotPointAll.efs so that it can draw lines only for the last 2-3 trading days.
    I would appreciate if I can get some idea of how to do it.

    Mori

  • #2
    Please attach the code...

    More,

    Please attach the code so I can look at it.

    Brad
    Brad Matheny
    eSignal Solution Provider since 2000

    Comment


    • #3
      Brad,

      Please have a look at the attached file.

      Mori
      Attached Files

      Comment


      • #4
        Questions...

        It appears this EFS is already doing what you want (unless I don't understand your request)..

        I loaded it onto a 3 minute ES H4 chart (with 3 days data) and I get lines (different for each day) on the current day and the historical day. Is this NOT what you want??

        Brad
        Brad Matheny
        eSignal Solution Provider since 2000

        Comment


        • #5
          Brad
          I think Mori wants the lines to plot back only 2 or 3 days even when more days are loaded in the chart.
          Alex

          Comment


          • #6
            Try This..

            This file compares the current date (today's date) against the historical date and allow ONLY to draw the lines for data that is within a specific number of days from today.

            Thus, if the "OffsetDays" is set to 3, then it will only allow the levels to be drawn for ...

            today
            today-1
            today-2

            a total of 3 days.

            Let me know if there is anything else...

            Brad
            Attached Files
            Brad Matheny
            eSignal Solution Provider since 2000

            Comment


            • #7
              Oops...

              Damn, doing two things at once...

              Here is the REAL FILE.

              Brad
              Attached Files
              Brad Matheny
              eSignal Solution Provider since 2000

              Comment


              • #8
                BTW....

                I forgot to comment out a debug line in the code. I was using it to confirm my variable usage.

                Please modify the file and comment out line 144

                "debugPrintln(((vMonth*100)+vDay)+" : "+(BLMMonthDay-OffsetDays));"

                Otherwise, the operation may be a bit slower..

                Brad
                Brad Matheny
                eSignal Solution Provider since 2000

                Comment


                • #9
                  Brad,

                  Many thanks for your help.
                  This is what I wanted.

                  Mori

                  Comment

                  Working...
                  X