I made a code of a fully configurable Keltner channel.
You can change the listed settings:
// 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"
You must be logged in to post a comment.
Hi. When I add this indicator it loads it in a separate window. How do I get the indicator to load in the Candlestick window?
Thank you for your posting! I was missing the indicator when trying to select Keltner bands in the ProBuilder functions list.