Skip to content
Prev 15030 / 15274 Next

Indicator as histogram or rectangle boxes instead of line

On 05.04.21 Joshua Ulrich wrote:

            
It seems that additional params to add_TA are passed to plot. So I
can refer to the plot manual. I wasn't aware of that.
Generally I'm aware of that. But I was looking for a feature, not
hunting a bug. So I didn't know how I could provide a minimal
reproducible here. But now I have:

getSymbols("SPY")
chart_Series(SPY, subset = "2021")
add_TA(ATR(SPY,10)[,"atr"], type="h")	# That's what I was looking for
add_TA(ATR(SPY,10)[,"atr"])		# instead of that
I will have a look at this.

Mike