OPEN-SOURCE SCRIPT
Auto Levels

Automatically paints open, high, low, and close levels from previous periods.
RTH data only in traditional cash markets.
Previous periods included are:
- Day
- Week
- Month
- Quarter
- Year.
Customization options allow for:
- Enabling/disabling of each type of level for each period
- Text size and colors of labels
- Colors and styles of lines
- Line extension length
*Also, there is a close-price ray included. Can be disabled.
Creates new levels once they generate, and removes old and outdated levels.
The idea is to be transparent about the relevancy of levels and portray them as they generate in time. Full 2-way-ray horizontal lines can appear to give false-reaction data in historical bars from before the level was generated. This can give traders a false sense of importance to a level.

Works on any ticker/symbol.
Known bugs:
** Open levels distort based on open/closed status in traditional markets. Fix pending.
** Different candle types (Heikin Ashi) distort all open/close level data. Fix pending.
** Line extension doesn't work in closed markets. Fix pending.
Message me on twitter for other bug reports.
RTH data only in traditional cash markets.
Previous periods included are:
- Day
- Week
- Month
- Quarter
- Year.
Customization options allow for:
- Enabling/disabling of each type of level for each period
- Text size and colors of labels
- Colors and styles of lines
- Line extension length
*Also, there is a close-price ray included. Can be disabled.
Creates new levels once they generate, and removes old and outdated levels.
The idea is to be transparent about the relevancy of levels and portray them as they generate in time. Full 2-way-ray horizontal lines can appear to give false-reaction data in historical bars from before the level was generated. This can give traders a false sense of importance to a level.
Works on any ticker/symbol.
Known bugs:
** Open levels distort based on open/closed status in traditional markets. Fix pending.
** Different candle types (Heikin Ashi) distort all open/close level data. Fix pending.
** Line extension doesn't work in closed markets. Fix pending.
Message me on twitter for other bug reports.
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.