Output into data rows?

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)"

回答(0 个)

此问题已关闭。

标签

提问:

2013-3-25

Community Treasure Hunt

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

Start Hunting!

Translated by