OPEN-SOURCE SCRIPT

Alternative Daily Reference Points for Intra-hour Charts

This is a different version of my tradingview.com/script/WHJ1JHIZ-Daily-Reference-Points-for-Intra-hour-Charts/which used high, lows and pivots. One problem with pivot points is the number of calculation methods. The alternative version shows historical lows, closes, highs one basic period back.

► On lower timeframes - hour or less - this will show High, Low and Close from the previous day, two days ago, the previous week and two weeks ago and VWAP.
► On 1h daily reference points need to be enabled. On higher timeframes, daily reference points will not be shown. On the daily chart, weekly levels need to be enabled to still show and will be disabled on all higher periods.
► It is configured only for normal timeframes. If you use something like 17-minutes timeframe, you will have to allow this timeframe in the code.

Bear in mind, using all lines at the same time can be a little confusing and price doesn't react to every one of them. You can probably disable lows in the uptrend or scratch closes to simplify your chart.

Have a great trade!
closehighlowTrend AnalysisVolume Weighted Average Price (VWAP)

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?


Also on:

Disclaimer