Luigi,

There is a difference between Bollinger Bands and Standard Deviation Bands. 
Bollingers use simple moving averages.

Standard Deviation Bands 
stdh:= Mov(C,20,E)+2*(Stdev(C,20));
stdl:= Mov(C,20,E)-2*(Stdev(C,20));
stdh; stdl

Bollinger Bands
UpperBand:= mov(C,20,S)+2*(std(C,20));
LowerBand:= mov(C,20,S)-2*(std(C,20));
UpperBand; LowerBand


The article mentions both but appears to be using Bollinger Bands. You will 
need to decide which to use.

The article also mentions using standard deviations of 1, 1.5, and 2 which are 
the three upper and lower bands. 

Finally, you will need to adjust the look back periods. Figure 3 discusses 
using a 21-day EMA and a 252-day EMA.


Hope this helps,


Preston






--- In [email protected], "luigi polledri" <l.polledri@...> wrote:
>
> Hi,
> 
>     i need a help in order to built a metastock template as shown in the fig
> n 7 of the article attached..
> 
>  
> 
> My specific problem is about to build the st dev bands in the window of
> indicator and those in the window of  Sp500
> 
>  
> 
> Thank you for your help 
> 
>  
> 
> Luigi
>


Reply via email to