OPEN-SOURCE SCRIPT

Period Levels

This script is a cleaned up version of "Previous Period Levels". It shows only open, high, low, and close levels. There is an adjustable 'lookback' variable. It defaults to '1' to show the levels from '1' period ago. The currentOpen variable defaults to '0' which shows the current period's open level.
levelsPivot Points

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer