quantmod icon indicating copy to clipboard operation
quantmod copied to clipboard

Refactor dropTA to use panel functionality

Open erichung0404 opened this issue 8 years ago • 0 comments

Since S4 method and chartSeries.chob are deprecated, dropTA, listTA and get.chob functions are refactored to use panel functionality of xts::plot.xts and coordinate with the refactored chartSeries and add* functions.

The way TAs are removed is based on the frame they are added to. If an indicator is drawn on the price series, frame=2 or frame=-2, for example, its action will be set to NULL; otherwise plot_object$remove_frame() is called to remove the new frame created by the indicator and reset asp.

erichung0404 avatar Aug 07 '16 08:08 erichung0404