This indicator will let you know the trend reversal points and when it falls below the signal line then the trend is ending vice versa. Buy when the indicator crosses above the signal line and sell when it falls below the signal line.
Let me know if you would like to see me write any other scripts!
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.