I tinkered around with some code I had. Leave the the displace option on zero
You can pick a
range of aggregation periods under inputs - also week of course
)
Chartbubbles are Phi Plo for Period hi resp lo. If you use only week you can adjust the bubble with ie Wkhi Wklo.
Depends also how many lines you have on your charts. Bubbles help to keep confusion somewhat under control
Let me know if that works
----
plot Data = close;input aggregationPeriod = AggregationPeriod.DAY;
input length = 1;
input displace = 0;
input showOnlyLastPeriod = no;
plot DailyHigh;
plot DailyLow;
if showOnlyLastPeriod and !IsNaN(close(period = aggregationPeriod)[-1]) {
DailyHigh = Double.NaN;
DailyLow = Double.NaN;
} else {
DailyHigh = Highest(high(period = aggregationPeriod)[-displace], length);
DailyLow = Lowest(low(period = aggregationPeriod)[-displace], length);
}
DailyHigh.SetDefaultColor(GetColor(4));
DailyHigh.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
DailyLow.SetDefaultColor(GetColor(4));
DailyLow.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
AddChartBubble( !IsNaN(close[4]) and IsNaN(close[3]), DailyHigh[4], "Phi", Color.LIGHT_GREEN, yes);
AddChartBubble(!IsNaN(close[4]) and IsNaN(close[3]), DailyLow[4], "Plo", Color.DARK_ORANGE, yes);
----------------
..