This script is based on mathematical calculations of the average price on a chart for a certain period of time. And it shows the impulse moments on a U-turn.
It is recommended to use an indicator (script) using a chart with a time frame of 1 hour. On other timeframes, you can also use it for medium-term trend trading and change some settings.
The indicator...