OPEN-SOURCE SCRIPT

Pivot Crossover

This indicator work on pivot point crossover. In this indicator use three pivot point
White color line is Pivot point for current bar.
Green/Red color line is Pivot point for last bar.
Yellow color line is Pivot point for 2nd last bar.

For long
if last pivot crossover above 2nd last pivot then go long
if current pivot crossover below last pivot then exit long

For short
if last pivot crossover below 2nd last pivot then go short
if last pivot crossover above last pivot then exit short
pivotPivot Pointspivotstrategy

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer