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