Convert trading view pinescript strategy

Job ID: 33066114

Budget: $250 – $750 USD

https://www.tradingview.com/script/X2Y6Hyok-Bitcoin-Bullish-Percent-Index/

hi, can you convert this Bullish-Percent-Index pine script to thinkscript?

and change those BINANCE symbol to XLE holding ( https://www.barchart.com/etfs-funds/quotes/XLE/constituents)

so that we can make something similar to the $BPENER ( https://stockcharts.com/h-sc/ui?s=%24BPENER&p=D&yr=1&mn=0&dy=0&id=p22027610313 )
Related categories: Python Metatrader Pine Script Trading MQL4