What code can be added to this ThinkScript so that I can change the profile color to something other than the default color? Thanks!
Code:
def yyyymmdd = GetYYYYMMDD();
def day_number = DaysFromDate(First(yyyymmdd)) + GetDayOfWeek(First(yyyymmdd));
def period = Floor(day_number / 7);
def cond = 0 < period - period[1];
profile tpo = TimeProfile("startNewProfile" = cond, "onExpansion" = no);
tpo.Show();
plot b = tpo.GetPointOfControl();
Last edited by a moderator: