Secondary aggregation period on smaller time frame?

durruha

New member
Hello!

I'm running into problem when I'm trying to plot last month closing price to my 5D 5min chart. It works on 30D 5min chart or if month has just changed. How could I fix this? Is it even possible with AggregationPeriod? If not, how could this be done?

Code:
plot monthlyHigh = High(period = AggregationPeriod.MONTH)[1];

I want to thank this great community in advance. You are doing a good job! Glad to be part of it.
 

Similar threads

Top