You are on page 1of 1

The following formula allows you to plot color-coded Keltner Bands upon your price charts.

Once
you’ve copied the formula to your formula editor you must define the ATRM1, ATRM2 and period
variables.

To do that, please click the Variable spanner icon from the top of your formula editor. Then enter
the appropriate labels, types and default values:

//Keltner Bands for ProRealtime//

width1 = ATRM1

width2 = ATRM2

Center = exponentialaverage[periods](close)

Ktop = Center + (width1 * averagetruerange[21](close))

Kbot = Center - (width1 * averagetruerange[21](close))

Ktop2 = Center + (width2 * averagetruerange[21](close))

Kbot2 = Center - (width2 * averagetruerange[21](close))

return Ktop coloured (0,0,255) as "Ktop1",Kbot coloured (0,0,255) as "Kbot1",Ktop2 coloured


(255,0,0) as "Ktop2",kbot2 coloured (255,0,0)As "Kbot2"

////////////END////////////////////////

You might also like