For those that asked, to do this chart is very simple, you just need to chart the price on one exchange from the price on another exchange eg. "BINANCE:LUNABUSD-KUCOIN:LUNAUSDT" that then will show you the current arbitrage. The second chart a bit more and as such requires a custom script, as its measuring lot more things to determine the arbitrage opportunities.