[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] coloring in bands



PureBytes Links

Trading Reference Links

Hello

I was wondering how to do something like the following, say color in the
bands between the upper second deviation and the upper third standard
deviation, say green. 

And color in the bands between the lower second deviation and the lower
third standard deviation, say red.

Example

u3=BBandTop(C,20,3);
u2=BBandTop(C,20,2);

l2=BBandBot(C,20,2);
l3=BBandBot(C,20,3);

Plot(u3, "Upper Bollinger Band 3 stds", colorBlack );
Plot(u2, "Upper Bollinger Band 2 stds", colorBlack );

Plot(l2, "Lower Bollinger Band 2 stds", colorBlack );
Plot(l3, "Lower Bollinger Band 3 stds", colorBlack );

Many thanks

Regards

Dave



Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/