Pinescript TradingView get price of each candle on the chart

Imefungwa Ilichapishwa Miaka 5 iliyopita Kulipwa wakati wa kujifungua
Imefungwa Kulipwa wakati wa kujifungua

I need a Pinescript project for TradingView to get the close/open price of each candle (1M - all history) and save it in a csv table with 2 columns:

1) time (can be timestamp or date)

2) price of the symbol at the time specified at #1

If you can't export to csv, we will see what other option we can choose.

Pine Script

Kitambulisho cha Mradi: #18813202

Kuhusu mradi

Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%