Customisable Keltner Bands

Category: Indicators By: JJ Tec Created: December 17, 2018, 11:22 AM
December 17, 2018, 11:22 AM
Indicators
8 Comments

I made a code of a fully configurable Keltner channel.

You can change the listed settings:

  • Period of analysis
  • Multiplier of the band (to narrow or spread the upper and lower bands)
  • Type of moving average used for the center of the channel (MediaPrecio)
  • Type of moving average used for the upper/lower band (TipoMediaKelt)
// Version configurable de los canales de Keltner

//Periodo=10
//Multi=1.5
//MediaPrecio=0
//TipoMediaKelt=0

REM Moving Average
MA = Average[Periodo,MediaPrecio](TypicalPrice)
REM Upper Keltner Band
UpperBand = MA + (Multi*Average[Periodo,TipoMediaKelt](Range))
REM Lower Keltner Band
LowerBand = MA - (Multi*Average[Periodo,TipoMediaKelt](Range))
RETURN MA AS "Keltner MA" , UpperBand AS "Banda Sup Keltner" , LowerBand as "Banda Inf Keltner"

Download
Filename: JJP-MultiKeltner.itf
Downloads: 444
JJ Tec Veteran
Currently debugging life, so my bio is on hold. Check back after the next commit for an update.
Author’s Profile

Comments

Logo Logo
Loading...