Hope you are doing well,

I am trying to plot previous highs & lows on a chart within a lookback period. I have the function that spits it out in the format below in a given time period (Highs and lows are in separate lists):

[[timeOfHigh1, PriceOfHigh1],[timeOfHigh2,PriceOfHigh2],…]

Ideally I want the chart to plot the highs and lows it detects over the given lookback with circles on a line chart with the closing prices (Line chart is already set up). I tried all sorts of ways to mess with scatter plots however I have had no luck. I have not found anything in the documentation or discussion posts that would allow me to be able to accomplish this either.

If anyone can guide me on which direction I should go regarding the plotting of the historical highs & lows whenever the function is called I would greatly appreciate it. Thank you for your time.