« Return to Thread: Conditional plotting

Re: Conditional plotting

by babelproofreader :: Rate this Message:

Reply to Author | View in Thread

Mark,

I'm afraid your solution isn't working for me. My script at the moment is

reset

set title "$1 Prices with Donchian Channels"
set datafile separator ","

set xdata time

set timefmt "%d/%m/%Y"
set grid

plot "$1ind" using 1:2:3:4:5 notitle with candlesticks lt 7, \
"$1ind" using 1:($23<0?$53:1/0) notitle with line lt 3, \
"$1ind" using 1:($23>0?$54:1/0) notitle with line lt 1

Do you have any other suggestions?

 « Return to Thread: Conditional plotting