Pivot Points are used to determine the overall trend of the market over different time frames. This script plots PP, R1, and S1 levels based on daily data.
//@version=6
indicator('Pivot Points Standard', overlay=true)
[ph, pl, pc] = request.security(syminfo.tickerid, 'D', [high[1], low[1], close[1]], lookahead=barmerge.lookahead_on)
pp = (ph + pl + pc) / 3
r1 = 2 * pp - pl
s1 = 2 * pp - ph
plot(pp, 'PP', color=color.orange)
plot(r1, 'R1', color=color.green)
plot(s1, 'S1', color=color.red)Enhance your trading workflow with these professional tools and platforms.
Get funded up to $300K. Keep 90% of your profits.
The professional choice for secure execution.
Mirror top-tier traders instantly.