FTS Bolling, would like additional data returned
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
I have classical financial equity data in an array, NB not stored as 'fints'. Columns are as follows;
[inst ID], [date/time], [open], [high], [low], [close], [vol]
What I would like to achive is
[mav, uband, lband] = bolling(asset, sample, alpha, width);
where
mav = [[inst ID], [date/time], bolling.mav]
uband = [[inst ID], [date/time], bolling.uband]
lband = [[inst ID], [date/time], bolling.lband]
I don't have to have bolling or the altered function return [Inst ID] or [date/time] but what I eventually want to build is a table/DB of;
[inst ID], [date/time], mav1, uband1, lband1, mav2, uband2, lband2, ect...
as the moving averages have to omit the first N sets of data depending on the length, meaning 'mav1' and 'mav2' will be of different length. I would also like to apply this too a few of the other FTS indicators, then across a whole DB of equities. So something I can apply to other functions, standard or home made. I would rather not keep moving the data in and out of 'fints' as I would like to work on it in the form 'table(i:ii, x:y);'
Always appreciate your help.
AD
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!