Hi,
I am running a 24 hour intraday chart and I need to draw Horizontal 
line for Yesterday Low and Horizontal line for Yesterday High on 
Todays chart. Those lines should refer to Yesterday prices starting 
from 9:30 and ending at 16:00.

Here is what I got:

YDayH = TimeFrameGetPrice("H", inDaily, -1);    // yesterdays high
YDayL = TimeFrameGetPrice("L", inDaily, -1);    // yesterdays low

Plot(YDayH, "",colorWhite,styleDots+styleNoLine+styleNoRescale);
Plot(YDayL, "",colorGold,styleDots+styleNoLine+styleNoRescale);

My problem is that I am getting lines drawn for high and low for 24 
hours yesterday data, but I need for 9:30 to 16:00 only.

Please help,
tia, Tom

Reply via email to