Woodies Pivots

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3975 quote
    Markus
    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
    Travelfrog
    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.

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 Travelfrog
9 years, 10 months ago.

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