BrainTrend2Stop is a trend reversal detection indicator, it is displayed by the stops line. Intersection of the line indicates trend reversal and the time to close previously opened positions. BrainTrend2Sig algorithm is based on the processing of ATR and Stochastic Oscillator indicators' information.
In this indicator I extracted all algorithm variables that can be controlled into the indicator's input parameters, so it can be used not only with the default settings now.
Blue line below the candlesticks minimums indicates two things:
Red line above the candlesticks maximums indicates two things:

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/396
BrainTrend2Sig
BrainTrend2Sig is an indicator of the market trends that assigns colors to candlesticks according to the trend direction.
BrainTrend2
BrainTrend2 is an indicator of the market trends that assigns colours to candlesticks according to the trend direction.
BrainTrend1
Trend direction indicator BrainTrend1.
BrainTrend1Sig
BrainTrend1Sig is an indicator for positions opening and closing. It indicates trend reversal points when a price reaches extreme values.