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

[amibroker] OBV Indicator



PureBytes Links

Trading Reference Links

Hi,

Is there a reason why these two plots, although close, are not 
identical?

//Calculated OBV
Clobv = Foreign("COMPQX","C");
Opobv = Foreign("COMPQX","O");
Vobv  = Foreign("COMPQX","V");
MyOBV = Cum(IIf(Clobv > Opobv,Vobv, IIf(Clobv < Opobv,Vobv*-1,0)));
        Plot(MyOBV,"My OBV",5,styleOwnScale);

//AB OBV Indicator (with COMPQX displayed in main chart window)
        Plot(OBV(),"OBV",4,1); 

Is there an error in my formula?

Keith




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
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/