N days historical Pivot points – Help needed.

Forums ProRealTime English forum ProBuilder support N days historical Pivot points – Help needed.

Viewing 10 posts - 1 through 10 (of 10 total)
  • #141500

    I found that the price usually fluctuates between pivot points from last three days.

    Please see attached example screenshot.

    In the attached example –

    • All the blue lines are the pivot points of last 3 days which I drew manually
    • Highlighted in purple are the points where price bounced off.

    It would be very handy to have an indicator which shows pivot points from last 3 days.(or n days)

    Can someone please help coding it?

     

    Thanks in advance.

     

    #141503

    There is a default indicator named “pivot points” in the platform, it plots pivot points from the last X days. You can either use the calculation mode and the time horizons of the pivots (hourly, weekly, monthly, daily, …).

    #141505

    Hi @Nicolas,
    yes, I have used the default pivot points indicator, but problem is that it doesn’t extend the lines to current day.

    So basically I want a the pivot lines of last three days on to currrent day chart automatically.

    #141508

    Oh i see now! the below code should plots the last 3 days pivot points:

     

    #141520

    Thanks a lot @Nicolas.

    Tried this code.

    This generates several lines on the chart may be because there is no conditional statement to restrict it to 3 days.

    See attached screenshot.
    Sorry may be my newbie knowledge.

    #141525

    Add this line to draw only the last candlestick, otherwise it will draw lines of pivot points all over the past history too.

     

    #141532

    Thanks a lot @Nicolas.

    It worked. Here is the full code

     

    #141534

    Hi @Nicolas,

    From the above code I want to frame something like –

     

    How can I integrate all 21 variables(S11,S12,S13…..P1,P2,P3, …..R31,R32,R33) in above equation data=____ ?

    #141576

    code many “data” and “c1” variables with different names for any of your pivot points and change the screener line with: screener[c1 OR c2 OR c3 OR ………….]

    1 user thanked author for this post.
    #141610

    You are a star !

Viewing 10 posts - 1 through 10 (of 10 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login