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