Try this. ThirtyMinuteHigh = Valuewhen(Timenum() == 100000,H); ThirtyMinuteLow = Valuewhen(Timenum() == 100000,L);
Plot(ThirtyMinuteHigh,"30 Minute High",colorbrightgreen,styleline); Plot(ThirtyMinuteLow,"30 Minute Low",colorred, styleline); You should be able to adapt this to your specific req's. Regards, Mark On 31/01/07, ymtrader1 <[EMAIL PROTECTED]> wrote:
what is the most efficient way to plot the high & low of the first 30min of trading? I tried using the timenum()function to determine when 10:00 EST arrived and then timeframegetprice() to get the H & L, but the code is not working. Maybe you have a better method. Thx,
