OPEN-SOURCE SCRIPT
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
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 open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.