[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] plotting 1st 30min H &



PureBytes Links

Trading Reference Links

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 <ymtrader1@xxxxxxxxx> 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,
>
>  
>

Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.15/659 - Release Date: 1/30/2007 9:31 AM