GetDayOfWeek ( int yyyyMmDd);

Default values:


Returns the day of week based on the given YYYYMMDD parameter. The return value ranges from from 1 (Monday) to 7 (Sunday).

Input parameters

Parameter Default value Description
yyyyMmDd - Defines the day whose number is returned.


declare hide_on_intraday;
input day_of_week = {default Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday};
AddChartBubble(GetDayofWeek(GetYYYYMMDD()) == day_of_week + 1, high, "Here it is");

Displays bubbles with text for a certain day of week.