GetWeek ();
Description
Returns the number of the current bar week in the CST timezone. The output is returned in the range from 1 through 53.
Example
plot Price = if GetWeek() % 2 == 1 then close else Double.NaN;
The example draws the close plot for odd weeks of each year.