secondary aggregation period cannot be less than the primary aggregation period in thinkscript
Code: plot weeklyClose = close("IBM", period = AggregationPeriod.WEEK); This code plots weekly Close price for IBM. Interesting thing is that the IBM chart does not have to be opened to…