fts2timetable to convert a
fints object to a
ADline = adline(Data)
Load the file
SimulatedStock.mat, which provides a timetable (
TMW) for financial data for TMW stock.
load SimulatedStock.mat line = adline(TMW); plot(line.Time,line.ADLine) title('Accumulation/Distribution Line for TMW')
Data— Data with high, low, closing prices, and volume traded
Data with high, low, closing prices and volume traded, specified as a
matrix, table, or timetable. For matrix input,
4 with high, low, closing
prices, and volume traded. Timetables and tables with
rows must contain a variable named
'Volume' (case insensitive).
 Achelis, S. B. Technical Analysis from A to Z. Second Edition. McGraw-Hill, 1995, pp. 52–53.