필터 지우기
필터 지우기

a question about the function--"highlow()" and relative functions.

조회 수: 2 (최근 30일)
vx2008
vx2008 2013년 3월 21일
Now I have the data resource as below:
Date--------OpenPrice------HighPrie-----LowPrice----ClosePrice
2012/3/8----6.18-------------6.28-----------5.68-----------6.09
2012/3/9----6.01-------------6.21-----------5.95-----------6.03
2012/3/12--6.03-------------6.09-----------5.87-----------6.89
2012/3/13--5.9--------------6.16------------5.9------------6.04
then I use "figure" and "highlow()" to get a chart. if I use "dateaxis('x',2,'8-Mar-2012');", 12/03/08, 12/03/09,12/03/10, 12/03/11 and so on will be listed on the x axis.
Now I request that 12/03/08, 12/03/09, 12/03/12, 12/03/13 and so on are listed on the x axis according to above data's dates exactly. Shall I and How?
in addition,I request that 12/03/08, 12/03/09,12/03/10, 12/03/11, 12/03/12, 12/03/13 and so on are listed on the x axis, but the "K lines" generated by "highlow()" only exist on 12/03/08, 12/03/09, 12/03/12 and 12/03/13 rather than 12/03/10 and 12/03/11 according to above data's dates exactly. Shall I and How?
Thanks a lot!

답변 (1개)

vx2008
vx2008 2013년 3월 22일
highlow(High, Low, Close, Open, Color, Dates, Dateform);
anybody can give me an example about this function as above? thanks!

카테고리

Help CenterFile Exchange에서 Financial Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by