GetHighestValueArea ();
Description
Returns the highest price of the profile's Value Area.
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 vol = VolumeProfile("startNewProfile" = cond, "onExpansion" = no);
vol.Show("va color" = Color.YELLOW);
plot b = vol.GetHighestValueArea();
This script plots the highest price of each weekly Volume profile's Value Area.