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

[amibroker] Re: Enhance OBV



PureBytes Links

Trading Reference Links

Thanks Graham,
it's work now

Michael

--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxx> wrote:
>
> If you have bars where H and L are sam eyou will get errors because 
of
> dividing by H-L, ie dividding by zero
> you will need to add use of NZ()
> Cum(V*nZ((H-O)/(H-L)))-Cum(V*nZ((O-L)/(H-L)));
> 
> On 12/01/07, mic6399 <mic6399@xxx> wrote:
> >
> > Can anyone help me: I find old Amibroker code for  Enhance  OBV 
():
> > myobv=Cum(V*((H-O)/(H-L)))-Cum(V*((O-L)/(H-L)));
> > Graph2=myobv;
> > Graph2Style=1;
> > Graph2Color=6;
> > For some reason when I created an indicator based on this code on
> > intraday charts I did not see anything. Any idea why this happen?
> >
> > Thanks,
> >
> > Michael
> >
> >
> >
> >
> > Please note that this group is for discussion between users only.
> >
> > To get support from AmiBroker please send an e-mail directly to
> > SUPPORT {at} amibroker.com
> >
> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > http://www.amibroker.com/devlog/
> >
> > For other support material please check also:
> > http://www.amibroker.com/support.html
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> 
> 
> -- 
> Cheers
> Graham
> AB-Write >< Professional AFL Writing Service
> Yes, I write AFL code to your requirements
> http://www.aflwriting.com
>



Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.10/625 - Release Date: 1/13/2007 5:40 PM