TradingView Custom Market Structure Indicator

Job ID: 37644826

Budget: $250 – $750 AUD

Hi there,
Need help to create a custom indicator based on personal rules of market structure?

Essentially reverse engineer this indicator?
https://www.tradingview.com/script/dUFMw5gw-mentfx-Structure/

Also been done here-
https://www.tradingview.com/script/2ajpId5t-Structure-Mod/

Logfic from scratch->

Low = pivot of (close < low[1])
High = pivot of (close >high[1])

If ta.crossover(close, High)
New low= the most recent low which meets the criteria for the definition of low as above
New high = the next highest pivot high

If ta.crossunder(close,Low)
New high = the most recent high which meets the criteria above.
New low = the next lowest pivot low