• Happy Independence Day! Take $40 off VIP Membership with code JULY4. Sign up here.

Week open, Month open, for intraday


Active member
Could someone help me with this request?
Is there any indicator that helps to plot the Open of the Week and Month? TOS natively has the Daily Open only.

For weekly open:
Assuming 1st January Monday is the first trading day of the week, and today is 5th January Friday, then it will plot 1 line across the chart in the 5D 5min TF. Even if I switch the TF from 3rd January Wednesday to 5th January, it will still plot a line from Weekly Open 1st January Monday.

Subsequently, this repeats weekly, and it will plot a new line at the following 8th January Monday all through 12th January Friday.

For monthly open:
Assuming 1st January Monday is the first trading day of the month, and today is 12th January Friday, it will plot a line starting from 1st January open, all through the month of January. In February, it will plot a new line.

Something like how pivots work, but this is purely just selecting between Weekly or Monthly open, maximum 3 lines across the chart (including the default TOS Daily Open).
I personally think these 3 lines are quite important actually.


Well-known member
@Playstation Here's a study that plots a line at the Week open. Load this on an intraday chart for best results

# Week Open
# tomsk
# 1.19.2020

declare hide_on_daily;

def WeekOpen = if GetDayOfWeek(GetYYYYMMDD()) == 1 and
                  GetTime() crosses above RegularTradingstart(GetYYYYMMDD())
               then open
               else WeekOpen[1];
plot data = WeekOpen;
# End Week Open


Just use the built-in "DailyOpen" script and change the settings. You can set it to whatever you like.


Similar threads