Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

change Bollinger Band fill color depending on price.close Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
pthegreat
Posted : Wednesday, June 30, 2010 10:05:03 PM

Registered User
Joined: 6/15/2008
Posts: 1,356
Hi,
I'm sure I have to use blocks to get this done. I gave it a shot, but no luck. 
see also thread: http://forums.worden.com/Default.aspx?g=posts&t=45747

This is what I want:
I have a Bollinger band on price with period 10, and StDev 0.8
I want the fill color to change when :
price.close is above top bollinger band : fillcolor green
price.close is below lower bollinger band : fillcolor red

preferably like to also have control of shading , let's say 20% or so, that way you can still see the candles when inside the bands.

I shared my chart, if someone can either adjust my chart and share it, or in detail explain how to do it, I would highly appreciate it.
pthegreat
Posted : Wednesday, June 30, 2010 10:30:50 PM

Registered User
Joined: 6/15/2008
Posts: 1,356
Not sure if I gave enough information.
fillcolor needs to change from red to green when price closes above top bollinger band, and remain green, even when price goes back to in between bollinger bands. only when the price closes below the lower band, does the fill color change from green to red, and will remain red, even if price goes back in between the bands. and eventually turns green again once price close above the top band, and so on, and so on.
pthegreat
Posted : Wednesday, July 7, 2010 10:33:24 PM

Registered User
Joined: 6/15/2008
Posts: 1,356
update in this thread :
http://forums.worden.com/Default.aspx?g=posts&t=45747

need some help please.
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.