The indicator detects the current trend using the following definition:
A trend is a market situation when each subsequent peak is higher/lower than the previous one, as well as each subsequent bottom is higher/lower than the previous one.
Exceeding all previous peaks/bottoms on the specified amount of bars by the current peak/bottom is considered to be a beginning of a new trend.
The indicator paints bars according to an identified trend.
- Lines_Break - number of bars used for detecting a trend.
The indicator does not repaint.