Colored Bands?
Author: Sammy_G
Creation Date: 6/29/2010 3:22 PM
profile picture

Sammy_G

#1
I would like to plot colored Bollinger Bands, like this:

How?
profile picture

Eugene

#2
Start by checking out PlotSeriesFillBand and PlotSeriesDualFillBand in the QuickRef.
profile picture

Sammy_G

#3
Got it.
CODE:
Please log in to see this code.


Still haven't learnt how to plot prices as a thick line, though.
profile picture

Eugene

#4
1. Switch to Line chart style, and hit Ctrl-Y to bring up the config dialog.
2. Or you could plot prices with any line style active by using PlotSeries.
profile picture

Sammy_G

#5
1. Don't want to alter my default chart style so I'd rather control the plot from inside the script.
2.
CODE:
Please log in to see this code.

Problem is, this gets plotted over the underlying chart style (candlesticks); how do I get rid of those?
profile picture

Eugene

#6
For all practical purposes, switch to Line chart style since you already want to get rid of the OHLC.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).