Pine Script Plot Function In R