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

Re: [amibroker] Re: High & Low for the first 30 & 60mts for Each Day



PureBytes Links

Trading Reference Links

Sorry made a small mistake in the variable name, i also changed a bit
to make it work better

High30 = ValueWhen( Cross( TimeNum(), 102959 ), H );
Plot(C,"close",colorBlack,styleBar);
Plot( IIf( DateNum()==LastValue(DateNum()) AND TimeNum()>102959,
High30, Null ), "30high", colorRed, styleLine );


On Thu, 07 Oct 2004 12:57:22 -0000, gacsekar <gacsekar@xxxxxxxxx> wrote:
> 
> 
> Hi,
> Thanks for the prompt response.  When I run the indicator I get the
> following error message.
> 
> <<. Line 1, Column 6:
> 30High
> ----^
> Error 23.
> Syntax error >>
> 
> I will be thankful if you could write the complete code for both Hi &
> Lo for the first 30mts.  I am using Amibroker 4.6.
> 
> Thanks
> 
> G.A.Chanrasekaran
> 
> --- In amibroker@xxxxxxxxxxxxxxx, kaveman perth <kavemanperth@xxxx>
> wrote:
> > You can use valuewhen and cross to get your values. Here is an
> example
> > for plotting the current days value
> >
> > 30high = valuewhen( cross( timenum(), 102959 ), H );
> > plot( iff( datenum()==now(3) and timenum()>102959, 30high, null ),
> > "30high", colorred, styleline );
> >
> > On Thu, 07 Oct 2004 11:04:37 -0000, gacsekar <gacsekar@xxxx> wrote:
> > >
> > >
> > > Hi to all,
> > >
> > > I am day-trading Indian markets with 5mts chart, using Amibroker
> 4.6
> > > The trading opens @9:55 am & closes @3:30pm.
> > >
> > > I want to draw a horizontal line for the High & Low for the first
> 30
> > > & 60mts, for each day, (The ending period could be @ 10:25 to
> > > 1030am / 10:55 to 11:00am).  I hope my requirement is clear.
> > > Thanks in advance.
> > >
> > > G.A.Chandrasekaran
> > >
> > >
> > > Check AmiBroker web page at:
> > > http://www.amibroker.com/
> > >
> > > Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> >
> >
> > --
> > Cheers
> > Graham
> > http://e-wire.net.au/~eb_kavan/
> 
> 
> 
> Check AmiBroker web page at:
> http://www.amibroker.com/
> 
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
> 
> 
> 
> 
> 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/