How to fix Weekly Fair Value Pivot

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #213346 quote
    Mary
    Participant
    Average

    Hello,

    I have a formula for Weekly Fair Value Pivot and I plotted it on Daily chart but this formula is only showing a plot for previous week’s pivot dated: (April 3-6th) , and not this current week’s pivot that just ended:(April 10-14,2023)

    How do I fix it so that I can get a  Weekly Pivot plot as soon as Friday of that same week closes?

    Please see my current formula that I need help with:

    // POINT PIVOT HEBDOMADAIRE
    IF dayofweek < dayofweek[1] THEN
    weekhigh = prevweekhigh
    weeklow = prevweeklow
    weekclose = prevweekclose
    prevweekhigh = high
    prevweeklow = low
    ENDIF

    prevweekhigh = max(prevweekhigh, high)
    prevweeklow = min(prevweeklow, low)
    prevweekclose = close

    PPWeek = (weekhigh + weeklow + weekclose) / 3
    RETURN PPWeek COLOURED(50,50,220) AS”Pivot Week”

    #213374 quote
    JS
    Participant
    Senior

    Hi Mary,

    As I understand it, the week starts on Monday and you can only see the pivot of the previous week next Monday…

    #213380 quote
    Mary
    Participant
    Average
    But then I am looking at ThinkorSwim software, and there I can plot Weekly pivots on Daily chart as soon as the week closes. Just wondering why its not possible in Prorealtime? Thank you in advance and please see pic:
    #213382 quote
    Mary
    Participant
    Average
    Thank you I figured out how to do it, no need to respond further:
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

How to fix Weekly Fair Value Pivot


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Mary @mila Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by Mary
2 years, 9 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 04/16/2023
Status: Active
Attachments: 3 files
Logo Logo
Loading...