Bomar Bands

bomar_bands

Function Name: bomar_bands

Tags: Bands

Category: Trend, Volatility

The Bomar bands consist of a center line and two price channels above and below it. If price tags the upper band and indicator action confirms it, no sell signal is generated. On the other hand, if price tags the upper band and indicator action does not confirm (that is, it diverges), we have a sell signal. The first situation is not a sell signal; instead, it is a continuation signal if a buy signal was in effect.

 

Parameters:

MAPeriod: Period for moving average calculation.

StdevPeriod: Period for standard deviation calculation.

UpperDev: Standard deviation multiple that forms upper band.

LowerDev: Standard deviation multiple that forms lower band.

ShowSMA, ShowEMA, ShowMMA, ShowBands: Display control flags.

 

Parameters

MAPeriod

 

Default Value: 21  |  Minimum: 2  |  Maximum: 999

 

Type: Numeric

StdevPeriod

 

Default Value: 85  |  Minimum: 2  |  Maximum: 999

 

Type: Numeric

UpperDev

 

Default Value: 1  |  Minimum: 0  |  Maximum: 100

 

Type: Numeric

LowerDev

 

Default Value: 1  |  Minimum: 0  |  Maximum: 100

 

Type: Numeric

ShowSMA

 

Default Value: -1

 

Type: Boolean

ShowEMA

 

Default Value: 0

 

Type: Boolean

ShowMMA

 

Default Value: 0

 

Type: Boolean

ShowBands

 

Default Value: -1

 

Type: Boolean