Skip to main content
Cart Log in Sign up
Indicator

Previous Levels: prior day, week and month highs and lows

Shows the previous day, week and month highs and lows, plus each period’s open, as lines and labels on a TradingView chart.

Platform

License

Price

≈

Version

You own this product. Go to My products
Get the demo

  • Automatic, instant delivery once payment confirms
  • Free updates for every future version
  • 12 months of technical support
  • Refunds under a transparent policy
  • Pay with USDT, BTC, ETH and more
  • Free: no payment, download it right now

Risk warning: Trading financial markets carries a risk of losing capital, and past performance does not guarantee future results. Terms & conditions

Product type
Indicator
Platforms
TV
Market / symbol
Gold, FX majors, Indices, Crypto
Experience level
Beginner
Delivery
File download from your dashboard
Last update
November 30, 2026
Broker
Any broker

Overview

The previous day and previous week highs and lows are levels almost every trader watches. Previous Levels pulls them from the higher timeframe and keeps them on your intraday chart, so you stop drawing them by hand every day.

The data is requested so it does not repaint: each level comes from the last completed period and stays fixed until the next one starts.

It gives no signals and makes no claim about how price will react to these levels.

  • Previous day high, low and midpoint, and the daily open
  • Previous week and month high and low, and their opens
  • Lines and labels on the last bar, with optional history
  • Alerts for closes above or below the previous day and week, and for crossing the daily open

Made by

This tool is written by the TradeKit team. The source code is open and included in the download. It is free to use.

Strategy logic

Getting the data

  • request.security requests high[1] and low[1] on the daily, weekly and monthly timeframe with lookahead_on. That combination returns the last completed period and reads nothing from the future.
  • The current period’s open is set on its first bar and does not change afterwards.

Drawing

  • Each line starts at the first bar of the current period and runs a few bars past the last bar.
  • Daily levels show on intraday charts only, weekly levels up to the daily chart and monthly levels up to the weekly chart.

Alerts

  • Alerts fire on a bar close above the previous high or below the previous low.
  • No alert fires on the first bar of a new period, because the levels change on that bar.

Specifications

Requirements

  • TradingView, the free plan is enough
  • Daily levels need an intraday chart
  • The day boundary follows the symbol’s daily close in TradingView
Platforms
TV
Delivery
Use case
Scalping، Swing
Market
Gold، FX majors، Indices، Crypto
Experience level
Beginner

Compatible brokers

Which brokers this product works with, and which it works best with.

Works with every broker

No broker restriction: it works with any broker that offers the product's platform.

The broker choice is yours; TradeKit is not a broker. Check account terms before depositing. All brokers

Input parameters

Input parameters
ParameterDefaultDescription
Previous day high/lowShow the previous day high and low true Show the previous day high and low
Previous day midpointShow the midpoint of the previous day false Show the midpoint of the previous day
Daily openShow the current day open true Show the current day open
Previous week high/lowShow the previous week high and low true Show the previous week high and low
Previous month high/lowShow the previous month high and low true Show the previous month high and low
Show historical levelsAlso plot past days’, weeks’ and months’ levels as stepped lines false Also plot past days’, weeks’ and months’ levels as stepped lines
Show prices in labelsAdd the price to each label false Add the price to each label
Label offset (bars)How many bars right of the last bar the labels sit 10 How many bars right of the last bar the labels sit

Install guide

  1. Unzip the download. It contains PreviousLevels.pine and a short readme.
  2. Open PreviousLevels.pine in a text editor such as Notepad and copy all of it.
  3. In TradingView open a chart and click the Pine Editor tab at the bottom of the screen.
  4. Create a new blank indicator, select all of the default code and paste over it.
  5. Click Add to chart.
  6. Click Save to keep it in your scripts, so you can add it later from the Indicators menu.

Works on the free TradingView plan; your plan’s limit on indicators per chart still applies.

Changelog

  1. v1.0.0 TV New November 30, 2026
    • Published on TradeKit

Buyer reviews

No reviews yet.

Only verified buyers can review. Reviews are moderated before publishing.

Only verified buyers can review. Reviews are moderated before publishing.

Sign in to write a review

FAQ

When does the day start?
At the time TradingView uses for that symbol’s daily bar. For most forex symbols that is the New York close, but it depends on the data feed.
Do the levels repaint?
No. Each level comes from a period that has closed and stays fixed until the next period starts.
Why no previous day level on a daily chart?
On a daily chart the previous day is simply the previous bar, so it is not drawn. Weekly and monthly levels still show there.
Can I show fewer levels?
Yes. Each level has its own switch and each group has its own color.

Related products

More Indicators and tools from the same family

Compare Compare now