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.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。