In my EFS, I like to get the price for some
symbols besides the one being displayed. And when I switch the chart
to different intervals, e. g, daily to 5 min,
I like the EFS be able to figure out the
bar interval being used for these symbols
automatically.
I thought the following line would do it:
myPrice = close(0, sym("IBM"), getInterval());
However, I got an error message saying the
second parameter for close() is not valid.
Thanks.
symbols besides the one being displayed. And when I switch the chart
to different intervals, e. g, daily to 5 min,
I like the EFS be able to figure out the
bar interval being used for these symbols
automatically.
I thought the following line would do it:
myPrice = close(0, sym("IBM"), getInterval());
However, I got an error message saying the
second parameter for close() is not valid.
Thanks.
Comment