[R-SIG-Finance] Indicator as histogram or rectangle boxes instead of line

Brian G. Peterson br|@n @end|ng |rom br@verock@com
Mon Apr 5 17:55:58 CEST 2021


plot.xts was based on chart_Series, so adding panels with plot.xts
should work.

Also, you can absolutely use 'h' plots with add_TA.  See e.g.
chart.Posn in the blotter package:

https://github.com/braverock/blotter/blob/master/R/chart.Posn.R

Regards,

Brian

On Mon, 2021-04-05 at 14:28 +0200, Mike wrote:
> I use chart_Series for plotting. add_TA adds an indicator with line
> chart.
> 
> Can I use add_TA also for plotting an indicator as histogram or
> rectangle boxes like add_Vo?
> 
> I tried add_TA's parameter taType with 'h' or 'b' without success.
> 
> Mike
> 
> _______________________________________________
> R-SIG-Finance using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R
> questions should go.

	[[alternative HTML version deleted]]



More information about the R-SIG-Finance mailing list