a question about the function--"highlow()" and relative functions.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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!
0 Kommentare
Antworten (1)
Siehe auch
Kategorien
Mehr zu Financial Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!