This is part 11 of 11 in the system named Ninetales/Volt V2 you can find on Tradingview.
It will plot local support and resistance in red and green, then override them with blue when they are active as support, and orange when they are active as resistance.
It's just getting swing highs and plotting for the actual support/resists, the blue and orange come into play by measuring how much opportunity there is to purchase before exiting the zones withing the specified percent from the levels.