Page 1 of 1

Command for shading areas using intraday data

Posted: Thu Nov 10, 2016 2:35 pm
by asbatronic2016
Hi

I have minute by minute data for equity prices for May 06, 2010 between 7:00:00 and 15:59:59.
I want to use a command to insert a shaded area between 08:00:00 and 09:00:00 but it does not work.
I used the following command:
graph graph3.line price
graph3.draw(shade, bottom) 05/06/2010 08:00:00 05/06/2010 09:00:00

I can draw shaded areas using the vertical axis but it looks like Eviews is unable to read correctly the date/time specification.

Thanks in advance

Re: Command for shading areas using intraday data

Posted: Fri Nov 11, 2016 11:45 am
by EViews Jason
Try putting the dates in quotes.

Code: Select all

graph3.draw(shade, bottom) "05/06/2010 08:00:00" "05/06/2010 09:00:00"

Re: Command for shading areas using intraday data

Posted: Fri Nov 11, 2016 11:54 am
by asbatronic2016
Thanks it worked!
Cheers