DALE—!KELTNER BANDS:
!Coded by: Rich Denning 8/28/05
! For the top or Plus Band, the ATR is calculated over 10 periods,
! doubled and added to a 20 period exponential moving average
! For the bottom or Minus Band, the ATR is calculated over 10 periods,
! doubles and subtracted from a 20 period exponential moving average
!CODING ABBREVIATIONS:
H is [high].
L is [low].
C is [close].
C1 is val([close],1).
TR is Max(H - L,max(abs(C1 - L),abs(C1- H))).
ATR10 is expAvg(TR,10).
ESA20 is expavg(C,20).
KTop is ESA20 + 2* ATR10.
KBot is ESA20 - 2 * ATR10.
!! Plot KTop and KBot as two separate single line indicators on upper chart.
Rule Libraryÿÿ CCodeViewÅÿÿÿÿ00:00