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

[amibroker] Re: Add to Composite Question



PureBytes Links

Trading Reference Links


Prashanth,

In 4.60 Users guide->Technical analysis guide->Indicators ->Advance-
Decline line (AD-Line)
you may see the Amibroker definition for ADLine.
If you want to create ADLine via AddToComposite() function, your 
definition should be the same.
Your A does not match the above definition.
Dimitris
--- In amibroker@xxxxxxxxxxxxxxx, "Prashanth" <prash454@xxxx> wrote:
> Hello,
> 
> // Run the following Code in Automatic Analysis - Select all scrips 
and all
> quotations
> 
> // ==================== Adv Issues/Decliners==============
> AddToComposite(IIf(Close - Ref(Close, -1) > 0, 1, 0), "~Adv", "X" );
> AddToComposite(IIf(Ref(Close, -1) - Close > 0, 1, 0), "~Dec", "X" );
> Buy=Sell=0;
> 
> // Place the following Code in Indicator Builder and click Apply
> 
> A=(Foreign("~Adv","C") - Foreign("~Dec","C"));
> Plot(A,"Close",colorBlack,styleLine);
> 
> Is this what is required.
> 
> Regards
> 
> Prashanth
> 
> ----- Original Message ----- 
> From: "Duke Jones, CMT" <Duke.Jones@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Sunday, October 10, 2004 6:55 PM
> Subject: RE: [amibroker] Add to Composite Question
> 
> 
> >
> > Dave,
> >
> > I too would like to see some examples as I have dug through
> > the archives and was unable to see some code examples.
> > Unfortunately, there are no examples in the help files
> > either.  I have been able to make AD Lines using other
> > methods that I found in the archives but these may not be as
> > efficient as the native functions Tomasz has built in to
> > AFL.  Maybe a kind soul will help us out. :-)
> >
> > Duke Jones, CMT
> > www.sectorrotationfund.com
> >
> >    _____
> >
> > From: Dave McLeod [mailto:dmcleod1981@x...]
> > Sent: Saturday, October 09, 2004 9:20 PM
> > To: amibroker@xxxxxxxxxxxxxxx
> > Subject: Re: [amibroker] Add to Composite Question
> >
> >
> > I have built some composites but I have not been able to
> > figure out how to use the ADLine() or the AdvIssues()
> > /Declssues() to create an advance decline line. Does anyone
> > have an example they could show me how this is used with
> > composites?
> >
> >
> >
> > Thanks
> >
> > DM
> >
> >
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> > vote.yahoo.com - Register online to vote today!
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > Check AmiBroker web page at:
> > HYPERLINK
> > "http://www.amibroker.com/"http://www.amibroker.com/
> >
> > Check group FAQ at: HYPERLINK
> > "http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > "http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Sponsor
> >
> >
> > ADVERTISEMENT
> > HYPERLINK
> > "http://us.ard.yahoo.com/SIG=129pe3td0/M=294855.5468653.6549
> > 235.3001176/D=groups/S=1705632198:HM/EXP=1097461180/A=237677
> > 6/R=0/SIG=11ldm1jvc/*http:/promotions.yahoo.com/ydomains2004
> > /index.html" \nclick here
> >
> >  HYPERLINK
> > "http://us.adserver.yahoo.com/l?M=294855.5468653.6549235.300
> > 1176/D=groups/S=:HM/A=2376776/rand=930335175"
> >
> >    _____
> >
> > Yahoo! Groups Links
> > * To visit your group on the web, go to:
> > HYPERLINK
> > "http://groups.yahoo.com/group/amibroker/"http://groups.yaho
> > o.com/group/amibroker/
> >
> > * To unsubscribe from this group, send an email to:
> > HYPERLINK
> > "mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubs
> > cribe"amibroker-unsubscribe@xxxxxxxxxxxxxxx
> >
> > * Your use of Yahoo! Groups is subject to the
> > HYPERLINK "http://docs.yahoo.com/info/terms/"Yahoo! Terms of
> > Service.
> >
> > ---
> > Incoming mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.773 / Virus Database: 520 - Release Date:
> > 10/5/2004
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.773 / Virus Database: 520 - Release Date:
> > 10/5/2004
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> >
> > 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
> >
> >
> >
> >
> >
> >
> >
> >





------------------------ 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/