PureBytes Links
Trading Reference Links
|
Why not use the following:
//Intraday Intensity Index
II = Nz((2*Close-High-Low)/(High-Low)*V);
pd = Param("pd",20,1,50,1);
IIMA = EMA(II,pd);
Plot(IIMA,"II",colorBlue,styleLine);
Plot(0,"",colorRed,styleLine);
Al V.
----- Original Message -----
From: "johsun" <johanskatt@xxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, July 08, 2004 2:21 PM
Subject: [amibroker] Re: Intraday Intensity Indicator
> I think you were on the right track to begin with, just a bracket
> problem and an Nz to handle high equals low cases.
>
> II=Cum( Nz( (2*C-H-L)/(H-L) )*V );
>
> AFAIK this is the same as the built-in AccDist() function.
> Use this II formala if you want a specific lookback period rather
> than the entire history:
>
> period=200; //or what you prefer
> II=Sum( Nz( (2*C-H-L)/(H-L) )*V ,period );
>
> Johan
>
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "bowbie89" <robm@xxxx> wrote:
> > Bob,
> > When I implement your formula, I get jagged lines, not a smooth
> line
> > like the accumulation distribution indicator and a zero value no
> > matter what day I choose.
> >
> > Am I missing something?
> >
> > Rob
> > --- In amibroker@xxxxxxxxxxxxxxx, "Bob Jagow" <bjagow@xxxx>
> wrote:
> > > Rob,
> > > You want II = (2*close-high-low)/(high-low)/volume;
> > >
> > > Bob
> > > -----Original Message-----
> > > From: bowbie89 [mailto:robm@x...]
> > > Sent: Thursday, July 08, 2004 8:12 AM
> > > To: amibroker@xxxxxxxxxxxxxxx
> > > Subject: [amibroker] Intraday Intensity Indicator
> > >
> > >
> > > Hello All,
> > >
> > > I am trying to implement the Intraday Intensity indicator
> > > which is
> > > based upon the following formula:
> > >
> > > II = (2*close-high-low)/(high-low)*volume
> > >
> > > This is the open ended version similiar to the Accumulation
> > > Distribution indicator.
> > >
> > > I took a stab at this with the following but it is not
> > > correct:
> > >
> > > /*Intraday Intensity Idicator*/
> > >
> > > II=Cum(2*C-H-L)/(H-L)*V;
> > >
> > > Plot(II,"Intraday Intensity",colorBlue,styleLine);
> > >
> > > Thanks for any help on a correction.
> > >
> > > Rob
> > >
> > >
> > >
> > > ------------------------ Yahoo! Groups
> > > Sponsor --------------------~-->
> > > Yahoo! Domains - Claim yours for only $14.70
> > > http://us.click.yahoo.com/Z1wmxD/DREIAA/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
>
>
>
>
> 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 --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/
|