Woodies Pivots

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3975 quote
    MarkusMarkus
    Moderator
    New

    Hi guys,

    I am looking for Woodie’s Pivot Points. I prefer them to the classical pivot points.

    Does anybody have the code?

    Thanks in advance !

    Markus

    #4045 quote
    TravelfrogTravelfrog
    Participant
    Senior

    Try this:

     

    //Woodie Pivot Points The formula used in the calculation of Woodie Pivot Points are:
    //Where WR1 through WR4 are Resistance levels 1 to 4, WPP is the Pivot Point, WS1 through WS4 are support levels 1 to 4, RANGE is the High minus the Low for the given time frame (usually daily).
    DayH = high[1]
    DayL = low[1]
    DayO = open
    
    WPP = (DayH + DayL + DayO + DayO) / 4
    WR1 = (2 * WPP) - DayL
    WS1 = (2 * WPP) - DayH
    WR2 = WPP + WR1 - WS1
    WS2 = WPP + WS1 - WR1
    WR3 = WR2 + (WR1 - WPP)
    WS3 = WS2 - (WPP - WS1)
    
    RETURN WR3,WR2,WR1,WPP,WS1,WS2,WS3
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Woodies Pivots


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Markus @markus Moderator
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by TravelfrogTravelfrog
10 years, 6 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 03/18/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...