SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : Metastock 6.0 for Window -- Ignore unavailable to you. Want to Upgrade?


To: Chandler H. Everett who wrote (1567)2/7/1998 4:45:00 PM
From: Craig DeHaan  Respond to of 4056
 
Chandler,
I think you reinvented the Bollinger Band; albeit with differential upper/lower band deviation factors. As always, you perked my interest to experiment and in modifying the input variables for future adjustments I rewrote as:

CHANBANDS -
Periods:=Input("periods",3,89,4);
LowerDev:=Input("lower deviation",1,2,1);
UpperDev:=Input("upper deviation",1,2,1.5);
SMA:= Mov(C,Periods,S);
SD:= Sqrt(Var(C,Periods));
SMA-LowerDev*SD;
SMA+UpperDev*SD;

The resulting indicator(s) looked very familiar and when doing overlays I discovered they are identical to Bollinger. Try it and see. I never dissected his formula before. Thanks for the inadvertent lesson.

Craig