set bars 3.0 // set bar width
set yrange [30:45] // set stock min and max to fit on screen
set xdata time
set timefmt "%Y%m%d"
plot "candle.dat" u 1:2:3:4:5 with candlesticks titile "Test"
plot "candle.dat" using 1:2:3:4:5 with financebar title "Test"
Finance bar
candle.dat should have 5 columns data
example data
4/8/1996 43.25 45 40 42
4/12/1996 42 43 39 40
4/16/1996 40 41 37.15 37.15
4/22/1996 39 39 37 39
4/23/1996 39 39 36 39
Candlesticks bar
No comments:
Post a Comment
would you like it. :)