+91-0000000000

}

Monday – Friday : 9:00 AM – 6:30 PM

Keltner Bands

Keltner Bands, an essential technical indicator, consist of an upper and lower band, surrounding a simple moving average. Utilizing AmiBroker data feed, this AFL helps traders gauge volatility and potential price breakouts.

/P = ParamField("Price field",-1);
Periods = Param("Periods", 15, 2, 100, 1 );
Width = Param("Width", 2, 0, 10, 0.05 );
Color = ParamColor("Color", colorCycle );
Style = ParamStyle("Style");

CenterLine = MA( P, Periods );
KTop   = CenterLine + Width * ATR( Periods );
KBot = CenterLine - Width * ATR( Periods );

Plot( KTop, "KBTop" + _PARAM_VALUES(), Color, Style ); 
Plot( KBot, "KBBot" + _PARAM_VALUES(), Color, Style ); 

Open chat
1
Hi, how can I help you?