@fxbam yes, there is way. First step is the average open price calculation. This is how to do that:
https://fxdreema.com/shared/HvAUS7jNd