Announcement

Collapse
No announcement yet.

Weekly Pivot Problem

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

  • Weekly Pivot Problem

    The EFS
    Attached Files

  • #2
    Hello

    I’ve been using this EFS the PivotPointAllweekly.efs for sometime, I had a feeling something was wrong with it so I wanted to know what HIGH, LOW, CLOSE the EFS is using. To my surprise if I’m not mistaken it’s using the HIGH, LOW, and CLOSE of two weeks not last week.

    I Added 3 trendline to the efs to see HIGH, LOW and CLOSE



    How can I get the HIGH, LOW, and CLOSE of last week?

    Attached below is the EFS

    Thank you very much

    Ketoma
    Attached Files
    Last edited by ketoma21; 02-21-2005, 11:58 AM.

    Comment


    • #3
      Hello Ketoma,

      Looking at this formula today, it appears to be returning the correct results. I think the problem may have something to do with running the formula on a holiday. Is the formula giving you the correct results today?

      To help you verify that the formula is using last week's high, low and close add the following lines starting at line 109. Then compare the information based on the bar index to a weekly chart of AAPL.

      PHP Code:
      debugPrintln(getCurrentBarIndex() + "  last week's High: " vH);
      debugPrintln(getCurrentBarIndex() + "  last week's Low: " vL);
      debugPrintln(getCurrentBarIndex() + "  last week's Close: " vC); 
      On today's 60 min bars of AAPL I'm currently getting a weekly high low and close for last week of:



      Jason K.
      Project Manager
      eSignal - an Interactive Data company

      EFS KnowledgeBase
      JavaScript for EFS Video Series
      EFS Beginner Tutorial Series
      EFS Glossary
      Custom EFS Development Policy

      New User Orientation

      Comment


      • #4
        Thank you very much Jason

        It's true I did run the formula during the holiday and it's actually working normally again.

        I was just worried, because I've been relying on it for a long time and it was a shock to me.


        Thank you

        Ketoma

        Comment

        Working...
        X