I'm trying to overlay OBV on the volume subplot using the code below:

> getSymbols('AAPL',from='2013-6-1')
> chartSeries(AAPL,type='candlesticks',TA='addVo()',theme='white')
> addTA(OBV(Cl(AAPL),Vo(AAPL)),on=2)

This does not work (all I get is a few vertical lines on the volume chart). Using addTA() without 'on=2' argument gives the correct OBV graph but on a separate subplot, as I would expect. Any help on how to do this is appreciated.

Manojit
 
	[[alternative HTML version deleted]]

