MATLAB: Looking for candlestick, rsi, csv file example

csvFinancial ToolboxMATLAB

Normally for python and other languages, if i search such keywords candlestick+rsi+csv, i can find plenty of examples.
Now i'm learning matlab, cannot find proper samples yet, so want to start with dummy questions, pls bear with me.
i got this:
Data = readtable('/home/usr1/matlab/spy.csv')
now i want to draw the candlestick and rsi in the same figure, can someone show me a simple code to get started ?
My question is, i don't know the latest correct ways, some examples are from 2011 and won't compile in the latest matlab version.
Thanks !

Best Answer

Hi,
here is a working example for candlestick containing .csv-data which works on R2018b:
Based on this code, the data and the Documentation of RSI it should be easy to plot the RSI.
Best regards
Stephan