Close to Bar Average

c_ba

Function Name: c_ba

Tags: Relation

Category: Price

This study marks the bar based on the relation between Close and a Simple Moving Average. Values above the SMA indicate an uptrend in prices, values below the SMA indicate a downtrend.

 

Parameters

Period

 

Default Value: 10  |  Minimum: 1  |  Maximum: 9999

 

Type: Numeric

Shift

 

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

 

Type: Numeric

ClGreaterThanBA

 

Default Value: -1

 

Type: Boolean

ClLessThanBA

 

Default Value: -1

 

Type: Boolean

ShowTraderBar

 

Default Value: -1

 

Type: Boolean

ShowTraderMark

 

Default Value: 0

 

Type: Boolean