I need a Pinescript coder that can finish my indicator

Job ID: 32044694

Budget: €8 – €30 EUR

Hello There,

I am looking for someone that could finish my Pinescript V5 Pivot Point HL indicator for me.
I am having some trouble getting specific data. Hence why i'm here.
I need the following added to my indicator:

Pivot points:
- Check for latest HH and LL status (Bullish or Bearish) (needs to communicate "Bullish" or "Bearish")
- Check for latest HH and LL values (needs to communicate the exact value of that pivot point)
- pivotSafetyBull = If latest LL pivot == "Bullish" & any bar between latest LL pivot and current bar is lower than latest LL pivot ? true : false
- pivotSafetyBear = if latest HH pivot == "Bearish" & any bar between latest HH pivot and current bar is higher than latest HH pivot ? true : false
- pivotCeilingVal = (latest HH value - latest LL value) * 0.6
- PivotCeilingBull = latest LL value + pivotCeilingVal
- pivotCeilingBear = latest HH value - pivotCeilingVal

Pivot ceiling is meant to calculate the difference between the most recent HH and LL pivot value. Outcome should be an amount of points.
Pivot ceiling is 60% of the value between both pivot points.
The end goal is to only enter a long position if price is between the latest LL pivot and the 60% mark between LL and HH pivots. For short vice versa

The current code for the indicator is provided the the attacked file.

If you are interested and have some questions, please let me know
Related categories: Metatrader Pine Script