indicator · on price · open source
Woodie Pivot Points indicator
Woodie Pivot Points is a free open-source indicator. Woodie pivots weight yesterday's close twice (vs the classic formula), so the PP line leans… Deepwick Script runs a subset of Pine Script.
Running…
Loading chart…
What Woodie Pivot Points does
Woodie pivots weight yesterday's close twice (vs the classic formula), so the PP line leans toward where price actually settled. Often gives a tighter PP than Standard for trending sessions.
- Useful when the prior session was a clear trend — the heavier close moves PP toward the close.
- R1/R2/S1/S2 are projected off the standard range.
Source code
Deepwick Script, a subset of Pine Script · read-only
//@version=6
indicator("Woodie Pivot Points", overlay=true)
colorMid = input.color("color.orange", "Color Mid")
colorUp = input.color("color.green", "Color Up")
colorDown = input.color("color.red", "Color Down")
pp = (ta.highest(high, 1)[1] + ta.lowest(low, 1)[1] + 2 * close[1]) / 4
r1 = 2 * pp - ta.lowest(low, 1)[1]
s1 = 2 * pp - ta.highest(high, 1)[1]
r2 = pp + (ta.highest(high, 1)[1] - ta.lowest(low, 1)[1])
s2 = pp - (ta.highest(high, 1)[1] - ta.lowest(low, 1)[1])
p_PP = plot(pp, "PP", color=colorMid, linewidth=2)
p_R1 = plot(r1, "R1", color=colorUp, style=plot.style_linebr)
p_R2 = plot(r2, "R2", color=colorUp, style=plot.style_linebr)
p_S1 = plot(s1, "S1", color=colorDown, style=plot.style_linebr)
p_S2 = plot(s2, "S2", color=colorDown, style=plot.style_linebr)
No comments yet.
Sign in to comment.