Pivot lines Indicator Request

 

Good Morning Fellow Traders,

I would like to know if someone can create an indicator for me Please,

I would like an indicator that plots the High and the Low of the previous period if the current period has a higher high or Lower low use the high and low of the current period if the current period has higher high but not lower low use the low of the previous period vice versa…

add the high and the low divide by 2 to create the main Pivot Line and then add the Low and the main pivot divided by 2 to come up with a mid point which would be

Lower Mid Point 2 then add Lower mid Point 2 to the main pivot divided by 2 to create Lower mid Point 1 then add Mid Point 2 and the low divided by 2 to create Mid Point 3

And vice versa for the High which would be upper Mid Points

The indicator must be able to adjust it self when ever a new higher high or lower low than the previous period is formed