alexhyer13

Max - min - ML - top/bottom GP

This script keeps track of historical max's and min's and calculates the midline and top/bottom GP fibs off that.

The way it calculates max/mins is unique as it's a two-step customizable process. In settings, there are two adjustable parameters; length and lookback.
The length parameter defines how many candles the max/min will be saved for. If the last recorded max/min happened longer than the length variable it will reset.
The lookback parameter comes into play when a max/min is reset. It simply looks back x candles and gets the new max/min from that
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?