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

Re: [amibroker] Re: Ratios



PureBytes Links

Trading Reference Links

No, that was just an example of how you can write the code


On Thu, 03 Mar 2005 04:35:08 -0000, Johan <epostens@xxxxxxxx> wrote:
> 
> 
> Thanks Graham
> 
> I just paste this code into the indicator builder? Then i draw lines?
> How does the calculation start?
> 
> Thanks for your help!
> 
> 
> > use
> > study( STUDYID, CHARTID = 1 )
> >
> > here is part of a code I have that uses study on manually drawn line
> > f1 . To use in AA you just need the chartID number which you can
> > easily get by adding +GetChartID() to your chart title line
> >
> > Upper= Study( "f1", GetChartID() );
> >
> > TLB = ValueWhen( Upper AND IsNull( Ref(Upper,-1) ), BarIndex() );
> > TLP = ValueWhen( Upper AND IsNull( Ref(Upper,-1) ), Upper );
> >
> >
> > On Wed, 02 Mar 2005 21:56:53 -0000, Johan <epostens@xxxx> wrote:
> > >
> > >
> > > Hi! I am calculating ratios but do it manually. Would it be
> possible
> > > to get the data from the lines that i have drawn into a script
> that
> > > then calculate the ratio?
> > >
> > > Thank you!
> > >
> > >
> > > 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 --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/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/