[AIO] Lookback

You can show the high, low, and mid of the data ranges on the daily and 4-hour charts.
The default values are: 20-40-60 days back from today for the daily time frame and 30-60-90 bars back from the latest bar for the 4-hour time frame.
The default anchor bar for calculating the lookback is the latest one,
but with the 4-hour time frame, you can change the lookback from the first day of the week,
and with the daily time frame, you can change the lookback from the first day of the month.

The indicator also has options showing the high, low, and mid (equilibrium level) lines for better analysis.
Especially on the daily time frame, you have the option to show up to four lines (25% for each one) of the data range.
Of course, you can change the colors or the style of the high, low, and mid lines.

The lookback can be shown on the lower time frames for better detection when the market structure is shifted.

Contact me in PM or on Telegram: @nguyenthl
Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact tranholenguyen for more information, or follow the author's instructions below.

Please note that this is a private, invite-only script that was not analyzed by script moderators. Its compliance to House Rules is undetermined. TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases, you can find a good open-source alternative for free in our Community Scripts.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Author's instructions

Get access here: or contact me via email or message (here or on telegram)

Want to use this script on a chart?

Warning: please read before requesting access.