PureBytes Links
Trading Reference Links
|
Keith,
You should use built-in composites for A/D http://www.amibroker.com/newsletter/04-2000.html or
vendor-provided special tickers from advancing/declining isses.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "Keith Bennett" <kbennett@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, October 15, 2002 8:31 PM
Subject: [amibroker] Composite Indicator Help
>
> I want to show the McClellan Sumation Index in the Price window so
> that I can use SAR amd MAs - so, I want an artificial ticker for this
> index.
>
> I am running the following on the ^NDX but when I display the index
> (~SumInd) it is truncated top and bottom. Assistance appreciated.
>
> AdvI = IIf(C>Ref(C,-1),1,0);
> DecI = IIf(C<Ref(C,-1),1,0);
> AddToComposite( AdvI, "~AdvI", "V",1);
> AddToComposite( DecI, "~DecI", "V",1);
> AddToComposite( Cum(EMA((Advi - deci),19) - EMA((Advi -
> deci),39)), "~SumInd", "C",1);
> Buy=0;
>
> Keith (B)
>
>
>
>
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
>
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
|