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)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
// 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" |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :
Filename : download the ITF files
How to import ITF files into ProRealTime platform?
PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
Thank you for posting this, useful
MUCHAS Gracias por este indicador. Lo estoy integrando en un sistema Probuilder SP500 1h. El Backtest da buen resultado . Espero para evitar optimización y poder lanzarlo en real.
Me alegro que haya sido de utilidad.
How can i change the colour of the channel ? Many Thanks
In the indicator’s settings window.
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?
By adding it on the price chart. Use the wrench on the left upper side of the price chart.
Thank you for your posting! I was missing the indicator when trying to select Keltner bands in the ProBuilder functions list.