# set terminal canvas  solid butt size 600,400 fsize 10 lw 1 fontscale 1 name "candlesticks_4" jsdir "."
# set output 'candlesticks.4.js'
set boxwidth 0.2 absolute
set title "candlesticks showing both states of open/close" 
set xrange [ 0.00000 : 11.0000 ] noreverse nowriteback
set yrange [ 0.00000 : 10.0000 ] noreverse nowriteback
plot 'candlesticks.dat' using 1:(int($0)%3?$3:$5):2:6:(int($0)%3?$5:$3) with candlesticks title "open < close", NaN with boxes lt 1 fs solid 1 title "close < open"