Skip to content
Prev 15268 / 15274 Next

Quantmod: change color of bbands ma line

Hello,

I wonder if the is a way to change the bbands ma line?

The chatSeries call I'm using is below,

stock <- PETR4.SA
full.window.color.bg <- '#D3D3D3'
chartSeries(stock,
                   name = "PETR4.SA",
                   type = "line",
                   lwd = 1,
                   theme = chartTheme("white",
                                                      up.col='darkgreen',
                                                      bbands.col.ma='blue',
                                                      bg.col=
full.window.color.bg,
                                                      area=
full.window.color.bg),
                                                      TA = list(addVo(),
                                                      addBBands(n = 20, sd
= 2, maType = EMA))
                                                    )

TIA,

--
Andre Luiz Tietbohl Ramos, PhD