You can try this:
https://fxdreema.com/shared/4o2jvCyid
You need to select how many bars behind you want to look at through the 'Bar_period' constant. Then you will see on the chart the current lowes price so far after the sell is open. Now duplicate it for buys.