GetPointOfControl ();
Description
Returns the price value of the Point of Control level closest to the middle of profile's price range.
Example
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();
This script displays the Point of Control plot for weekly TPO profiles.