TradingView
allanster
6 Th07 2023 00:45

How To Input And Offset CSV Data 

Bitcoin / United States DollarCoinbase

Mô tả

Example method of how to use an input text area to import, offset, and plot ‎CSV data using an array. Note that when using this method there is a limit of 4096 total characters per input.

For working with data sets larger than 4096 total characters an alternative method of pasting CSV data directly within the script can be seen below :

tradingview.com/script/KmceMbsx-How-To-Import-And-Offset-CSV-Data


NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
Bình luận
Arun_K_Bhaskar
Useful...
allanster
@Arun_K_Bhaskar, thanks for your feedback, appreciated.
SimpleCryptoLife
Nice. I suppose you could also chain multiple inputs if the size limit is a problem.
allanster
@SimpleCryptoLife, thanks for your interest, and yes chaining would be an option. In the description above if you click on the image of the lower chart it links to another example that can handle larger data sets by pasting the CSV data directly into the data array and then saving the script. Doing so overcomes the size limit that is imposed by using the input text area.
SimpleCryptoLife
@allanster, Oh I seeeeeee. Right there are two similar scripts, one is how to INPUT data and one is how to IMPORT data. Thanks!
Thêm nữa