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 <[EMAIL PROTECTED]> 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

Reply via email to