AliSignals

Pivot Trend Levels

You can use this indicator to detect the levels and trend.

I used the highest of the two last highest pivots and the lowest of the two last lowest pivots to calculate "max" and "min" or high level or low level.

I also calculate the average of the 4 values to reach the average line which could be a trend detector in higher lengths.

Default length is 3 but using 10 or 20 as length is really good as trending detector.

I need help to upgrade a trend detector system. please read the script for more information.

Thank you so much.

Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?