Info

This question is closed. Reopen it to edit or answer.

Output into data rows?

2 views (last 30 days)
3nore
3nore on 25 Mar 2013
Currently the historical currency symbol data I have is in this format;
DATE TIME OPEN HIGH LOW CLOSE VOLUME.
I wrote a program to plot 0.2% movements of the stock.
(+0.2% move upwards = +1, -0.2% move upwards = -1)
But now, how do I output my results into a csv to get data columns of
DATE TIME MOVE SumMOVE VOLUME
MOVE - a column of either +1/-1
SumMOVE - a column of the cumulative movements. Calculated like this "cumsum(MOVE)"

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!