Shall I get weeks' K line of some stock according to its day's data?
1 view (last 30 days)
Show older comments
Now I have days' data as below form:
date(1:10),[open(1:10),high(1:10),low(1:10),close(1:10)]
ans =
'2015/05/04'
'2015/05/05'
'2015/05/06'
'2015/05/07'
'2015/05/08'
'2015/05/11'
'2015/05/12'
'2015/05/13'
'2015/05/14'
'2015/05/15'
ans =
17.2400 17.2400 16.8400 17.0500
16.9700 16.9900 16.0900 16.3200
16.3200 16.7500 16.2100 16.3000
16.2700 16.5200 16.2200 16.3100
16.4300 16.5400 16.0600 16.3500
16.2200 16.5500 16.0300 16.5100
16.4900 16.6400 16.2800 16.4800
16.5700 16.6300 16.1400 16.3100
16.3400 16.4900 16.1800 16.2300
16.1500 16.3100 15.8300 16.0200
In the fact, the data is large, I just show the first ten;
I want to get its week K line by HighLow() or Candle() function;
So how shall I transfer this data or some other ways?
0 Comments
Answers (0)
See Also
Categories
Find more on Transaction Cost Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!