| 
 PureBytes Links 
Trading Reference Links 
 | 
GP,
Not sure if you can do that in Perferences. It looks like you can by 
using the short term ma. But here is a quick and easy afl.
Length= 10;
StdDevUp= 2;
UpBand=BBandTop(Close,Length,StdDevUp);
StdDevDn= 2;
DnBand=BBandBot(Close,Length,StdDevDn);
Buy=C>UpBand;
Sell=Close < MA(Close,Length);
Short=Close < DnBand;
Cover=Close > MA(Close,Length);
Buy=ExRem(Buy,Sell);
Sell=ExRem(Sell,Buy);
Short=ExRem(Short,Cover);
Cover=ExRem(Cover,Short);
Plot(C,"",1,64);
Plot(UpBand,"",2,1);
Plot(DnBand,"",3,1); 
PlotShapes(IIf(Buy,shapeUpArrow,shapeNone) ,colorBrightGreen,0);
PlotShapes(IIf(Sell,shapeDownArrow,shapeNone),colorRed,0);
PlotShapes(IIf(Short,shapeDownArrow,shapeNone),colorOrange,0);
PlotShapes(IIf(Cover,shapeUpArrow,shapeNone) ,colorBlue,0);
Enjoy!
John
- In amibroker@xxxxxxxxxxxxxxx, "George Poulos" <globalgreek@xxxx> 
wrote:
> 
> I am wondering how to set the standard deviation value of the 
> Bolinger Bands. For example 10 period moving average(value of the 
> short term m/a in the preferences?) and standard deviation of 2??
> 
> TIA
> GP
------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/
 
 |