Indicator identifies potential price trend exhaustion.
Compares this period against the 4th prior period for the condition.
9 periods (or more) with the same condition is an indicator that the trend is ending soon.
Updated Script to use Pine Script language level v4.
Fixed some colors.
Updated License & Comments.
Removed superfluous indicators from the example chart.
Added a comment.
Remove from Favorite ScriptsAdd to Favorite Scripts