BacktestRookies

Pivot Prices - Example

A simple example script showing how to use label.new() to plot pivot prices on the chart.

A full tutorial and commentary is available on the backtest-rookies website.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Comments

Can you make this mtf?
+3 Reply
Why need to retrace 2 bars?
+1 Reply
would someone be so kind to explain why this simple script resulting error "Could not find function or function reference label.new"
when i just copied exactly d same n pasted on top or below of my other script (after deleting the first 2 lines (version... n study...) ?
Reply
TomXian evec8888
@evec8888, Maybe version of your other scrpt is 3?
+2 Reply